[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 13:00:26 +0000 (10:00 -0300)
commitdc76df5d48ba4e8b219269b890bb3043b05a8700
tree126797c4135b57e832db940ae77e9168a908d6f0
parent935aa6b2e8a911e81baecec0537dd7e478dc8c91
[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]