From: "Rob Herring (Arm)" <robh@kernel.org>
To: Raj Aryan <raj.aryan@oss.qualcomm.com>
Cc: linux-pm@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-arm-msm@vger.kernel.org,
Conor Dooley <conor+dt@kernel.org>,
Rakesh Kota <rakesh.kota@oss.qualcomm.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Sebastian Reichel <sre@kernel.org>,
Casey Connolly <casey.connolly@linaro.org>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: power: supply: Add qcom,pm4125-charger binding
Date: Tue, 24 Nov 2026 07:35:18 -0600 [thread overview]
Message-ID: <179552715903.40664.16651410338735245830.robh@kernel.org> (raw)
In-Reply-To: <20261124-smblite-charger-for-pm4125-v1-1-2132c9f0601f@oss.qualcomm.com>
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 <raj.aryan@oss.qualcomm.com>
> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
> ---
> .../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.
next prev parent reply other threads:[~2026-11-24 13:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 9:15 [PATCH 0/2] arm64: qcom: Add SMBLite charger support for PM4125 Raj Aryan
2026-11-24 9:15 ` [PATCH 1/2] dt-bindings: power: supply: Add qcom,pm4125-charger binding Raj Aryan
2026-11-24 9:55 ` Krzysztof Kozlowski
2026-11-24 13:35 ` Rob Herring (Arm) [this message]
2026-11-24 9:15 ` [PATCH 2/2] power: supply: qcom_smbx: Add SMBLite charger support Raj Aryan
2026-11-24 9:48 ` [PATCH 0/2] arm64: qcom: Add SMBLite charger support for PM4125 Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179552715903.40664.16651410338735245830.robh@kernel.org \
--to=robh@kernel.org \
--cc=broonie@kernel.org \
--cc=casey.connolly@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=raj.aryan@oss.qualcomm.com \
--cc=rakesh.kota@oss.qualcomm.com \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®