mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
30 lines
1020 B
Diff
30 lines
1020 B
Diff
--- a/drivers/leds/Makefile
|
|
+++ b/drivers/leds/Makefile
|
|
@@ -93,6 +93,7 @@
|
|
obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o
|
|
obj-$(CONFIG_LEDS_EL15203000) += leds-el15203000.o
|
|
obj-$(CONFIG_LEDS_SPI_BYTE) += leds-spi-byte.o
|
|
+obj-$(CONFIG_LEDS_SPI_SINGLE_WIRE) += leds-spi-single-wire.o
|
|
|
|
# LED Userspace Drivers
|
|
obj-$(CONFIG_LEDS_USER) += uleds.o
|
|
--- a/drivers/leds/Kconfig
|
|
+++ b/drivers/leds/Kconfig
|
|
@@ -818,6 +818,16 @@
|
|
for controlling the brightness. Currently the following controller is
|
|
supported: Ubiquiti airCube ISP microcontroller based LED controller.
|
|
|
|
+config LEDS_SPI_SINGLE_WIRE
|
|
+ tristate "LED support for SPI LED controller with a single wire (MOSI)"
|
|
+ depends on LEDS_CLASS
|
|
+ depends on SPI
|
|
+ depends on OF
|
|
+ help
|
|
+ This option enables support for LED controller which use a single wire
|
|
+ for controlling the brightness. Currently the following controller is
|
|
+ supported: Xiaomi Redmi AX6000
|
|
+
|
|
config LEDS_TI_LMU_COMMON
|
|
tristate "LED driver for TI LMU"
|
|
depends on LEDS_CLASS
|