Netdev List
 help / color / mirror / Atom feed
* [PATCH v4] net: dsa: realtek: rtl8365mb: add support for RTL8367SB
       [not found] <3c6d822b-0e85-4173-86ba-2badb140bbf1.ref@yahoo.com>
@ 2026-05-09 12:10 ` Mieczyslaw Nalewaj
  0 siblings, 0 replies; only message in thread
From: Mieczyslaw Nalewaj @ 2026-05-09 12:10 UTC (permalink / raw)
  To: Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Alvin Šipraga,
	Yury Norov, Rasmus Villemoes, Russell King, netdev
  Cc: Luiz Angelo Daros de Luca

Add chip info entry for the Realtek RTL8367SB switch. This device has
chip ID 0x6367 and version 0x0010. It exposes two external interfaces:
port 6 supports MII, TMII, RMII, RGMII, SGMII and HSGMII, while port 7
supports MII, TMII, RMII and RGMII. Use the existing 8365MB-VC jam table
for initialization.

Reviewed-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
v2:
- no changes over v1

v3:
- expand port 6 external interface capabilities to include
  MII, TMII, RMII and RGMII in addition to SGMII and HSGMII

v4:
- no code changes
- add revision changelog
- repost because v3 did not reach patchwork

 drivers/net/dsa/realtek/rtl8365mb.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/net/dsa/realtek/rtl8365mb.c b/drivers/net/dsa/realtek/rtl8365mb.c
index 05412c4aa976..6451e8a31452 100644
--- a/drivers/net/dsa/realtek/rtl8365mb.c
+++ b/drivers/net/dsa/realtek/rtl8365mb.c
@@ -545,6 +545,20 @@ static const struct rtl8365mb_chip_info
 		.jam_size = ARRAY_SIZE(rtl8365mb_init_jam_8365mb_vc),
 	},
 	{
+		.name = "RTL8367SB",
+		.chip_id = 0x6367,
+		.chip_ver = 0x0010,
+		.extints = {
+			{ 6, 1, PHY_INTF(MII) | PHY_INTF(TMII) |
+				PHY_INTF(RMII) | PHY_INTF(RGMII) |
+				PHY_INTF(SGMII) | PHY_INTF(HSGMII) },
+			{ 7, 2, PHY_INTF(MII) | PHY_INTF(TMII) |
+				PHY_INTF(RMII) | PHY_INTF(RGMII) },
+		},
+		.jam_table = rtl8365mb_init_jam_8365mb_vc,
+		.jam_size = ARRAY_SIZE(rtl8365mb_init_jam_8365mb_vc),
+	},
+	{
 		.name = "RTL8367RB-VB",
 		.chip_id = 0x6367,
 		.chip_ver = 0x0020,
-- 
2.53.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-09 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3c6d822b-0e85-4173-86ba-2badb140bbf1.ref@yahoo.com>
2026-05-09 12:10 ` [PATCH v4] net: dsa: realtek: rtl8365mb: add support for RTL8367SB Mieczyslaw Nalewaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox