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=1795961509; b=nzdq4vMCt6d0MX4M+OCim7AlNyHtTkXHXdhjBSj5F/YvlysmiYK7ub8xoiBJ+oil6ZbW XqzliWLbo5emrN113IT98q3CnZloNxuIZW0RYBD/Hq49UUmOxAju263Mmf0H9xZEZIqtx swHJnUblSuDMq0JOjAkPRdDyfAaDst0JY/UyysaJ1lI5eeTPzlDJ8+3iHv0hmCQ7CwsrO HgrrprS7BAprR1EXh4t4KoKycG3xDis14C94jPnQSg4gU55tCBmGcc8m04RxiBe2i6GiU I/OPY0wSAKcTtv9fFQ/kyj9H1qoYhBt12viNgdBa8k1WCQkwNx0dqpxsVUbiACj7QJg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795961509; 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-ORIG-GUID:X-Proofpoint-GUID: X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=OhHe5COgIyAY7nowvSI9FVkd35CjMVHfjoIOCuY/MGI=; b=uogr2hkou4LZcb/CzSBAa6kCP0w2YaykwTBE6Zhi4V5DhhAv9r4wNGMyDjR+B+IxAMeN RwGIOYjY2D2alkwQ87mp7Y8PigSmORNKS3lYedBUbLoJUtoQ359EDnu/na8zWDP3dU86A T5YtcfsOaE8a4HERfbMKgNsjgk8L1snf/JQS3shXnBnZQfO51YdiyAwFSsI9re1Jbguvp tSVmwvwCosfXJt3k0gUbl0IgKXNf62snXohYMf5w/VJAuO1H+GRCaIrRI5omydA8v4A3K P0n7qa/iemcuYuw2cRWMOzTMHYrcN3br98bMSgfXRlRiXbTJ+wI+ZH9BMQMW8ztmgpg== 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 18246606A327 for ; Sun, 29 Nov 2026 14:11:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 18246606A327 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ATAO1AV3181068 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-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j7qb7b1th-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-f200.google.com with SMTP id 5a478bee46e88-386a0f79047so10729489eec.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=VdbfporbXXXEhxOTLvrDnHCFbRV/T+m8fyqmCtUSqMm3nk3Va7hRyW29PRc9B8pDPV AKiHJXtXxGnkrppt4ExHDReAn1G+odyLV33ALLkS8uH3F16P/SZWkccSbSVHyZEOpoCY 5NdHyDWyU53gxS0VQAdaHT1MmK9R5Wo9oqCgCEgyYzCm63C23UKsTNOeUunQzSqXK1gS WhhGrgB+bwEtXr6Z+HZpLZC/YcNRPtcTG1JWgDn5xsxqWkSYEHAswFBvDS5mlWOAWROY TayWc/oKqQKjLInd9qigA8qrhEgzl02v0qioJhIb37iix0hSoqflOULq227uaB5msDn+ GSzw== X-Forwarded-Encrypted: i=1; AL+hErF2V13XVaflSmIo5ykCAhblXvENNUpyWqBqEkTlvnWvRAtMTzXSiagNTGMrYpYmEU6HD7q87AnWLg==@vger.kernel.org X-Gm-Message-State: APuU4Z9e36dItbb79m5bWR0UhOl1BaKYUV+SZheQRMyKlq1cccX5OMTE XFazagQvJXK1eKAtygMV/1XH1u4sxyNwS/ofHUWsYh110+zenvm2FBUTzqkNLl2jh39g8DHNJOm q0i/IfNDatPSrfTKwTq9gUntTTvojjXbqiCMkdwcOKVHQ1m77eVwR3l99LnJ05w== X-Gm-Gg: AZFdTZcn202Mdhu9BGO2sTIoE1JB++sd5UPEWTQEUb1lWlCu0IMjjNR99q7vk8TdZj7 adQjar0RxEgls6rhbsYfFnrkeXmc37Na47IQZ45xNkFnKoYRqn/QAILOVidwyiWduUmf2mhYt/d d0uyiJCesbsKJcWlht5/ytyvJyQhO5naFdpC/fyWilu52AxeoLUpn51dF6AgIFHbXBjHnMeIw59 zKpBvdovR5piTgZQ1Lce2ay3hswryPTEWx3i1GYBPBKg9QTNxUsLc5MvPiI3/tfnTyDAy+MJBR7 xnCbtf/v/VgvcXBF4N3BmdMxQlvneXDB7uefAnUk+U23twiaPH7mcFfI9kK/XK7uqG5nBgW5497 6zuxWHqFMX8sB0nh07LVzHthWwpTazzBhDmlA5pmWBM90MzYo/j3KllCgdjv9IhHrh/2TapQClV bUrhXSw1wJ X-Received: by 2002:a05:7022:1708:b0:1b2:3742:828e with SMTP id a92af1059eb24-1b5567b21c1mr27335925c88.3.1795961505848; 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-pm@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-ORIG-GUID: mWpizYk5HAsTh7CHKs_tHaQZN0CQ1gAU X-Proofpoint-GUID: mWpizYk5HAsTh7CHKs_tHaQZN0CQ1gAU X-Authority-Analysis: v=2.4 cv=VaBir1p9 c=1 sm=1 tr=0 ts=6b0c32a2 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==: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=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=SQlus4bTuwTGnp4YfWIA:9 a=QEXdDO2ut3YA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI5MDA1NiBTYWx0ZWRfXyhnYrBwfAoRF VATj/7MJIQzytKRbYi+0r7iCEJ6+qidJIG7WXeK8ZZ/AgcFXPZ7EB7uCSTtYfhjE4Yux/QLoqgc od3wQKBIPSkHkroCvYLuuNrX8RZIAgA= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI5MDA1NiBTYWx0ZWRfX2luWxaBVjQOJ nYCJATDbhypEsEVfqaPhL13ks2sr6Lp+zfw//pWus1V4xMOIwz5cGeUJmUGaGhNerS59M8P5fxy wMMGqJ2XX1+hL10Bu8Xk92zqvNS8JIZIKoLOGKksTxetK2mjILrWB061XLJ+6PAYTHe96GFpmi3 MY1TXgKAqfSIcR4nkTzxYBN4CoO4qG8Vw9tcDKmI7hjgpjA8enKd1Y/RBHUMWwMn6yqchbLwOkt BamoPxKGfgxtQNIS0zO686x6bg7kyKMfJV1rs7x06bnfbz8dw3xM9Z9RHvJwpxQDFHmQtpePXqg eWgPDfOjWzXkjftOSg31ADhmjW6IjFsVFET4knEww4q3Iv+q668E1VC7ihyNPC9PBqUGZGKr56C SzpKi/6kUnOXV7RXvBJuXyIPSogEAdTCrleLKaIvxJreIvt7aX3y2NxBp1EYELIfnl/tiOiDzze 2vIABzIzAUcugc8kENg== 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 impostorscore=0 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 lowpriorityscore=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 >> >