upstream: [media] lm3646: add new dual LED Flash driver
authorDaniel Jeong <gshark.jeong@gmail.com>
Mon, 3 Mar 2014 09:52:10 +0000 (06:52 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:46 +0000 (11:58 +0900)
commit04bf40215d1fc62bfe52bf388cd5a55101b63771
tree5f59f291b717951559ab74f73df47585e8f4a903
parent225f9795bfa236c7aa03228eee69b7695bfa653e
upstream: [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 <gshark.jeong@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/lm3646.c [new file with mode: 0644]
include/media/lm3646.h [new file with mode: 0644]