Re: [PATCH 1/2] dt-bindings: power: supply: Add Richtek RT9471 battery charger
From: ChiYuan Huang <hidden>
Date: 2022-08-12 16:07:31
Also in:
linux-pm, lkml
Rob Herring [off-list ref] 於 2022年8月12日 週五 晚上11:13寫道:
On Thu, 11 Aug 2022 21:41:57 +0800, cy_huang wrote:quoted
From: ChiYuan Huang <redacted> Add bindings for the Richtek RT9471 I2C controlled battery charger. Co-developed-by: Alina Yu <redacted> Signed-off-by: Alina Yu <redacted> Signed-off-by: ChiYuan Huang <redacted> --- .../bindings/power/supply/richtek,rt9471.yaml | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/richtek,rt9471.yamlMy bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/power/supply/richtek,rt9471.example.dtb: charger@53: usb-otg-vbus-regulator: Unevaluated properties are not allowed ('regulator-compatible' was unexpected) From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/power/supply/richtek,rt9471.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/
Thanks, after I add 'DT_CHECKER_FLAGS=-m', it also can be found for this error. This is typo, not 'regulator-compatible', it's 'regulator-name'. Will be fixed in next revision.
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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.