[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 31 Oct 2013 08:36:39 +0000 (06:36 -0200)
commit7f6b11a18c30743a7099d6e3110e45bd1b2cf54c
treee281e6953f4483995094d719537c9948bff05387
parent8fdd33b1bcf32ed9cf21aa9e4a66fa68c6beaa1b
[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]