[openwrt/openwrt] realtek: rtl838x: Enable MDIO_GPIO driver

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 22 03:57:41 PST 2025


svanheule pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/f5b66f765163dfd5ef066f6e93700908916084f1

commit f5b66f765163dfd5ef066f6e93700908916084f1
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Tue Jan 21 19:57:22 2025 +0100

    realtek: rtl838x: Enable MDIO_GPIO driver
    
    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 at svanheule.net>
    (cherry picked from commit efffcfa43693b68028a4aed4dea151b82158cc52)
---
 target/linux/realtek/rtl838x/config-6.6 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/realtek/rtl838x/config-6.6 b/target/linux/realtek/rtl838x/config-6.6
index 4cc66bbdda..0621763ca7 100644
--- a/target/linux/realtek/rtl838x/config-6.6
+++ b/target/linux/realtek/rtl838x/config-6.6
@@ -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




More information about the lede-commits mailing list