mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00

Manually rebase: pending-5.15/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch ath79/patches-5.15/910-unaligned_access_hacks.patch All other patches automatically rebased Co-authored-by: John Audia <therealgraysky@proton.me> Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Co-authored-by: John Audia <therealgraysky@proton.me>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
--- a/drivers/leds/Makefile
|
|
+++ b/drivers/leds/Makefile
|
|
@@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_CR0014114) += leds-cr
|
|
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 @@ config LEDS_SPI_BYTE
|
|
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
|