diff options
author | Álvaro Fernández Rojas | 2017-05-07 20:10:24 +0200 |
---|---|---|
committer | Daniel Schwierzeck | 2017-05-10 16:16:09 +0200 |
commit | 28300dc5263b26365d8210b92d8acf097dc5e942 (patch) | |
tree | c10e45f912cc21afb710ea38dda533efea778e28 /drivers/led/Kconfig | |
parent | 2791f8db5e2285a6bf6c6a7dad3ea517be72c592 (diff) |
dm: led: add BCM6328 led driver
This driver is a simplified version of linux/drivers/leds/leds-bcm6328.c,
simplified to remove HW leds and blink fallbacks.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r-- | drivers/led/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 309372ab564..dc19f4fc408 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -9,6 +9,17 @@ config LED can provide access to board-specific LEDs. Use of the device tree for configuration is encouraged. +config LED_BCM6328 + bool "LED Support for BCM6328" + depends on LED && ARCH_BMIPS + help + This option enables support for LEDs connected to the BCM6328 + LED HW controller accessed via MMIO registers. + HW blinking is supported and up to 24 LEDs can be controlled. + All LEDs can blink at the same time but the delay is shared, which + means that if one LED is set to blink at 100ms and then a different + LED is set to blink at 200ms, both will blink at 200ms. + config LED_BLINK bool "Support LED blinking" depends on LED |