]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'net-mdio-realtek-rtl9300-refactor-initialization-and-port-lookup'
authorJakub Kicinski <kuba@kernel.org>
Sat, 6 Jun 2026 01:38:59 +0000 (18:38 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Jun 2026 01:38:59 +0000 (18:38 -0700)
Markus Stockhausen says:

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

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

A lot has been done to enhance the ethernet MDIO driver for simple
integration of more SoCs. Now it is time to solve inconveniences
that were discovered during daily operation. That includes

- Consistent "of" API usage
- Tightening error handling and improving overall robustness.
- Adding support for PHY packages.
- Fixing setup order issues. These currently hinder the driver from
  properly enabling the hardware on devices where U-Boot skips the
  setup and leaves the controller registers untouched.
====================

Link: https://patch.msgid.link/20260603175924.123019-1-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge