[PATCH v2 10/16] realtek: rtl839x: enable switch core drivers

Sander Vanheule sander at svanheule.net
Mon Oct 3 13:52:21 PDT 2022


To allow devices to use the features provided by the new pinctrl and LED
support, enable all related drivers

Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/realtek/rtl839x/config-5.10 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/realtek/rtl839x/config-5.10 b/target/linux/realtek/rtl839x/config-5.10
index c685a3f24bed..e0df9ff77b31 100644
--- a/target/linux/realtek/rtl839x/config-5.10
+++ b/target/linux/realtek/rtl839x/config-5.10
@@ -113,6 +113,9 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_RTL=y
+CONFIG_LEDS_RTL_SWITCHCORE_PORT=y
+CONFIG_LEDS_RTL_SWITCHCORE_SYSTEM=y
 CONFIG_LEGACY_PTYS=y
 CONFIG_LEGACY_PTY_COUNT=256
 CONFIG_LIBFDT=y
@@ -124,6 +127,8 @@ CONFIG_MDIO_DEVICE=y
 CONFIG_MDIO_DEVRES=y
 CONFIG_MDIO_I2C=y
 CONFIG_MEMFD_CREATE=y
+CONFIG_MFD_CORE=y
+CONFIG_MFD_REALTEK_SWITCHCORE=y
 CONFIG_MFD_SYSCON=y
 CONFIG_MIGRATION=y
 CONFIG_MIPS=y
@@ -180,6 +185,7 @@ CONFIG_PGTABLE_LEVELS=2
 CONFIG_PHYLIB=y
 CONFIG_PHYLINK=y
 CONFIG_PINCTRL=y
+CONFIG_PINCTRL_RTL_SWITCHCORE=y
 CONFIG_PM_OPP=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
-- 
2.37.3




More information about the openwrt-devel mailing list