Skip to content

Commit b7da8c5

Browse files
Ingi Kimcooloney
authored andcommitted
leds: Add ktd2692 flash LED driver
This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim <ingi2.kim@samsung.com> Acked-by: Seung-Woo Kim <sw0312.kim@samsung.com> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
1 parent 84b5def commit b7da8c5

3 files changed

Lines changed: 453 additions & 0 deletions

File tree

‎drivers/leds/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,15 @@ config LEDS_MENF21BMC
532532
This driver can also be built as a module. If so the module
533533
will be called leds-menf21bmc.
534534

535+
config LEDS_KTD2692
536+
tristate "LED support for KTD2692 flash LED controller"
537+
depends on LEDS_CLASS_FLASH && GPIOLIB && OF
538+
help
539+
This option enables support for KTD2692 LED flash connected
540+
through ExpressWire interface.
541+
542+
Say Y to enable this driver.
543+
535544
comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
536545

537546
config LEDS_BLINKM

‎drivers/leds/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
6363
obj-$(CONFIG_LEDS_VERSATILE) += leds-versatile.o
6464
obj-$(CONFIG_LEDS_MENF21BMC) += leds-menf21bmc.o
6565
obj-$(CONFIG_LEDS_PM8941_WLED) += leds-pm8941-wled.o
66+
obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o
6667

6768
# LED SPI Drivers
6869
obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o

0 commit comments

Comments
 (0)