Re: [PATCH 2/4] dt-bindings: clock: Convert keystone-gate.txt to YAML

From: Rob Herring
Date: Tue Nov 14 2023 - 14:39:24 EST



On Tue, 14 Nov 2023 12:56:11 -0600, Andrew Davis wrote:
> Convert keystone-gate.txt to ti,keystone,psc-clock.yaml.
>
> Signed-off-by: Andrew Davis <afd@xxxxxx>
> ---
> .../bindings/clock/keystone-gate.txt | 29 ---------
> .../bindings/clock/ti,keystone,psc-clock.yaml | 59 +++++++++++++++++++
> 2 files changed, 59 insertions(+), 29 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/keystone-gate.txt
> create mode 100644 Documentation/devicetree/bindings/clock/ti,keystone,psc-clock.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:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/clock/ti,keystone,psc-clock.example.dts:18.24-26.11: Warning (unit_address_vs_reg): /example-0/clkusb: node has a reg or ranges property, but no unit name

doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/remoteproc/ti,keystone-rproc.txt references a file that doesn't exist: Documentation/devicetree/bindings/clock/keystone-gate.txt
Documentation/devicetree/bindings/remoteproc/ti,keystone-rproc.txt: Documentation/devicetree/bindings/clock/keystone-gate.txt

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231114185613.322570-2-afd@xxxxxx

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.