From 28300dc5263b26365d8210b92d8acf097dc5e942 Mon Sep 17 00:00:00 2001 From: Álvaro Fernández Rojas Date: Sun, 7 May 2017 20:10:24 +0200 Subject: dm: led: add BCM6328 led driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Simon Glass --- drivers/led/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'drivers/led/Kconfig') diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 309372ab56..dc19f4fc40 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 -- cgit