Re: [PATCH v3 05/15] dt_bindings: mfd: Add ROHM BD71815 PMIC

From: Rob Herring
Date: Mon Mar 08 2021 - 12:40:41 EST


On Mon, 08 Mar 2021 12:40:50 +0200, Matti Vaittinen wrote:
> Document DT bindings for ROHM BD71815.
>
> BD71815 is a single-chip power management IC mainly for battery-powered
> portable devices. The IC integrates 5 bucks, 7 LDOs, a boost driver for
> LED, a battery charger with a Coulomb counter, a real-time clock, a 32kHz
> clock and two general-purpose outputs although only one is documented by
> the data-sheet.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> .../bindings/mfd/rohm,bd71815-pmic.yaml | 201 ++++++++++++++++++
> 1 file changed, 201 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml
>

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/regulator/rohm,bd71815-regulator.yaml'
xargs: dt-doc-validate: exited with status 255; aborting
Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/regulator/rohm,bd71815-regulator.yaml'
make[1]: *** [scripts/Makefile.lib:349: Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.example.dt.yaml] Error 255
make[1]: *** Deleting file 'Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.example.dt.yaml'
make: *** [Makefile:1380: dt_binding_check] Error 2

See https://patchwork.ozlabs.org/patch/1448970

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.