[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250120040214.2538839-1-chris.packham@alliedtelesis.co.nz>
Date: Mon, 20 Jan 2025 17:02:10 +1300
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: lee@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
tsbogend@...ha.franken.de,
hkallweit1@...il.com,
linux@...linux.org.uk,
sander@...nheule.net,
markus.stockhausen@....de
Cc: devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
linux-mips@...r.kernel.org,
Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH v4 0/4] RTL9300 MDIO driver
This series adds a driver for the MDIO controller on the RTL9300 family
of devices. The controller is a little unique in that we can't access the SMI
interfaces directly. This means we need to use the hardware description from
the DTS to compute a mapping of switch port to mdio bus/address.
Chris Packham (4):
dt-bindings: net: Add Realtek MDIO controller
dt-bindings: mfd: Add MDIO interface to rtl9301-switch
mips: dts: realtek: Add MDIO controller
net: mdio: Add RTL9300 MDIO driver
.../bindings/mfd/realtek,rtl9301-switch.yaml | 24 +
.../bindings/net/realtek,rtl9301-mdio.yaml | 93 ++++
arch/mips/boot/dts/realtek/rtl930x.dtsi | 32 ++
drivers/net/mdio/Kconfig | 7 +
drivers/net/mdio/Makefile | 1 +
drivers/net/mdio/mdio-realtek-rtl9300.c | 417 ++++++++++++++++++
6 files changed, 574 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
create mode 100644 drivers/net/mdio/mdio-realtek-rtl9300.c
--
2.47.1
Powered by blists - more mailing lists