Re: [PATCH v2] dt-bindings: gpio: lsi,zevio-gpio: convert to dtschema

From: Rob Herring (Arm)
Date: Mon May 20 2024 - 13:15:58 EST



On Mon, 20 May 2024 17:47:08 +0200, Pratik Farkase wrote:
> Convert Zevio GPIO Controller from text to dtschema.
>
> Signed-off-by: Pratik Farkase <pratik.farkase@xxxxxxxxxxxxx>
> ---
> Changes in v2:
> - Renamed file from `gpio-zevio.yaml` to `lsi,zevio-gpio.yaml`
> - Fixed the space indentation in example
> ---
> ---
> .../devicetree/bindings/gpio/gpio-zevio.txt | 16 --------
> .../bindings/gpio/lsi,zevio-gpio.yaml | 41 +++++++++++++++++++
> 2 files changed, 41 insertions(+), 16 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-zevio.txt
> create mode 100644 Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml
>

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

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml: $id: Cannot determine base path from $id, relative path/filename doesn't match actual path or filename
$id: http://devicetree.org/schemas/gpio/gpio-zevio.yaml
file: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240520154711.7991-1-pratik.farkase@xxxxxxxxxxxxx

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.