summaryrefslogtreecommitdiff
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorChristian Mauderer <oss@c-mauderer.de>2019-05-13 22:33:07 +0300
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-05-24 23:19:43 +0300
commite9a804d7a428432d8ad0bc7984f459daf0cc4da3 (patch)
tree64d334a8c47bb387ae68720c5ecddbab9b14ec64 /drivers/leds/Kconfig
parente7c787cb2697ee4c101109bf21b4fc397cea150b (diff)
downloadlinux-e9a804d7a428432d8ad0bc7984f459daf0cc4da3.tar.xz
leds: spi-byte: add single byte SPI LED driver
This driver adds support for simple SPI based LED controller which use only one byte for setting the brightness. Signed-off-by: Christian Mauderer <oss@c-mauderer.de> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 71be87bdb926..35fcddb7ac2a 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -783,6 +783,16 @@ config LEDS_NIC78BX
To compile this driver as a module, choose M here: the module
will be called leds-nic78bx.
+config LEDS_SPI_BYTE
+ tristate "LED support for SPI LED controller with a single byte"
+ depends on LEDS_CLASS
+ depends on SPI
+ depends on OF
+ help
+ This option enables support for LED controller which use a single byte
+ for controlling the brightness. Currently the following controller is
+ supported: Ubiquiti airCube ISP microcontroller based LED controller.
+
comment "LED Triggers"
source "drivers/leds/trigger/Kconfig"