Skip to content

Commit 57a5329

Browse files
Dan Murphyjacek-anaszewski
authored andcommitted
leds: lm3601x: Introduce the lm3601x LED driver
Introduce the family of LED devices that can drive a torch, strobe or IR LED. The LED driver can be configured with a strobe timer to execute a strobe flash. The IR LED brightness is controlled via the torch brightness register. The data sheet for each the LM36010 and LM36011 LED drivers can be found here: http://www.ti.com/product/LM36010 http://www.ti.com/product/LM36011 Signed-off-by: Dan Murphy <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
1 parent 2f8270d commit 57a5329

File tree

3 files changed

+497
-0
lines changed

3 files changed

+497
-0
lines changed

drivers/leds/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,15 @@ config LEDS_LM3692X
158158
This option enables support for the TI LM3692x family
159159
of white LED string drivers used for backlighting.
160160

161+
config LEDS_LM3601X
162+
tristate "LED support for LM3601x Chips"
163+
depends on LEDS_CLASS && I2C
164+
depends on LEDS_CLASS_FLASH
165+
select REGMAP_I2C
166+
help
167+
This option enables support for the TI LM3601x family
168+
of flash, torch and indicator classes.
169+
161170
config LEDS_LOCOMO
162171
tristate "LED Support for Locomo device"
163172
depends on LEDS_CLASS

drivers/leds/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ obj-$(CONFIG_LEDS_NIC78BX) += leds-nic78bx.o
7777
obj-$(CONFIG_LEDS_MT6323) += leds-mt6323.o
7878
obj-$(CONFIG_LEDS_LM3692X) += leds-lm3692x.o
7979
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
80+
obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o
8081

8182
# LED SPI Drivers
8283
obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o

0 commit comments

Comments
 (0)