blob: d1c73d9c3c984d5a05f453bbe103da7f86aafd08 [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +08001--- a/drivers/leds/Kconfig
2+++ b/drivers/leds/Kconfig
developer27b55252022-09-05 19:09:45 +08003@@ -826,6 +826,16 @@ config LEDS_LM36274
4
5 source "drivers/leds/blink/Kconfig"
developerec4ebe42022-04-12 11:17:45 +08006
7+config LEDS_UBNT_LEDBAR
8+ tristate "LED support for Ubiquiti UniFi 6 LR"
9+ depends on LEDS_CLASS && I2C && OF
10+ help
11+ This option enables support for the Ubiquiti LEDBAR
12+ LED driver.
13+
14+ To compile this driver as a module, choose M here: the module
15+ will be called leds-ubnt-ledbar.
16+
17 comment "LED Triggers"
18 source "drivers/leds/trigger/Kconfig"
19
20--- a/drivers/leds/Makefile
21+++ b/drivers/leds/Makefile
22@@ -85,6 +85,7 @@ obj-$(CONFIG_LEDS_LM3601X) += leds-lm36
23 obj-$(CONFIG_LEDS_TI_LMU_COMMON) += leds-ti-lmu-common.o
24 obj-$(CONFIG_LEDS_LM3697) += leds-lm3697.o
25 obj-$(CONFIG_LEDS_LM36274) += leds-lm36274.o
26+obj-$(CONFIG_LEDS_UBNT_LEDBAR) += leds-ubnt-ledbar.o
27
28 # LED SPI Drivers
29 obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o