Re: [PATCH] dt-bindings: hwlock: Convert to dtschema
From: Rob Herring (Arm)
Date: Tue Feb 18 2025 - 14:46:58 EST
On Tue, 18 Feb 2025 21:39:35 +0530, Siddharth Menon wrote:
> From: BiscuitBobby <simeddon@xxxxxxxxx>
>
> Convert the generic hwspinlock bindings to DT schema.
> ---
> This is my first time converting bindings to dt schema, please let me
> know if I have overlooked anything.
> .../devicetree/bindings/hwlock/hwlock.txt | 59 -----------------
> .../devicetree/bindings/hwlock/hwlock.yaml | 65 +++++++++++++++++++
> 2 files changed, 65 insertions(+), 59 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/hwlock/hwlock.txt
> create mode 100644 Documentation/devicetree/bindings/hwlock/hwlock.yaml
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml references a file that doesn't exist: Documentation/devicetree/bindings/hwlock/hwlock.txt
Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml: Documentation/devicetree/bindings/hwlock/hwlock.txt
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250218161352.269237-1-simeddon@xxxxxxxxx
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.