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=1795595163; b=NWwqfbaUS0UzWx7aiU4v/E3nSTtobr+k+lJgNHWmGvx0U9zhx775qMInmNkwB+VhlmRH 8bOyXJWXc8KuHna9SxBqz1Q2Lvt4q9JgNihTGu7h1XWtIqahzBzzH3RtmM18tVeUoyKUu NKK3I3/o+/RUugPjYKFWu1/5FLxsMdaThPFspuYxvYxfdKJdZZNIpqnVblUUui86CqVeP K8X5unVlQOPjnnbHkWiaE83OctjI+AILHT3GHgUspsnqZ2htP14yNb2YItGFe18huekwl YcpVDpMm22EtG2VCn4QVIhhJhakB62l7DWwEH9wjjWG3YK0G8IiVChgYFbnyw/GL9PQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795595163; 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:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=rwcFMLr5QW655ZvTsLTR/1uQu64nkcHyAgjyM237G2U=; b=p/eir2Vae8pXrf32i+X6SmJ5AFCL7bw3x4vdD8yz/GyQz7K9q56yd2kDnnA7cfcIHZq4 dPigYd+ff1+X454xqvDdR0ykxNfRjP6GV/55n5j7L87kcTUYqo1l4bnT3Wni9xh9PlLJf 6NF4qcsdLD0n83NZ+womTURZhqoaKw+P1iaiAdCAT77VfOU5PDE5Jbf3/9iRNoEZZlR1g aZn1EaOtfiU2lrsvKmdWo8M2knk1F2Ui7lvTy95c1Yfy4xERQoa7D4/wE90gpNfjEwaRC 37u7ZMaNm+5IgVE0XJBYSEIWAI/MP+OFje1wzhifeOVDzrfZfRVhsmLdWQMFniGPwWA== 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=SahxhR5s; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="h/CoT9AM"; 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 11123606A327 for ; Wed, 25 Nov 2026 08:26:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 11123606A327 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=SahxhR5s; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=h/CoT9AM Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AP68els1617088 for ; Wed, 25 Nov 2026 08:26:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=rwcFMLr5QW655ZvTsLTR/1uQ u64nkcHyAgjyM237G2U=; b=SahxhR5sWhJ1LronK3v8daIqArtbv4nSZA+Oifgf P0riDj44hPy/MWtNzSjHWgHR9BD68IUQclw6TNOFZh4kjIYnayEaLGrDkqW7uOnL ApA5o0233nHPveek+CfmzmpOgRWj5N17ceJsnZyIrOPr7Wqn4ePe8GXtxDlAhH1q 9nz6mXAXw6N2h1McLikSCJOa5I/S1vi7WMDvSWIASzT89f2rPZhm/+Hi7E0hTqo+ VFaXVKoq7XEw9rfFrHy1RRwNPW/zhQjPXLLkZ/eTVdw1Qt4EtzYhbXdz8Q/xpCTF +DWXpXVHYeDUil5Iet7nntRuLN867J3EVZ6OVYsKc87gEA== 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 4j5effuahu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Nov 2026 08:26:01 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-386a0f79047so5789314eec.1 for ; Wed, 25 Nov 2026 00:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795595161; x=1796199961; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=rwcFMLr5QW655ZvTsLTR/1uQu64nkcHyAgjyM237G2U=; b=h/CoT9AM2boudlv9zzE2Ou5csCq+6ShNxCIW+U/81H5gVDyjWOqFSOTdnbSRH45GHD IrCsrKzOznbfq7Utfgfe5HDMnoWwhadVwkT1qKwbH2LM0axY5ScPaQZicKvx99wuXc5z 92NvZX+LlFi2yLFBVvDznMCw/oW3tuwBTCyYHsd6GbSYYcyoTQUJxGNRW83E8q99oitC a9doU5QVxFadlyKl7gX1AuAP0xLRmEgKj6ZLk6KInYasfq2z9VpbyLsZqWvz1DthQaAz F+hssa7mu4doToZQ38YRqTMId/oQkObMp1Ga7yBh2zl+RrnnqBJIpcxOCeWSahIi5vwj pn3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795595161; x=1796199961; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rwcFMLr5QW655ZvTsLTR/1uQu64nkcHyAgjyM237G2U=; b=0ZBHSzjOk+A4HjeECjJz/B9FBLPJuekpDf4jsEm5wQa3gXOXvQoHX0VKW9qvz4I46X 2F3cMCANXO2hEV4Q6Ouauc4qw75Rtcmqxvo/DZZZ8wMG0/ImYDfCS/TBzo7dTzAWxuHv K1W/DxhgAqj3n5xDTijSlcInhfqf5zTJzFX7keqP1IL4AJ1Pehd0IgxqAcDSseBO724g Z1ijGpQY6mFl8DkKDFEI1iQig9BZdwS1958jun7QR4R3jP4zKj3eg1ZiCGg6t0WLz06e DM60NbWhQQ9FxKl7OAUAvIqUtFiieqiSJScS3+f4BbEI19szORaE6IeL6vBXOCtW4fEq Clug== X-Forwarded-Encrypted: i=1; AL+hErHL1z9MmcJMR9gYS06bsoug9qLWmFL8NfN0TFavovSxMKlV3Bke5sgdQ+3sd9eSwBb1kE3YidgDpHmI@vger.kernel.org X-Gm-Message-State: APuU4Z8RBWTvvtX3SWJoXRvWVImYeEImR1pB1W+25LhS96f/riMx3fzo ndzizYMmM2qk0zed0yXkhaqREapivAIpJGnIGt85uM5IULm0vzw6TSPDu6IZuKQui9wEN9vgKZ2 Sg2vtno0Luu3ZC3betIRNa00mBse+NRvMHnVJ2GE/MG3iiXg4q65RsLscBqs3kDya X-Gm-Gg: AZFdTZdOL0enWqbTB8Hd26Fl5ucU8iqpg9CvFYtCEITUzXiEIPWjSpoZ3zOrPPo/z9/ AvFrW+/SZUvYwEIbfFHkyBEf9twFtBe7fkkmMcpw0kmQR+XWhr7MtpMYuGg0kBMg4GUBtHNNptt d31hH8q507iA4Py36nj98FUVVcCZWEolvyp1JFG0JY/QRn2Cc1ykyrVp/DnfjO32irjxr7Yh3VX pLhc1Jghsv/hHLhb7k7ycZvS1B+6i32DglIWgDmBWOZaPz3ltJKaKbe/0mv5SHjwfv89neUXLDa 3mgRipR4lbT9FUuei0X/2p1v2gIxh3dCt9TpQDlC9Res9zV2McavyYwnRyQqHBB0T5nTWjn2N7Y ieSt2HHWJHbSVlY6gEMirVWc5gKKtgeXCpLhyRkP0c2lnY5/eJ6DuHS4SCw4CpH+HjcPlb2Eh7i w= X-Received: by 2002:a05:7300:f68e:b0:36d:4560:dd38 with SMTP id 5a478bee46e88-38571807cecmr16427801eec.37.1795595160529; Wed, 25 Nov 2026 00:26:00 -0800 (PST) X-Received: by 2002:a05:7300:f68e:b0:36d:4560:dd38 with SMTP id 5a478bee46e88-38571807cecmr16427778eec.37.1795595159963; Wed, 25 Nov 2026 00:25:59 -0800 (PST) Received: from hu-raryan-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm91363975eec.3.2026.11.25.00.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:25:59 -0800 (PST) Date: Wed, 25 Nov 2026 13:55:53 +0530 From: Raj Aryan To: "Rob Herring (Arm)" Cc: linux-pm@vger.kernel.org, Liam Girdwood , Mark Brown , linux-arm-msm@vger.kernel.org, Conor Dooley , Rakesh Kota , Krzysztof Kozlowski , Sebastian Reichel , Casey Connolly , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: power: supply: Add qcom,pm4125-charger binding Message-ID: References: <20261124-smblite-charger-for-pm4125-v1-0-2132c9f0601f@oss.qualcomm.com> <20261124-smblite-charger-for-pm4125-v1-1-2132c9f0601f@oss.qualcomm.com> <179552715903.40664.16651410338735245830.robh@kernel.org> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <179552715903.40664.16651410338735245830.robh@kernel.org> X-Authority-Analysis: v=2.4 cv=eo5KXYpX c=1 sm=1 tr=0 ts=6b069b99 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=WLdAmb08tD0yJPlYAzsA:9 a=CjuIK1q_8ugA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI1MDAzMyBTYWx0ZWRfX6uTf+VD4oSlc AKWgDdYNlv7CRnlqt1NccpLrNWpu5rMZ5CJ6vXU8MK+TmQwywSGEni7SGH1SQDdrnG7NXuc3qkC joDjyMQ0g0A08G6nnFQHrtxJhL7F2wk9VnRZH4F5ZxL74jBzJ9u0GkzOHQ+sLtf0+rTeCjzDJkC TFmN+K3MdYSA8EeVWIMymo844rjzBeJ3OIZl3UNk0tFpYVIn8juS88Mb2t4JkPmHpDMS9D3CCS3 l4O/zEymaDOukIWCHQet+C30I0X1I+kBctmYsYmn15gNmrLF6BnEHnBQEsHnLQMSQ+Zgk0OSFTX B4cuSFFRP8atpBfDv5Y1+GDTghUgo3qTFl+du04vCWGOxnzmmFduNWUyRzlDDT3wLUFaERdwPBT +4Pexzkg0rp/UOJ6AGs0gA6fOTFvtfFqm9ARYVhPGJaHxGAv3DqKo2nLw1xn5hwuDqah30FjgsC Q/W1vvFkX33ThjcT9ww== X-Proofpoint-GUID: auDet2D6jjGJck-l3llsKjg7HbT8UZ6R X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI1MDAzMyBTYWx0ZWRfXxkQy+HZjGEn/ u1aMqUZUJNGihiv72ZE8BSZG78YMnBdnvutkrbJq2bqjRS2tW6fn66SoWurqHRCFjwBx/gfRCkb 799LcolM5DRr46aicjDvN1PRHfPx6uo= X-Proofpoint-ORIG-GUID: auDet2D6jjGJck-l3llsKjg7HbT8UZ6R 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-25_02,2026-11-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 impostorscore=0 suspectscore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611250033 On Tue, Nov 24, 2026 at 07:35:18AM -0600, Rob Herring (Arm) wrote: > > On Tue, 24 Nov 2026 14:45:44 +0530, Raj Aryan wrote: > > Add YAML devicetree binding for the Qualcomm SMBLite switch-mode > > battery charger found on the PM4125 PMIC. > > > > SMBLite is a reduced-feature charger IP sharing a common SPMI > > interface with the SMB2 family (PMI8998, PM660) but using separate > > SPMI peripheral bases for CHGR, DCDC, USB, MISC and BATIF blocks. > > > > The binding covers: > > > > - compatible string: qcom,pm4125-charger > > - reg property for the CHGR peripheral base address > > - Four interrupts: usb-plugin, bat-ov, wdog-bark and > > usbin-icl-change > > - Two IIO channels: usbin_v (USB input voltage via ADC5_USB_IN_V_16) > > and usbin_i (USB input current via ADC5_USB_IN_I) > > - Optional JEITA soft and hard threshold configuration as raw > > 16-bit ADC comparator values written to BATIF ADC comparator > > registers > > - Optional monitored-battery phandle for battery parameters such > > as float voltage and charge termination current > > > > Signed-off-by: Raj Aryan > > Signed-off-by: Rakesh Kota > > --- > > .../bindings/power/supply/qcom,pm4125-charger.yaml | 109 +++++++++++++++++++++ > > 1 file changed, 109 insertions(+) > > > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dts:29.13-28: Warning (reg_format): /example-0/charger@1000:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dtb: Warning (pci_device_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/power/supply/qcom,pm4125-charger.example.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' > > doc reference errors (make refcheckdocs): > > See https://patchwork.kernel.org/project/devicetree/patch/20261124-smblite-charger-for-pm4125-v1-1-2132c9f0601f@oss.qualcomm.com > > The base for the series is generally the latest rc1. A different dependency > should be noted in *this* patch. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit after running the above command yourself. Note > that DT_SCHEMA_FILES can be set to your schema file to speed up checking > your schema. However, it must be unset to test all examples with your schema. > ACK. In V2 I will correct this according to your suggestions. Thanks & Regards Raj Aryan