]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: rtl838x: Enable MDIO_GPIO driver
authorSander Vanheule <sander@svanheule.net>
Tue, 21 Jan 2025 18:57:22 +0000 (19:57 +0100)
committerSander Vanheule <sander@svanheule.net>
Sat, 22 Feb 2025 11:32:35 +0000 (12:32 +0100)
The mdio-gpio driver is required to support early revision of RTL8380M
slicon (rev A) where the auxilairy MDIO controller does not function
correctly. Add this driver to the rtl838x kernel so devices with old
SoCs are also able to function correctly.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit efffcfa43693b68028a4aed4dea151b82158cc52)

target/linux/realtek/rtl838x/config-6.6

index 4cc66bbdda5b9408bb0a8e6b701d6f3ee5f885c4..0621763ca7d5cad3977ae11cb3c0e8f9d607f3ce 100644 (file)
@@ -120,9 +120,11 @@ CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MACH_REALTEK_RTL=y
 CONFIG_MARVELL_PHY=y
+CONFIG_MDIO_BITBANG=y
 CONFIG_MDIO_BUS=y
 CONFIG_MDIO_DEVICE=y
 CONFIG_MDIO_DEVRES=y
+CONFIG_MDIO_GPIO=y
 CONFIG_MDIO_I2C=y
 CONFIG_MDIO_REALTEK_OTTO_AUX=y
 CONFIG_MDIO_SMBUS=y