From: Paul Louvel <paul.louvel@bootlin.com>
To: Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Jerry Ray <jerry.ray@microchip.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Bo Mellberg <bo.mellberg@se.com>,
Pascal Eberhard <pascal.eberhard@se.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Paul Louvel <paul.louvel@bootlin.com>
Subject: [PATCH net-next 1/3] dt-bindings: net: dsa: lan9303: add Microchip LAN9354 compatible
Date: Thu, 26 Nov 2026 15:13:43 +0100 [thread overview]
Message-ID: <20261126-lan9303-leds-v1-1-a96731317859@bootlin.com> (raw)
In-Reply-To: <20261126-lan9303-leds-v1-0-a96731317859@bootlin.com>
The driver has matched "microchip,lan9354-mdio" since commit 13248b975038
("net: dsa: LAN9303: Add basic support for LAN9354"), but the binding only
documents the two SMSC compatibles. A board using the LAN9354 therefore
fails dtbs_check even though the driver binds.
Add the compatible to the enum and mention the LAN9354 in the title and
description.
Signed-off-by: Paul Louvel (Schneider Electric) <paul.louvel@bootlin.com>
---
Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml b/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
index 42f8473538a0..95abf043a118 100644
--- a/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
@@ -4,15 +4,16 @@
$id: http://devicetree.org/schemas/net/dsa/smsc,lan9303.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: SMSC/MicroChip LAN9303 three port ethernet switch
+title: SMSC/MicroChip LAN9303/LAN9354 three port ethernet switch
maintainers:
- Frank Li <Frank.Li@nxp.com>
description:
- The LAN9303 is a three port ethernet switch with integrated PHYs for the
- two external ports. The third port is an RMII/MII interface to a host
- processor. The device can be managed via I2C or MDIO.
+ The LAN9303 and LAN9354 are three port ethernet switches with integrated
+ PHYs for the two external ports. The third port is an RMII/MII interface
+ to a host processor. The LAN9303 can be managed via I2C or MDIO. The
+ LAN9354 is supported in MDIO mode.
Note - always use 'reg = <0/1/2>;' for the three DSA ports, even if the
device is configured to use 1/2/3 instead. This hardware configuration
@@ -23,6 +24,7 @@ properties:
enum:
- smsc,lan9303-i2c
- smsc,lan9303-mdio
+ - microchip,lan9354-mdio
reg:
maxItems: 1
--
2.56.1
next prev parent reply other threads:[~2026-11-26 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 14:13 [PATCH net-next 0/3] net: dsa: lan9303: add LED mode configuration Paul Louvel
2026-11-26 14:13 ` Paul Louvel [this message]
2026-11-26 14:13 ` [PATCH net-next 2/3] dt-bindings: net: dsa: lan9303: add smsc,led-mode property Paul Louvel
2026-11-26 14:13 ` [PATCH net-next 3/3] net: dsa: lan9303: add LED mode configuration Paul Louvel
2026-11-26 15:04 ` Andrew Lunn
2026-11-26 14:52 ` [PATCH net-next 0/3] " 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=20261126-lan9303-leds-v1-1-a96731317859@bootlin.com \
--to=paul.louvel@bootlin.com \
--cc=Frank.Li@nxp.com \
--cc=andrew@lunn.ch \
--cc=bo.mellberg@se.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=jerry.ray@microchip.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=pascal.eberhard@se.com \
--cc=robh@kernel.org \
--cc=thomas.petazzoni@bootlin.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®