realtek: add switch port LED driver
[openwrt/staging/svanheule.git] / target / linux / realtek / files-5.10 / drivers / leds / realtek / Kconfig
index fb78d3269dcc5811a273305d2105f664cc3e8f76..f3400b52f990b54e4c8c39c2fd02c12d5bb78d8c 100644 (file)
@@ -7,6 +7,15 @@ menuconfig LEDS_RTL
 
 if LEDS_RTL
 
+config LEDS_RTL_SWITCHCORE_PORT
+       bool "Realtek switch SoC port LED support"
+       default MFD_REALTEK_SWITCHCORE
+       depends on LEDS_CLASS
+       depends on MFD_REALTEK_SWITCHCORE || COMPILE_TEST
+       select MFD_SYSCON
+       help
+         This option enables support for Realtek switch SoC port LEDs.
+
 config LEDS_RTL_SWITCHCORE_SYSTEM
        bool "Realtek switch SoC system LED support"
        default MFD_REALTEK_SWITCHCORE