From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F01C523A58B for ; Tue, 24 Jun 2025 13:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750771703; cv=none; b=aXNm7L5voJOtG0Lj6EnBFN7wIsVXSpjs6JwbP4o9j4BmwdTbg5KUhEGAbRFK1xBfyRoBS+mihRESPBObvh4vMrEa7esNjjSMwgBvscTiezgiS6I/a0zIj3Nc1phBLv7uMHcK3NNAbHP+jEACJ3YPvv/KVXfBnZY+EdZsmFuWBDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750771703; c=relaxed/simple; bh=lasfdr/TaGl7iQzxXsOYnVe4ZWgSTCOhymdRSnVVl4w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HLCsbc49kxQrTN2wQf1LG8GX1jyMNcdEQ1wWhvxlQtp9ZZS5VqcOUXdBM+TcXpHTVR73I2yjl23CHIr9bu7vxm3O1xNC7+oWiaYze9+NjUlHATGwF4cfTWKLh3J0nhBV8fr/XsF2hTokqbPdqKA5SrprMUbwDz2YfYfPRyAsoQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=AqAMrige; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="AqAMrige" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55O8rFoP015342 for ; Tue, 24 Jun 2025 13:28:21 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= 1xHRBt7S0QkIA0FEcCi54MhIM2gOS2cQRRBECPdtA7s=; b=AqAMrigeblmVfCoT kN8W6W+otX543cHItr3bjmHFVsVSHtXCDJyad9/KThtNRIKUK5pDTu1gguqFgnKs 0lycQRdRxm0ydG8ysuZynBq8LkKdLz7Uapzu/V4IAyiQE34KUOov6oOzVA+9eUZO uQtJuzTfFrQ0hfEsbh9q3ZQakhi5Qbx3V1U9hvA4zPKEobkca3j0Vs2NhYlR41+K SedpIlwyeKvid+p9Z6YyAbnTVIx79TQExIxCObbUODJ2Zr0SgAxS6ds+83t36hzl DJaex7bbfvnMjogaKmbi7YLIdyNfeP336VNMBAz+cWA0hdmux4LjUaJssx3pvR+Q 1QAIuA== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47fbhqjqkp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 24 Jun 2025 13:28:20 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-b3216490a11so2715107a12.3 for ; Tue, 24 Jun 2025 06:28:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750771699; x=1751376499; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1xHRBt7S0QkIA0FEcCi54MhIM2gOS2cQRRBECPdtA7s=; b=MIPEs1tl9DW/ylQQvkG+0Q8jATzYFcA/TrrCqioZZDnB6HGBK7HmquW6Vt1ejfuIQo dWLCLwIJ2LWtWC/pHOaLJTaFPx/cQFsosSV4r7IYpOjU10HYpPwyvnYH1oxscpiCxS4A ZfQKP9aZQKjtMRZ6KaDt01nEtscvsEi/bMwVcSbCif9s01rrVwB0HaKshKjY8BTvMP5g njf+pDeCNgBAjK0hPawdXmD2ic9Y1O2bTh4NMWCzW7L7g3na4bO9QtSJ6wqfMEY64n9Z GmChXHiRpcqCqm8vF6VnaoXlNC9ZclAD2flH96quN2l5AyBSdRqai5BmoNQyIO+vWG2W cTNA== X-Forwarded-Encrypted: i=1; AJvYcCWGFInjQJhLX2r4Ox5wIB3TtwEK6IJn/mBxt5Fv0xtkIRx6TZjeHQiD1BNTj0A9Ydfe68UnNwrXrw==@vger.kernel.org X-Gm-Message-State: AOJu0YzDXCwriEhwDgmuqB1dij62q7duoMN5D3j3/9q3nv/Pfx73OmTl LgnGmOophCE2Z0hCo0th+PfR+PsmWVnEi5/VB3QxFCF3nV8xz574ze9fC+cMnGaC0oAfrIWmO1c ltJRaBBLlCMHHDmMzTEIYMiEiLO4xou+VxNdHH6JJ2Y3+EkC7YwqyTJT6VCjVSQ== X-Gm-Gg: ASbGncvR5ORHGlPje+Yj3ojdQeBLJfTX6vxaqY0ZA534aXsBuljpA4UEm5LIoKsqWK1 D7RB/c9EoSJEHYMvesj7kflg/zTV1VAe+8QoPcPRHrX2v2Pz0wqdFJI9vVPeFpOvkdqvZ2jdQR9 1LHvVwkLrcL8sCqDLej+kW+Vr7kccuv0NpPUqROxvtrG+hEiAKo6zEtNSLEIlsdkGJYuDE7/AUI vNmzgi4l0LDKnV+oAKtt75rxlwlCZt9PRDrZsJesP0UvMywcG24mKw8B29JC5Zlot1VM/4c9ZKh YAOTgXWDTcosgCjiuaPPI6pswUQTgB6Y1FTg+sODoFuiEZmtiQQ= X-Received: by 2002:a05:6a00:3e0b:b0:747:bd28:1ca1 with SMTP id d2e1a72fcca58-7490d663700mr28575616b3a.3.1750771699593; Tue, 24 Jun 2025 06:28:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhSkFmD+5UXG4jGrsUbcWVvnGV+HYRoYvsylLGuSpLZ0cZAFjd7dWnoz7KErNAGSRJxIUwtQ== X-Received: by 2002:a05:6a00:3e0b:b0:747:bd28:1ca1 with SMTP id d2e1a72fcca58-7490d663700mr28575577b3a.3.1750771699195; Tue, 24 Jun 2025 06:28:19 -0700 (PDT) Received: from [10.217.217.28] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-749c882f5b8sm1961515b3a.95.2025.06.24.06.28.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Jun 2025 06:28:18 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2025 18:58:09 +0530 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V6 3/5] dt-bindings: iio: adc: Add support for QCOM PMIC5 Gen3 ADC To: Neil Armstrong , jic23@kernel.org, robh@kernel.org, krzysztof.kozlowski@linaro.org, krzk+dt@kernel.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, lumag@kernel.org, dmitry.baryshkov@oss.qualcomm.com, konradybcio@kernel.org, daniel.lezcano@linaro.org, sboyd@kernel.org, amitk@kernel.org, thara.gopinath@gmail.com, lee@kernel.org, rafael@kernel.org, subbaraman.narayanamurthy@oss.qualcomm.com, david.collins@oss.qualcomm.com, anjelique.melendez@oss.qualcomm.com, quic_kamalw@quicinc.com Cc: rui.zhang@intel.com, lukasz.luba@arm.com, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, cros-qcom-dts-watchers@chromium.org, quic_skakitap@quicinc.com, stephan.gerhold@linaro.org References: <20250509110959.3384306-1-jishnu.prakash@oss.qualcomm.com> <20250509110959.3384306-4-jishnu.prakash@oss.qualcomm.com> <8736dea0-2a5b-49d8-8445-239e5d11174e@linaro.org> Content-Language: en-US From: Jishnu Prakash In-Reply-To: <8736dea0-2a5b-49d8-8445-239e5d11174e@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: iLf4nEAioAeArkD0cN7uCma6qHtPLg82 X-Authority-Analysis: v=2.4 cv=Id+HWXqa c=1 sm=1 tr=0 ts=685aa7f4 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=6IFa9wvqVegA:10 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=Bk9QF8R_Bm2aD44dtyUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: iLf4nEAioAeArkD0cN7uCma6qHtPLg82 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjI0MDExMyBTYWx0ZWRfX5wWfJ3k86WJS Ml3oAVs7SIR2v1uyRCagwyvLolhgnFyy4/9Mlt0fLROQvPjnBaYhEup0FrcYpXysgJXFRJkn2KX ooYGTvEhz6dB77k0byNMJLboQ12pbNUEiNvkGZLpbYbg7JUvQRLjAvSsEAkVuPYf+NPmNIXqxeT 5RAycX+cees7uS7MThNMfpftNg7XRs9GeVTLb6wcf8AeWHPJYI3vh03tk2pRMnMypRFeWGKDb0H AwdX+Lu6+DOE88s9m9PKFqpRp9UekuwuDb/iX6fapYz+f40YDnkFsqmwUvKpAmoZ2/pTky5yEJT 09yVsu/u5c4Pnj9ONlGUnwZF+vquHhqYzM9u0ipa5Fj4wxrwN6JKKCqexfcsaZyJMWjjzpxPEz8 3JfCDlZa2IJeU0MBTBCE3M2w7f7XJNMO9TwpMzxydUfff2zB10BjOSo6r/pEVFOcr1jTjpUK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-06-24_05,2025-06-23_07,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 mlxlogscore=999 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 adultscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506240113 Hi Neil, On 5/9/2025 8:05 PM, neil.armstrong@linaro.org wrote: > > Hi, > On 09/05/2025 13:09, Jishnu Prakash wrote: >> For the PMIC5-Gen3 type PMICs, ADC peripheral is present in HW for the >> following PMICs: PMK8550, PM8550, PM8550B and PM8550VX PMICs. >> >> It is similar to PMIC5-Gen2, with SW communication to ADCs on all PMICs >> going through PBS(Programmable Boot Sequence) firmware through a single >> register interface. This interface is implemented on SDAM (Shared >> Direct Access Memory) peripherals on the master PMIC PMK8550 rather >> than a dedicated ADC peripheral. >> >> Add documentation for PMIC5 Gen3 ADC and macro definitions for ADC >> channels and virtual channels (combination of ADC channel number and >> PMIC SID number) per PMIC, to be used by clients of this device. > > The following is missing to allow it to be a qcom,spmi-pmic subnode: > > =========================><================================================ > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > index 11da55644262..b97f0e7b269e 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > @@ -127,6 +127,7 @@ patternProperties: >    "^adc@[0-9a-f]+$": >      type: object >      oneOf: > +      - $ref: /schemas/iio/adc/qcom,spmi-adc5-gen3.yaml# >        - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml# >        - $ref: /schemas/iio/adc/qcom,spmi-rradc.yaml# >        - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml# > =========================><================================================ > > Thanks, > Neil > Thanks for catching this, I'll add a patch for this in my next patch series. Although I tried running full dt_binding_check and dtbs_check in my local workspace with my three binding patches applied, I could not see any error related to this, I'm not sure why. Thanks, Jishnu >> >> Signed-off-by: Jishnu Prakash >> --- >> Changes since v5: