]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: rtl839x: enable RTL8231 LED driver
authorSander Vanheule <sander@svanheule.net>
Thu, 19 Feb 2026 15:12:47 +0000 (16:12 +0100)
committerSander Vanheule <sander@svanheule.net>
Mon, 30 Mar 2026 17:18:56 +0000 (19:18 +0200)
To enable the use of the RTL8231 to control (port) LEDs, the driver
needs to be enabled in the build. Incorporate it into the kernel, so any
LED consumers also work in failsafe mode.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/rtl839x/config-6.12
target/linux/realtek/rtl839x/config-6.18

index c515afbf8ae18a1a24845a41e29774f3ba980f10..b5fb20f4c98e6c613d5188467e2a8d9e758f0ca1 100644 (file)
@@ -124,7 +124,7 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-# CONFIG_LEDS_RTL8231 is not set
+CONFIG_LEDS_RTL8231=y
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MACH_REALTEK_RTL=y
index eef6368bedec5e399c4aeb13e69436a532288442..ca920a8fbe877014bde8d8dc27b40d53163610d6 100644 (file)
@@ -125,7 +125,7 @@ CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JFFS2_ZLIB=y
 CONFIG_LEDS_GPIO=y
-# CONFIG_LEDS_RTL8231 is not set
+CONFIG_LEDS_RTL8231=y
 CONFIG_LIBFDT=y
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MACH_REALTEK_RTL=y