|
|
Log in / Subscribe / Register

net: mdio: realtek-rtl9300: Refactor initialization and port lookup

From:  Markus Stockhausen <markus.stockhausen-AT-gmx.de>
To:  andrew-AT-lunn.ch, hkallweit1-AT-gmail.com, linux-AT-armlinux.org.uk, davem-AT-davemloft.net, edumazet-AT-google.com, kuba-AT-kernel.org, pabeni-AT-redhat.com, netdev-AT-vger.kernel.org, chris.packham-AT-alliedtelesis.co.nz, daniel-AT-makrotopia.org, robh-AT-kernel.org, krzk+dt-AT-kernel.org, conor+dt-AT-kernel.org, devicetree-AT-vger.kernel.org
Subject:  [PATCH net-next 0/5] net: mdio: realtek-rtl9300: Refactor initialization and port lookup
Date:  Sun, 07 Jun 2026 14:54:01 +0200
Message-ID:  <20260607125406.2853607-1-markus.stockhausen@gmx.de>
Cc:  Markus Stockhausen <markus.stockhausen-AT-gmx.de>
Archive-link:  Article

The Realtek Otto switch platform consists of four different series

- RTL838x aka maple   : 28 port 1G Switches
- RTL839x aka cypress : 52 port 1G Switches
- RTL930x aka longan  : 28 port 1G/2.5G/10G Switches
- RTL931x aka mango   : 56 port 1G/2.5G/10G Switches

This patch series adds support for the RTL931x devices. For this

- Enhance device tree binding.
- Implement final cleanups and enhancments for the driver.
- Add RTL931x coding.

Remark: Instead of this series it was planned to bring support for  
hardware polling configuration first. It turns out that more testing
is needed, especially for the RTL83xx SoCs. So add this lineup of 
devices, that are known to have no obvious bus parallel access 
issues (at least from testing and vendor SDK perspective).  

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
---


Markus Stockhausen (5):
  dt-bindings: net: realtek,rtl9301-mdio: Add RTL931x series
  net: mdio: realtek-rtl9300: Add prefix to register field defines
  net: mdio: realtek-rtl9300: Make otto_emdio_read_cmd() generic
  net: mdio: realtek-rtl9300: Add registers for high port count modes
  net: mdio: realtek-rtl9300: Add support for RTL931x

 .../bindings/net/realtek,rtl9301-mdio.yaml    |   6 +
 drivers/net/mdio/mdio-realtek-rtl9300.c       | 210 +++++++++++++++---
 2 files changed, 183 insertions(+), 33 deletions(-)

-- 
2.54.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds