[PATCH 06/54] dt-bindings: arm: Convert ARM CCI-400 binding to a schema
Rob Herring
robh at kernel.org
Wed Jul 21 19:09:56 PDT 2021
On Wed, 21 Jul 2021 16:03:36 +0200, Maxime Ripard wrote:
> The ARM CCI-400 Interconnect is supported by Linux thanks to its device
> tree binding.
>
> Now that we have the DT validation in place, let's convert the device
> tree bindings for that driver over to a YAML schema.
>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> ---
> .../devicetree/bindings/arm/arm,cci-400.yaml | 216 +++++++++++++++++
> .../bindings/arm/cci-control-port.yaml | 38 +++
> Documentation/devicetree/bindings/arm/cci.txt | 224 ------------------
> 3 files changed, 254 insertions(+), 224 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/arm/arm,cci-400.yaml
> create mode 100644 Documentation/devicetree/bindings/arm/cci-control-port.yaml
> delete mode 100644 Documentation/devicetree/bindings/arm/cci.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/arm/arm,cci-400.example.dt.yaml:0:0: /dma at 3000000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
\ndoc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1508250
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.
More information about the linux-arm-kernel
mailing list