linux/drivers/net/mdio
Markus Stockhausen 5ebdcac59a net: mdio: realtek-rtl9300: Add support for RTL931x
The MDIO driver has been prepared for multiple device support. Add all
required bits for the RTL931x (aka mango) series. This is straightforward
but some things are worth to be mentioned.

- In contrast to RTL930x the I/O register has the input/output fields
  swapped. Upper 16 bits are for read/outputs, and the lower 16 bits
  are for write/inputs.
- The supported "pages" are 8192 and thus the raw page is 8191
- The devices support up to 56 ports. Thus the MAX_PORTS definition
  is increased by this commit.
- There are multiple global SMI controller registers with a different
  layout from RTL930x devices. Therefore a separate setup_controller()
  callback is added.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://patch.msgid.link/20260610194145.4153668-6-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-12 17:24:11 -07:00
..
acpi_mdio.c
fwnode_mdio.c net: mdio: common handling of phy device reset properties 2025-11-20 17:41:39 -08:00
Kconfig net: mdio: drop unneeded dependency on OF_GPIO 2026-04-29 18:01:48 -07:00
Makefile net: mdio: add a driver for PIC64-HPSC/HX MDIO controller 2026-04-12 14:19:19 -07:00
mdio-airoha.c net: mdio: Check regmap pointer returned by device_node_to_regmap() 2025-11-03 16:20:03 -08:00
mdio-aspeed.c net: mdio: aspeed: add dummy read to avoid read-after-write issue 2025-12-22 12:06:18 +01:00
mdio-bcm-iproc.c
mdio-bcm-unimac.c net: mdio: mdio-bcm-unimac: Refine incorrect clock message 2025-08-12 17:16:20 -07:00
mdio-bitbang.c
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c net: mdio-gpio: remove linux/platform_data/mdio-gpio.h 2026-03-18 18:29:57 -07:00
mdio-hisi-femac.c
mdio-i2c.c net: phy: sfp: probe for RollBall I2C-to-MDIO bridge in mdio-i2c 2026-06-01 19:19:27 -07:00
mdio-ipq4019.c
mdio-ipq8064.c
mdio-moxart.c
mdio-mscc-miim.c net: phy: micrel: use dev_err_probe() 2026-05-19 17:43:39 -07:00
mdio-mux-bcm-iproc.c
mdio-mux-bcm6368.c
mdio-mux-gpio.c net: mdio: mux-gpio: use gpiod_multi_set_value_cansleep 2025-06-12 18:37:51 -07:00
mdio-mux-meson-g12a.c
mdio-mux-meson-gxl.c net: mdio: mux-meson-gxl: set reversed bit when using internal phy 2025-04-29 12:01:53 -07:00
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c
mdio-mvusb.c net: mdio: mvusb: drop redundant device reference 2026-03-10 19:53:19 -07:00
mdio-octeon.c
mdio-pic64hpsc.c net: mdio: add a driver for PIC64-HPSC/HX MDIO controller 2026-04-12 14:19:19 -07:00
mdio-realtek-rtl9300.c net: mdio: realtek-rtl9300: Add support for RTL931x 2026-06-12 17:24:11 -07:00
mdio-regmap.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c net: mdio: xgene: Fix misleading err message in xgene mdio read 2026-03-05 18:32:01 -08:00
of_mdio.c net: mdio: remove redundant fwnode cleanup 2025-11-25 18:45:37 -08:00