From: Matthew Gerlach <matthew.gerlach@altera.com>
To: Rob Herring <robh@kernel.org>
Cc: dinguyen@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
krzk+dt@kernel.org, conor+dt@kernel.org,
maxime.chevallier@bootlin.com, mcoquelin.stm32@gmail.com,
alexandre.torgue@foss.st.com, richardcochran@gmail.com,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
Mun Yew Tham <mun.yew.tham@altera.com>
Subject: Re: [PATCH v7] dt-bindings: net: Convert socfpga-dwmac bindings to yaml
Date: Thu, 3 Jul 2025 10:44:42 -0700 [thread overview]
Message-ID: <f599a0c5-8bc6-4081-8095-1e004bcd4394@altera.com> (raw)
In-Reply-To: <CAL_JsqLrLJ6wiqBk31NhronsUqX4_5FN-Lb26r-3SceDD7kkAA@mail.gmail.com>
On 7/3/25 8:30 AM, Rob Herring wrote:
> On Mon, Jun 30, 2025 at 4:38 PM Matthew Gerlach
> <matthew.gerlach@altera.com> 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.
>
> Did you test this against your dts files?:
I have a log file with a clean test, but I must have overlooked the
errors below in subsequent tests.
>
> ethernet@ff804000 (altr,socfpga-stmmac-a10-s10): iommus: [[11, 3]] is too short
> ethernet@ff802000 (altr,socfpga-stmmac-a10-s10): iommus: [[11, 2]] is too short
> ethernet@ff800000 (altr,socfpga-stmmac-a10-s10): iommus: [[11, 1]] is too short
>
> There's also one for 'phy-addr', but that needs to be dropped from the
> .dts files as it doesn't appear to be used.
I see the phy-addr error. It is coming from Arria10 .dts files. I can
submit a patch set dropping the phy-addr property.
>
> [...]
>
> > + iommus:
> > + maxItems: 2
>
> You need to add:
>
> minItems: 1
Thanks for the hint. Should I submit a "fixes" patch that adds the
'minItems: 1', or should I submit a v8 patch with the whole conversion
plus the 'minItems: 1'?
Matthew Gerlach
>
>
> Rob
prev parent reply other threads:[~2025-07-03 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-30 21:37 Matthew Gerlach
2025-07-02 16:53 ` Rob Herring (Arm)
2025-07-02 22:10 ` patchwork-bot+netdevbpf
2025-07-03 15:30 ` Rob Herring
2025-07-03 17:44 ` Matthew Gerlach [this message]
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=f599a0c5-8bc6-4081-8095-1e004bcd4394@altera.com \
--to=matthew.gerlach@altera.com \
--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=dinguyen@kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.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 \
--cc=robh@kernel.org \
/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®