[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <174949094195.2609766.16547332627490920980.robh@kernel.org>
Date: Mon, 09 Jun 2025 12:42:21 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Matthew Gerlach <matthew.gerlach@...era.com>
Cc: andrew+netdev@...n.ch, edumazet@...gle.com,
alexandre.torgue@...s.st.com, davem@...emloft.net, krzk+dt@...nel.org,
mcoquelin.stm32@...il.com, netdev@...r.kernel.org,
devicetree@...r.kernel.org, Mun Yew Tham <mun.yew.tham@...era.com>,
conor+dt@...nel.org, pabeni@...hat.com, linux-kernel@...r.kernel.org,
richardcochran@...il.com, kuba@...nel.org, maxime.chevallier@...tlin.com
Subject: Re: [PATCH v4] dt-bindings: net: Convert socfpga-dwmac bindings to
yaml
On Mon, 09 Jun 2025 09:37:25 -0700, Matthew Gerlach wrote:
> Convert the bindings for socfpga-dwmac to yaml. Since the original
> text contained descriptions for two separate nodes, two separate
> yaml files were created.
>
> Signed-off-by: Mun Yew Tham <mun.yew.tham@...era.com>
> Signed-off-by: Matthew Gerlach <matthew.gerlach@...era.com>
> ---
> v4:
> - Change filename from socfpga,dwmac.yaml to altr,socfpga-stmmac.yaml.
> - Updated compatible in select properties and main properties.
> - Fixed clocks so stmmaceth clock is required.
> - Added binding for altr,gmii-to-sgmii.
> - Update MAINTAINERS.
>
> v3:
> - Add missing supported phy-modes.
>
> v2:
> - Add compatible to required.
> - Add descriptions for clocks.
> - Add clock-names.
> - Clean up items: in altr,sysmgr-syscon.
> - Change "additionalProperties: true" to "unevaluatedProperties: false".
> - Add properties needed for "unevaluatedProperties: false".
> - Fix indentation in examples.
> - Drop gmac0: label in examples.
> - Exclude support for Arria10 that is not validating.
> ---
> .../bindings/net/altr,gmii-to-sgmii.yaml | 49 ++++++
> .../bindings/net/altr,socfpga-stmmac.yaml | 162 ++++++++++++++++++
> .../devicetree/bindings/net/socfpga-dwmac.txt | 57 ------
> MAINTAINERS | 7 +-
> 4 files changed, 217 insertions(+), 58 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/altr,gmii-to-sgmii.yaml
> create mode 100644 Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> delete mode 100644 Documentation/devicetree/bindings/net/socfpga-dwmac.txt
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/net/altr,gmii-to-sgmii.example.dtb: /example-0/phy@...00240: failed to match any schema with compatible: ['altr,gmii-to-sgmii-2.0']
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250609163725.6075-1-matthew.gerlach@altera.com
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.
Powered by blists - more mailing lists