Re: [PATCH] dt-bindings: convert spmi.txt to spmi.yaml

Rob Herring
2020-08-19T22:38:22Z

On Wed, 19 Aug 2020 17:20:06 +0200, Mauro Carvalho Chehab wrote:
> Convert the SPMI bus documentation to JSON/yaml.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>
> Rob,
>
> As promissed, this patch converts the spmi.txt generic bus bindings to
> html.
>
> .../bindings/mfd/qcom,spmi-pmic.txt | 2 +-
> .../bindings/spmi/qcom,spmi-pmic-arb.txt | 4 +-
> .../devicetree/bindings/spmi/spmi.txt | 41 ------------
> .../devicetree/bindings/spmi/spmi.yaml | 62 +++++++++++++++++++
> 4 files changed, 65 insertions(+), 44 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/spmi/spmi.txt
> create mode 100644 Documentation/devicetree/bindings/spmi/spmi.yaml
>

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

Error: Documentation/devicetree/bindings/spmi/spmi.example.dts:23.18-19 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [scripts/Makefile.lib:342: Documentation/devicetree/bindings/spmi/spmi.example.dt.yaml] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1367: dt_binding_check] Error 2

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

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure dt-schema is up to date:

pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade

Please check and re-submit.