| 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/8] net: mdio: realtek-rtl9300: Add RTL83xx support |
| Date: |
| Sat, 13 Jun 2026 13:29:38 +0200 |
| Message-ID: |
| <20260613112946.1071411-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
While there always was a good knowledge about the MDIO hardware
polling unit and its necessity for the MAC layer, there was no
detailed documentation available. For this series the MDIO bus was
inspected with a logic analyzer for a better understanding how
polling and kernel access interact on the bus. All this is now
explained in the driver comments.
This patch series adds support for the RTL83xx devices. For this
- Enhance device tree binding.
- Add special handling for limitations enforced by hardware polling.
These already have minor side effects on RTL93xx devices but are even
more critical for the RTL83xx hardware.
- Add RTL83xx coding.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
---
Markus Stockhausen (8):
dt-bindings: net: realtek,rtl9301-mdio: Add RTL83xx series
net: mdio: realtek-rtl9300: Add polling documentation
net: mdio: realtek-rtl9300: Add page tracking
net: mdio: realtek-rtl9300: Configure hardware polling during probing
net: mdio: realtek-rtl9300: Add c45 over c22 mitigation
net: mdio: realtek-rtl9300: Increase MDIO timeout
net: mdio: realtek-rtl9300: Add support for RTL838x
net: mdio: realtek-rtl9300: Add support for RTL839x
.../bindings/net/realtek,rtl9301-mdio.yaml | 12 +
drivers/net/mdio/mdio-realtek-rtl9300.c | 399 +++++++++++++++++-
2 files changed, 398 insertions(+), 13 deletions(-)
--
2.54.0