upstream: [media] media: i2c: add driver for dual LED Flash, lm3560
authorDaniel Jeong <gshark.jeong@gmail.com>
Wed, 16 Oct 2013 07:12:19 +0000 (04:12 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:43 +0000 (11:58 +0900)
commit918f2dcdddbc67b02018dc0c38ac85f566a607e7
treea806cf5edec538357f39103720c27aed00dc43c9
parent58e9bee70cafbf76bcdef24c659ae3b2745415de
upstream: [media] media: i2c: add driver for dual LED Flash, lm3560

Adds the driver for the LM3560, dual LED Flash The LM3560 has two 1A
constant current driver for high current white LEDs.

It is controlled via an I2C compatible interface(up to 400kHz).

Each flash brightness, torch  brightness and enable/disable can be
controlled independantly, but flash timeout and operation mode are shared.

Signed-off-by: Daniel Jeong <gshark.jeong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/lm3560.c [new file with mode: 0644]
include/media/lm3560.h [new file with mode: 0644]