Add new FLASH driver for lm3565 chip
Subsystems (2)
PATCH 2/2 Add new FLASH driver for lm3565 chip
This driver is a general version for LM3565 Flash Driver chip of TI.
LM3565 :
The LM3565 is a 4MHz fixed-frequency, current mode synchronous boost converter designed to drive two series flash LEDs at 930mA The LM3565 is controlled via an I2C-compatible interface. You can find more info at
http://www.ti.com/sitesearch/docs/universalsearch.tsp?searchTerm=lm3565&linkId=1
Signed-off-by Daniel Jeong <[email protected]>
--- drivers/media/i2c/Kconfig | 9 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/lm3565.c | 602 ++++++++++++++++++++++++++++++++++++++++++++ include/media/lm3565.h | 81 ++++++ 4 files changed, 693 insertions(+) create mode 100644 drivers/media/i2c/lm3565.c create mode 100644 include/media/lm3565.h
drivers/media/i2c/Kconfig +9 -0
@@ -598,6 +598,15 @@ config VIDEO_AS3645A This is a driver for the AS3645A and LM3555 flash controllers. It has build in control for flash, torch and indicator LEDs. +config VIDEO_LM3565 + tristate "LM3565 flash driver support" + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER + depends on MEDIA_CAMERA_SUPPORT + select REGMAP_I2C + ---help--- + This is a driver for the LM3565 flash controller. + It is 4MHz, High Current Flash LED Driver. + comment "Video improvement chips" config VIDEO_UPD64031A
drivers/media/i2c/Makefile +1 -0
@@ -68,6 +68,7 @@ obj-$(CONFIG_VIDEO_S5K4ECGX) += s5k4ecgx.o obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3/ obj-$(CONFIG_VIDEO_ADP1653) += adp1653.o obj-$(CONFIG_VIDEO_AS3645A) += as3645a.o +obj-$(CONFIG_VIDEO_LM3565) += lm3565.o obj-$(CONFIG_VIDEO_SMIAPP_PLL) += smiapp-pll.o obj-$(CONFIG_VIDEO_AK881X) += ak881x.o obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
drivers/media/i2c/lm3565.c new file +602 -0
602 lines not on this page · raw message
include/media/lm3565.h new file +81 -0
81 lines not on this page · raw message
Signature · 1 line
1.7.9.5