diff options
author | David Bauer <mail@david-bauer.net> | 2021-02-28 11:15:37 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-02-28 12:17:48 +0100 |
commit | 024c81adb8267bd24e08d9a20de45bb353af55e4 (patch) | |
tree | 8902a738c44c6b1f63520dbc4e14407ec112864a /target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch | |
parent | dfa0a38d1f4d5bbac768569e3769ae4438a57e73 (diff) | |
download | upstream-024c81adb8267bd24e08d9a20de45bb353af55e4.tar.gz upstream-024c81adb8267bd24e08d9a20de45bb353af55e4.tar.bz2 upstream-024c81adb8267bd24e08d9a20de45bb353af55e4.zip |
mediatek: add missing 5.10 patches
These patches are required for the Ubiquiti UniFi 6 LR to work. They
were already present for kernel 5.4 but got lost when adding 5.10
support.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch')
-rw-r--r-- | target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch b/target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch new file mode 100644 index 0000000000..013391e1d9 --- /dev/null +++ b/target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch @@ -0,0 +1,29 @@ +--- a/drivers/leds/Kconfig ++++ b/drivers/leds/Kconfig +@@ -928,6 +928,16 @@ config LEDS_ACER_A500 + This option enables support for the Power Button LED of + Acer Iconia Tab A500. + ++config LEDS_UBNT_LEDBAR ++ tristate "LED support for Ubiquiti UniFi 6 LR" ++ depends on LEDS_CLASS && I2C && OF ++ help ++ This option enables support for the Ubiquiti LEDBAR ++ LED driver. ++ ++ To compile this driver as a module, choose M here: the module ++ will be called leds-ubnt-ledbar. ++ + comment "LED Triggers" + source "drivers/leds/trigger/Kconfig" + +--- a/drivers/leds/Makefile ++++ b/drivers/leds/Makefile +@@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_TURRIS_OMNIA) += leds + obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o + obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o + obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o ++obj-$(CONFIG_LEDS_UBNT_LEDBAR) += leds-ubnt-ledbar.o + + # LED SPI Drivers + obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o |