From: Conor Dooley <conor@kernel.org>
To: Minda Chen <minda.chen@starfivetech.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Emil Renner Berthing <emil.renner.berthing@canonical.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-stm32@st-md-mailman.stormreply.com"
<linux-stm32@st-md-mailman.stormreply.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [net-next v3 3/5] dt-bindings: net: starfive,jh7110-dwmac: Add jhb100 sgmii rx clk
Date: Tue, 12 May 2026 17:33:46 +0100 [thread overview]
Message-ID: <20260512-verbalize-nutty-137aedb43c81@spud> (raw)
In-Reply-To: <BJXPR01MB08559464A0F449365088B6ABE6392@BJXPR01MB0855.CHNPR01.prod.partner.outlook.cn>
[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]
On Tue, May 12, 2026 at 11:11:20AM +0000, Minda Chen wrote:
>
>
> >
> > > +
> > > + clock-names:
> > > + oneOf:
> > > + - items:
> > > + - const: stmmaceth
> > > + - const: pclk
> > > + - const: ptp_ref
> > > + - const: tx
> > > + - const: gtx
> > > + - items:
> > > + - const: stmmaceth
> > > + - const: pclk
> > > + - const: ptp_ref
> > > + - const: tx
> > > + - const: gtx
> > > + - const: sgmii_rx
> >
> > Can't you just leave this list outside the conditional section, and add the extra
> > item to the end? The only difference appears to be the sgmii_rx clock, and it's at
> > the end.
> >
> > I'm also not really convinced that this flexibility is required, unless there are
> > some controllers on the platform that do not support sgmii.
> >
> > pw-bot: changes-requested
> >
> > Cheers,
> > Conor.
> >
>
> Thanks. Yes, can do it more simple . I think change the clocks-names in properties like this is Okay.
>
> clock-names:
> + minItems: 5
> items:
> - const: stmmaceth
> - const: pclk
> - const: ptp_ref
> - const: tx
> - const: gtx
> + - enum:
> + - sgmii_rx
This can remain const, only need the enum if there are options.
>
>
> > > if:
> > > properties:
> > > compatible:
> > > --
> > > 2.17.1
> > >
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-05-12 16:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 9:41 [net-next v3 0/5] Add StarFive jhb100 soc SGMII GMAC support Minda Chen
2026-05-07 9:41 ` [net-next v3 1/5] dt-bindings: net: starfive,jh7110-dwmac: Remove jh8100 Minda Chen
2026-05-07 12:31 ` Andrew Lunn
2026-05-07 17:36 ` Conor Dooley
2026-05-07 9:41 ` [net-next v3 2/5] dt-bindings: net: starfive,jh7110-dwmac: Add jhb100 support Minda Chen
2026-05-07 9:41 ` [net-next v3 3/5] dt-bindings: net: starfive,jh7110-dwmac: Add jhb100 sgmii rx clk Minda Chen
2026-05-07 17:42 ` Conor Dooley
2026-05-12 11:11 ` Minda Chen
2026-05-12 16:33 ` Conor Dooley [this message]
2026-05-07 9:41 ` [net-next v3 4/5] net: stmmac: starfive: Add jhb100 SGMII interface Minda Chen
2026-05-07 12:41 ` Andrew Lunn
2026-05-08 9:35 ` Minda Chen
2026-05-07 17:44 ` Conor Dooley
2026-05-08 9:35 ` Minda Chen
2026-05-07 9:41 ` [net-next v3 5/5] net: stmmac: starfive: Add STMMAC_FLAG_SPH_DISABLE flag Minda Chen
2026-05-07 12:42 ` Andrew Lunn
2026-05-07 12:31 ` [net-next v3 0/5] Add StarFive jhb100 soc SGMII GMAC support Andrew Lunn
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=20260512-verbalize-nutty-137aedb43c81@spud \
--to=conor@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=emil.renner.berthing@canonical.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=minda.chen@starfivetech.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@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