From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795961508; b=otjsp3uXUbgja0F8cML6F6QTV7CF+Vu9blEmQ6lKMHIdY1WqDHKLILc0PsQ4dSbvaBmh mY8YrM5kBQ83xBTskk1rwjwHjTGR6fIqH4uLV6iwJ0TvfC0E10/qYyQ4WhBEeqvz982kN m33Zj/eh634RaYpuKWEKXnJRF7rLLZWUNjeS+JGH0XHGutLk9UMStvIfYLVP5TtO6Cc3R oQiEMkYKefSUkhDs/vQn04oA/8N9UJ1tEgbhyfq5szIlG8DBwLUBAFm2lnf05rqzhILjH 8a3EkCJCSAZMbI1wl7Sl0x6j8tXh9mXpLnz1SC3WgFRKuE7cPA8QUzB7pPUv9uKEIzQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795961508; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc: X-Authority-Analysis:X-Proofpoint-Spam-Info:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=OhHe5COgIyAY7nowvSI9FVkd35CjMVHfjoIOCuY/MGI=; b=VnKyQgrFf1dq2bEepvVVhqkg86XXk66q8tv6NY9nHDCB7mq3MnjEY9fUvZOpd4DEoKTr KOP89P+6lalaQYhb4+29UVmRXKW9xuqymnj2B0kQYOrSFaKn/MVyBaxchdTmJ5LnDOs25 JdJt2CRMw0at0DHAhuWLIR3SndxgexJ0BNcirS7tfiZWWzBoXwmxy6s4x9/5I9xr/3e22 F30q99R17e8XodgIrkOoKTNdkmDU7sENPxoPwVQwtziR+EjBnALdSoJckZYAS/EDtz5GR DxeKZNhGa7KaEaC/3WsZJefQ44mdF80WXNsf0+bzi/wmLy6G/cjM0kuitPn8bCfcXig== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ipuJaTnf; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=HZKOPz4c; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1826D606A329 for ; Sun, 29 Nov 2026 14:11:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1826D606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ipuJaTnf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=HZKOPz4c Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ATALlK13687684 for ; Sun, 29 Nov 2026 14:11:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= OhHe5COgIyAY7nowvSI9FVkd35CjMVHfjoIOCuY/MGI=; b=ipuJaTnficII7u1i bE8S6SvKQxwlnHprH0SG/ogIblvl905n3X4OV5SvguBv1pVGu5mfhUWDGS5YqePZ CeV7Vvd2wGOWvsl8MEVllLIXpkcPyIR7GllZzQ0f4Rnx41FSshl+vmkhGiq4zPRa ChYzCWUGttK19tayMvUQcuRNOL+ssG523jm+HgvB+NiytHuUwKZQSpKiPTLUp2Mv XIW371ZXqH0Di0YRFNAy/uudV3kwN8X7GLADkQZQkoIk815ydU5mdD3M7c0S19QX hmJsDfJYQ5t1h/Ny1WlNwsDG5KKALRiMVjRs36k84QQdp36kyn7nuLuYItde95jd KSPUnw== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j7q1u32sm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 29 Nov 2026 14:11:46 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-386a0f79047so10729496eec.1 for ; Sun, 29 Nov 2026 06:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795961506; x=1796566306; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=OhHe5COgIyAY7nowvSI9FVkd35CjMVHfjoIOCuY/MGI=; b=HZKOPz4cP2Z8jY0KAhsvzm93P6rj1VOJ33O2b8rhfOTa9QZXP7xyPhBFxfi9P1y8sA rYgQ27ywKW07p3lmdCCuCkfVai3NKFVlQ9LITDOyg3FyV+afDJt6QT/h1Kfgi3DWuM4s UofkTYf1PAa3nwHuDKQ6MkGO8a9IkztlgUW3a3m/BzYl4PUnSr9cHO6uWs9x7Ue/4jCq yD8DfGu6mFHfvR6p36qgn56h/5k86HuyaVAwb07wZ5eZUs9f4+c/2vftzn1jv5OfwxYu eBQ7bOnrIvo4EV2JS60+Y6tweyOJHLBY6PPcKby/1X/V8St8uzZhmf/YtT9pI9e2qAPw zW3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795961506; x=1796566306; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=OhHe5COgIyAY7nowvSI9FVkd35CjMVHfjoIOCuY/MGI=; b=zuhXYqGeMjpQNI1I2wFodWPE0rtlHoxT+uJEwdDgHRpYDyhmuHZXyspSc3TlBTyaK+ TIiHCSqEZrYZikMmzfKn29WKwQSUhhtneEUKxqwrCQUeOSpVTIryftzCOJKKVwXv+oD0 eBtO+qmNYfqNWO3ZLQk2mwtkjNCGd46QzoxVWwCYxuDhbOt+drQWk7exBFZFyGBhtKb8 xXgddrXaPgxAXgRPS52z04dhvhh5OrCYq05xWsHVgK+0lUHqvzl/uPHBqBRoKo54bSAJ Qaf0vsv5xX5t9J0/elj+jDne9Ilk34lfC/UUzxE/ys76E5VFLikfFPKFBf8SAjvWLNFD jLRw== X-Forwarded-Encrypted: i=1; AL+hErHs/+B/32sVE7yBDik14AMX+vSyRKI44yKEhYoQUV8K3mxc4+6mgzIFODn1XMNehDPjJfZ6LowREG8m8pU=@vger.kernel.org X-Gm-Message-State: APuU4Z+yhliS80YKzBW0KfdAfgIhPRaVz+BTM5skeKQtEfUEQg2e0mQw CE/k5UnfdkiBB0/KvG825mEQFzwoAAObE04mMnrv8kAIGmMmH1g8I43lFZ5ccqFV6fCw/rWZQ/J pVW9pB96bKBf2qrV8lN1zJVkjlR70UFu6uwgwTX1DV8TmVLHtwefpxNpupBBm3W0UaBL/dA5PAy M= X-Gm-Gg: AZFdTZcwK3ebYnmHmATfas+F7YnlWoFIjtj8EtnwWHgMjAnddDCfNxgTzoix2KZYGm6 WVSYeSK78jixjrUsZfbn0Hk5ZSy2aFAl9kw5FcR1u8vcKx8lvdX1VpqgFIwQKVSgxzZGb5kKGKE iT3FA5rMnFC8aDKSpPcWpEcG/MfiajMGf7ptdk97LnKFnRxxdUJUEh1JlDAnT4KXI2lEyko5JZQ Dw0MgPcq8V4Zz+NpDdhQkkj4e8oWMm0tgq8Tk5EYqvrsNy9q9zR7Egj8URvd2OaZkgiamH7SB+T gplSjBUNqhNM6ljAVMSUhmu2ZkYKnjNkw04sa8O1FoJlvks7oQHoA3qL/91K8/PFbDb966GeHkW VjUGMFzGMS5jQ5h6q1iSyGkOtst6nsHjwkGmBcR/B4LJHqJxNKqgX0nptELhVYkIc9Bmxqb3Y5L M9Y+zwXRNx X-Received: by 2002:a05:7022:1708:b0:1b2:3742:828e with SMTP id a92af1059eb24-1b5567b21c1mr27335918c88.3.1795961505836; Sun, 29 Nov 2026 06:11:45 -0800 (PST) X-Received: by 2002:a05:7022:1708:b0:1b2:3742:828e with SMTP id a92af1059eb24-1b5567b21c1mr27335893c88.3.1795961505286; Sun, 29 Nov 2026 06:11:45 -0800 (PST) Received: from [192.168.1.102] ([157.48.135.242]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b562a82b3fsm86111070c88.5.2026.11.29.06.11.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Nov 2026 06:11:44 -0800 (PST) Message-ID: Date: Sun, 29 Nov 2026 19:41:35 +0530 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/7] dt-bindings: iio: adc: Add "qcom,adc5-gen4" property for ADC channels To: Jonathan Cameron Cc: David Lechner , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Kamal Wadhwa , Anjelique Melendez , Manaf Meethalavalappu Pallikunhi , Priyansh Jain References: <20261120-pmic5_gen4_adc-v2-0-94d0e1fd6847@oss.qualcomm.com> <20261120-pmic5_gen4_adc-v2-1-94d0e1fd6847@oss.qualcomm.com> <20261121202713.15008e5c@jic23-hlaptop> Content-Language: en-US From: Jishnu Prakash In-Reply-To: <20261121202713.15008e5c@jic23-hlaptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI5MDA1NiBTYWx0ZWRfX+bTsG1GZihw1 4TghNBc04Lmze2CuinphUlUdkOgBw4sJLPwnNMZhG/dp8J+DUWBUDfzb5dmBzBF3Wvs163kYatm nVUdqNItfNmb7QJhDoofjszYqBR8UI0oO0XFfeCPErE88l4YsRp28pfWkySyh43oFM5B0H6wOgk xYUNVEwv6a1LZ0vCHe1U3I8Lzq7qEKFcT5FuVgq0PSSBgnmrdYTqJThcK4VMjQgy/RWJ2P4YdcN ABQCQe1ikXzgIhl0sLDttz8hgcPQt8pwVhZr+gC5zXk9ns03OGpHArucfIgPCPCViPQQVh0jEkA bv84K3VBYP91ui3GhtvEh+pxmiTQYZXpKD8XN9q2sUqJ/aBsvylsqvctCAITTbL4lJJyui8kvMz 5T5T9A3+q+h+5emMPcs/Hw7ZC+OecQh7NlPOacEK7a0F+I23o7ejk14W6sA6wEHqcH1R5mlAow9 y3hc1sQ+bBGOlvXwizg== X-Authority-Analysis: v=2.4 cv=Dv3Da2/+ c=1 sm=1 tr=0 ts=6b0c32a2 cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=nc1psVOndk8T/X+6wm4l9g==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=SQlus4bTuwTGnp4YfWIA:9 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI5MDA1NiBTYWx0ZWRfXxUG5BssLnE6b 1GyxxILTMQDJAGiUuQC0t0gXRAeO79wDP5Zsx6r2rgEeC0kwZV7JJoOrKhH/4GgtwbmHS4GXP/I jKnRGVEgoB4atE7EgUqpQI4Q43zR4GY= X-Proofpoint-GUID: J7aDVfOn4WvLrY7ymmy_qutZixS8ut_4 X-Proofpoint-ORIG-GUID: J7aDVfOn4WvLrY7ymmy_qutZixS8ut_4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-29_03,2026-11-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611290056 Hi Jonathan, On 11/22/2026 1:57 AM, Jonathan Cameron wrote: > On Fri, 20 Nov 2026 14:49:41 +0530 > Jishnu Prakash wrote: > >> PMIC5 Gen4 ADC is similar to PMIC5 Gen3 ADC, with several changes made for >> improved performance, mostly at the hardware level. The main differences >> are increased ratiometric conversion resolution (from 14 bits to 16 bits) >> and increased bit field width for PMIC SID (to allow communication with an >> increased number of PMICs, supported on latest SoCs). >> >> In the Gen3 ADC topology, the ADC peripheral on the master PMIC >> communicates with ADCs on other PMICs. It is possible that some of these >> other PMICs have ADCs of a different generation and may need to be handled >> differently (for example, on SM8750, PMK8550 is the master PMIC with Gen3 >> ADC peripheral and it communicates with PMIH0108, which has Gen4 ADC). >> Add the "qcom,adc5-gen4" ADC channel property to indicate that a channel >> is of type Gen4 ADC. >> >> Signed-off-by: Jishnu Prakash > Hi Jishnu, > > > Minor thing. Other than one long line, this binding currently keeps to 80 > chars. Hence the new stuff here looks a little out of place. > Yes, I'll fix the line lengths to 80 chars in the next version. > One small additional comment below. >> --- >> .../devicetree/bindings/iio/adc/qcom,spmi-adc5-gen3.yaml | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-adc5-gen3.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-adc5-gen3.yaml >> index 149f4af8f4b8..065b82c41e86 100644 >> --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-adc5-gen3.yaml >> +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-adc5-gen3.yaml >> @@ -83,6 +83,14 @@ patternProperties: >> This property indicates ADC_TM monitoring is done on this channel. >> type: boolean >> >> + qcom,adc5-gen4: >> + description: >> + Indicates channel is of type ADC5 Gen4. This may be needed in cases where the > > The 'may' seems confusing as implies there is an alternative. > > "This is needed in cases where the..." or > "This is needed when the..." > >> + master PMIC has an ADC peripheral of type Gen3, but some of the other PMICs it > Is it too loose to refer to a "GEN3 ADC peripheral" ? > I'm just thinking the text would read better that way. I'll make both these changes in the next version, and similar changes for the other documentation patch too as you said there. Thanks, Jishnu > >> + communicates with have ADC peripherals of type Gen4, so channels of those PMICs >> + need to be marked as Gen4 to ensure their conversions are handled correctly. >> + type: boolean >> + >> required: >> - compatible >> - reg >> >