Re: [PATCH v9 34/36] dt-bindings: pinctrl: airoha: add support of en7523 pin controller

"Rob Herring (Arm)" <[email protected]> Tue, 04 Aug 2026 13:19:12 -0500
Newsgroups org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, 04 Aug 2026 19:04:17 +0300, Mikhail Kshevetskiy wrote:
> This patch adds device tree binding schema for Airoha EN7523 SoC pin
> controller.
> 
> Signed-off-by: Mikhail Kshevetskiy <[email protected]>
> ---
>  .../pinctrl/airoha,en7523-pinctrl.yaml        | 379 ++++++++++++++++++
>  1 file changed, 379 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml
> 

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

yamllint warnings/errors:
./Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml:28:3: [error] duplication of key "gpio-ranges" in mapping (key-duplicates)

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml: ignoring, error parsing file
./Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml: error loading YAML: while constructing a mapping
  in "./Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml", line 16, column 3
found duplicate key "gpio-ranges" with value "{'maxItems': 1}" (original value: "True")
  in "./Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml", line 28, column 3

To suppress this check see:
    https://yaml.dev/doc/ruamel.yaml/api/#Duplicate_keys

./Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml:28:3: found duplicate key "gpio-ranges" with value "{}" (original value: "True")
make[2]: *** Deleting file 'Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.example.dts'
Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml:28:3: found duplicate key "gpio-ranges" with value "{}" (original value: "True")
make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.example.dts] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1703: 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/[email protected]

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.