2024-03-01 01:56:57 +00:00
|
|
|
---
|
|
|
|
drivers/leds/Kconfig | 10 ++++++++++
|
|
|
|
drivers/leds/Makefile | 1 +
|
|
|
|
2 files changed, 11 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/leds/Kconfig
|
|
|
|
+++ b/drivers/leds/Kconfig
|
2024-03-01 02:22:25 +00:00
|
|
|
@@ -901,6 +901,16 @@ source "drivers/leds/flash/Kconfig"
|
2024-03-01 01:56:57 +00:00
|
|
|
comment "RGB LED drivers"
|
|
|
|
source "drivers/leds/rgb/Kconfig"
|
|
|
|
|
|
|
|
+config LEDS_SMARTRG_LED
|
|
|
|
+ tristate "LED support for Adtran SmartRG"
|
|
|
|
+ depends on LEDS_CLASS && I2C && OF
|
|
|
|
+ help
|
|
|
|
+ This option enables support for the Adtran SmartRG platform
|
|
|
|
+ system LED driver.
|
|
|
|
+
|
|
|
|
+ To compile this driver as a module, choose M here: the module
|
|
|
|
+ will be called leds-smartrg-system.
|
|
|
|
+
|
|
|
|
comment "LED Triggers"
|
|
|
|
source "drivers/leds/trigger/Kconfig"
|
|
|
|
|
|
|
|
--- a/drivers/leds/Makefile
|
|
|
|
+++ b/drivers/leds/Makefile
|
2024-03-01 02:22:25 +00:00
|
|
|
@@ -78,6 +78,7 @@ obj-$(CONFIG_LEDS_POWERNV) += leds-powe
|
|
|
|
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
2024-03-01 01:56:57 +00:00
|
|
|
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
|
|
|
|
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
|
|
|
|
+obj-$(CONFIG_LEDS_SMARTRG_LED) += leds-smartrg-system.o
|
|
|
|
obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
|
|
|
|
obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
|
|
|
|
obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o
|