Skip to content

Commit dc76df5

Browse files
geon-jeongmchehab
authored andcommitted
[media] lm3646: add new dual LED Flash driver
This patch adds the driver for the LM3646, dual LED Flash driver. The LM3646 has two 1.5A sync. boost converter with dual white current source. It is controlled via an I2C compatible interface. Each flash brightness, torch brightness and enable/disable can be controlled. Under voltage, input voltage monitor and thermal threshhold Faults are added. Please refer the datasheet http://www.ti.com/lit/ds/snvs962/snvs962.pdf Signed-off-by: Daniel Jeong <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 935aa6b commit dc76df5

File tree

4 files changed

+511
-0
lines changed

4 files changed

+511
-0
lines changed

drivers/media/i2c/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,15 @@ config VIDEO_LM3560
629629
This is a driver for the lm3560 dual flash controllers. It controls
630630
flash, torch LEDs.
631631

632+
config VIDEO_LM3646
633+
tristate "LM3646 dual flash driver support"
634+
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
635+
depends on MEDIA_CAMERA_SUPPORT
636+
select REGMAP_I2C
637+
---help---
638+
This is a driver for the lm3646 dual flash controllers. It controls
639+
flash, torch LEDs.
640+
632641
comment "Video improvement chips"
633642

634643
config VIDEO_UPD64031A

drivers/media/i2c/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3/
7272
obj-$(CONFIG_VIDEO_ADP1653) += adp1653.o
7373
obj-$(CONFIG_VIDEO_AS3645A) += as3645a.o
7474
obj-$(CONFIG_VIDEO_LM3560) += lm3560.o
75+
obj-$(CONFIG_VIDEO_LM3646) += lm3646.o
7576
obj-$(CONFIG_VIDEO_SMIAPP_PLL) += smiapp-pll.o
7677
obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
7778
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o

0 commit comments

Comments
 (0)