Re: [internal][PATCH] dt-bindings: dsa: lan9303: Add lan9303 yaml

From: Krzysztof Kozlowski
Date: Thu Sep 22 2022 - 13:29:33 EST


On Thu, 22 Sep 2022 10:24:38 -0500, Jerry Ray wrote:
> Adding the dt binding yaml for the lan9303 3-port ethernet switch.
> The microchip lan9354 3-port ethernet switch will also use the
> same binding.
>
> Signed-off-by: Jerry Ray <jerry.ray@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/net/dsa/lan9303.txt | 100 +-----------
> .../bindings/net/dsa/microchip,lan9303.yaml | 143 ++++++++++++++++++
> MAINTAINERS | 8 +
> 3 files changed, 152 insertions(+), 99 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/dsa/microchip,lan9303.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:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/microchip,lan9303.example.dtb: switch@0: Unevaluated properties are not allowed ('mdio' was unexpected)
From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/microchip,lan9303.yaml

doc reference errors (make refcheckdocs):

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

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.