From: "Rob Herring (Arm)" <robh@kernel.org>
To: Matthew Gerlach <matthew.gerlach@altera.com>
Cc: andrew+netdev@lunn.ch, edumazet@google.com,
alexandre.torgue@foss.st.com, davem@davemloft.net,
krzk+dt@kernel.org, mcoquelin.stm32@gmail.com,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
Mun Yew Tham <mun.yew.tham@altera.com>,
conor+dt@kernel.org, pabeni@redhat.com,
linux-kernel@vger.kernel.org, richardcochran@gmail.com,
kuba@kernel.org, maxime.chevallier@bootlin.com
Subject: Re: [PATCH v4] dt-bindings: net: Convert socfpga-dwmac bindings to yaml
Date: Mon, 09 Jun 2025 12:42:21 -0500 [thread overview]
Message-ID: <174949094195.2609766.16547332627490920980.robh@kernel.org> (raw)
In-Reply-To: <20250609163725.6075-1-matthew.gerlach@altera.com>
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@altera.com>
> Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.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@ff000240: 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.
next prev parent reply other threads:[~2025-06-09 17:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 16:37 Matthew Gerlach
2025-06-09 17:42 ` Rob Herring (Arm) [this message]
2025-06-09 22:15 ` Rob Herring
2025-06-09 23:26 ` Matthew Gerlach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174949094195.2609766.16547332627490920980.robh@kernel.org \
--to=robh@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.gerlach@altera.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mun.yew.tham@altera.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®