Re: [PATCH] watchdog: dt-bindings: armada-37xx-wdt: convert text binding

From: Rob Herring
Date: Tue Apr 04 2023 - 08:38:08 EST



On Tue, 04 Apr 2023 14:44:08 +0900, Otabek Nazrullaev wrote:
> Convert Armada 37xx watchdog timer controller to YAML format
>
> Signed-off-by: Otabek Nazrullaev <otabeknazrullaev1998@xxxxxxxxx>
> ---
> .../bindings/watchdog/armada-37xx-wdt.txt | 23 --------
> .../bindings/watchdog/armada-37xx-wdt.yaml | 54 +++++++++++++++++++
> 2 files changed, 54 insertions(+), 23 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
> create mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.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/watchdog/armada-37xx-wdt.example.dtb: /example-0/system-controller@d000: failed to match any schema with compatible: ['marvell,armada-3700-cpu-misc', 'syscon']

doc reference errors (make refcheckdocs):
MAINTAINERS: Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230404054449.5665-1-otabeknazrullaev1998@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.