Re: [PATCH 2/2] dt-bindings: clock: ti: Convert composite.txt to json-schema

Rob Herring (Arm)
2024-12-29T15:31:00Z

On Sun, 29 Dec 2024 14:53:51 +0100, akemnade@kernel.org wrote:
> From: Andreas Kemnade <andreas@kemnade.info>
>
> Convert the OMAP gate clock device tree binding to json-schema.
> Specify the creator of the original binding as a maintainer.
> Choose GPL-only license because original binding was also GPL.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
> .../bindings/clock/ti/composite.txt | 55 -------------
> .../bindings/clock/ti/ti,composite-clock.yaml | 80 +++++++++++++++++++
> 2 files changed, 80 insertions(+), 55 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/ti/composite.txt
> create mode 100644 Documentation/devicetree/bindings/clock/ti/ti,composite-clock.yaml
>

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

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/clock/ti/ti,composite-clock.example.dtb: /example-0/bus/clock-controller@a10: failed to match any schema with compatible: ['ti,composite-interface-clock']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241229135351.5014-3-akemnade@kernel.org

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.