[PATCH v2 06/16] realtek: rtl838x: enable switch core drivers

Sander Vanheule sander at svanheule.net
Mon Oct 3 13:52:17 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/rtl838x/config-5.10 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/realtek/rtl838x/config-5.10 b/target/linux/realtek/rtl838x/config-5.10
index c45f10dee0c5..67f24af1b58b 100644
--- a/target/linux/realtek/rtl838x/config-5.10
+++ b/target/linux/realtek/rtl838x/config-5.10
@@ -117,6 +117,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
@@ -127,6 +130,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
@@ -182,6 +187,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