Re: [PATCH v2] dt-bindings: timer: Tegra: Convert text bindings to yaml

From: Rob Herring
Date: Thu Mar 03 2022 - 18:10:49 EST


On Thu, 03 Mar 2022 22:16:19 +0100, David Heidelberg wrote:
> Convert Tegra timer binding into yaml format.
>
> This commit also merge 3 text bindings with almost
> identical content (differens in number of registers).
>
> Signed-off-by: David Heidelberg <david@xxxxxxx>
> ---
> v2:
> - reg: true -> reg: maxItems: 1
> ---
> .../bindings/timer/nvidia,tegra-timer.yaml | 150 ++++++++++++++++++
> .../bindings/timer/nvidia,tegra20-timer.txt | 24 ---
> .../bindings/timer/nvidia,tegra210-timer.txt | 36 -----
> .../bindings/timer/nvidia,tegra30-timer.txt | 28 ----
> 4 files changed, 150 insertions(+), 88 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra-timer.yaml
> delete mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt
> delete mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra210-timer.txt
> delete mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt
>

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/timer/nvidia,tegra-timer.example.dts:21.24-31.11: Warning (interrupts_property): /example-0/timer@60005000: Missing interrupt-parent

doc reference errors (make refcheckdocs):

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

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.