Re: [PATCH] dt-bindings: bus: brcm,bus-axi: Convert binding to YAML

From: Rob Herring (Arm)

Date: Sun Jul 26 2026 - 18:30:58 EST



On Sun, 26 Jul 2026 13:55:14 -0700, Rosen Penev wrote:
> Convert the Broadcom AXI bus (bcma) binding from legacy .txt format
> to dt-schema YAML format. This resolves dtbs_check schema validation
> warnings for the brcm,bus-axi compatible string across all BCM47xx
> and BCM53xx ARM SoC board DTBs.
>
> The schema documents the AXI bus node with its required compatible
> and reg properties, address/size/interrupt cell configurations, and
> interrupt-map for assigning IRQ numbers on BCM47xx/BCM53xx platforms
> where automatic detection is not available.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> .../devicetree/bindings/bus/brcm,bus-axi.txt | 53 -------------
> .../devicetree/bindings/bus/brcm,bus-axi.yaml | 77 +++++++++++++++++++
> 2 files changed, 77 insertions(+), 53 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/bus/brcm,bus-axi.txt
> create mode 100644 Documentation/devicetree/bindings/bus/brcm,bus-axi.yaml
>

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Lexical error: Documentation/devicetree/bindings/bus/brcm,bus-axi.example.dts:28.36-43 Unexpected 'GIC_SPI'
Lexical error: Documentation/devicetree/bindings/bus/brcm,bus-axi.example.dts:28.48-67 Unexpected 'IRQ_TYPE_LEVEL_HIGH'
Lexical error: Documentation/devicetree/bindings/bus/brcm,bus-axi.example.dts:30.36-43 Unexpected 'GIC_SPI'
Lexical error: Documentation/devicetree/bindings/bus/brcm,bus-axi.example.dts:30.48-67 Unexpected 'IRQ_TYPE_LEVEL_HIGH'
FATAL ERROR: Syntax error parsing input tree
make[2]: *** [scripts/Makefile.dtbs:140: Documentation/devicetree/bindings/bus/brcm,bus-axi.example.dtb] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1705: dt_binding_check] Error 2
make: *** [Makefile:248: __sub-make] Error 2

doc reference errors (make refcheckdocs):

See https://patchwork.kernel.org/project/devicetree/patch/20260726205518.6698-1-rosenp@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.