Re: [PATCH 5/5] dt-bindings: gpio: omap: Convert to json-schema

From: Rob Herring
Date: Mon May 24 2021 - 12:59:36 EST


On Sat, 22 May 2021 01:32:36 +0300, Grygorii Strashko wrote:
> Convert the OMAP GPIO Device Tree binding documentation to json-schema.
> The GPIO hogs node names defined to end with a 'hog' suffix.
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> ---
> .../devicetree/bindings/gpio/gpio-omap.txt | 45 --------
> .../bindings/gpio/ti,omap-gpio.yaml | 108 ++++++++++++++++++
> 2 files changed, 108 insertions(+), 45 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-omap.txt
> create mode 100644 Documentation/devicetree/bindings/gpio/ti,omap-gpio.yaml
>

My 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:
./Documentation/devicetree/bindings/gpio/ti,omap-gpio.yaml:22:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

dtschema/dtc warnings/errors:

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

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.