Re: [PATCH v3 1/7] dt-bindings: watchdog: convert Broadcom's WDT to the json-schema

From: Rob Herring
Date: Thu Nov 04 2021 - 12:12:57 EST


On Wed, 03 Nov 2021 16:13:21 -0700, Florian Fainelli wrote:
> From: RafaÅ? MiÅ?ecki <rafal@xxxxxxxxxx>
>
> This helps validating DTS files.
>
> Signed-off-by: RafaÅ? MiÅ?ecki <rafal@xxxxxxxxxx>
> ---
> .../bindings/watchdog/brcm,bcm7038-wdt.txt | 19 ---------
> .../bindings/watchdog/brcm,bcm7038-wdt.yaml | 40 +++++++++++++++++++
> 2 files changed, 40 insertions(+), 19 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt
> create mode 100644 Documentation/devicetree/bindings/watchdog/brcm,bcm7038-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/brcm,bcm7038-wdt.yaml: $id: relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/watchdog/brcm,bcm7038-wdt.yaml#

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/1550624

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

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.