backlight: new driver for the ADP8860 backlight parts
Subsystems (3)
PATCH 1/1 backlight: new driver for the ADP8860 backlight parts
From: Michael Hennerich <[email protected]>
The ADP8860 combines a programmable backlight LED charge pump driver with automatic phototransistor control.
Signed-off-by Michael Hennerich <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
--- drivers/video/backlight/Kconfig | 12 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/adp8860_bl.c | 809 ++++++++++++++++++++++++++++++++++ include/linux/i2c/adp8860.h | 137 ++++++ 4 files changed, 959 insertions(+), 0 deletions(-) create mode 100644 drivers/video/backlight/adp8860_bl.c create mode 100644 include/linux/i2c/adp8860.h
drivers/video/backlight/Kconfig +12 -0
@@ -269,6 +269,18 @@ config BACKLIGHT_ADP5520 To compile this driver as a module, choose M here: the module will be called adp5520_bl. +config BACKLIGHT_ADP8860 + tristate "Backlight Driver for ADP8860 using WLED" + depends on BACKLIGHT_CLASS_DEVICE && I2C + select NEW_LEDS + select LEDS_CLASS + help + If you have a LCD backlight connected to the ADP8860, + say Y here to enable this driver. + + To compile this driver as a module, choose M here: the module will + be called adp8860_bl. + config BACKLIGHT_88PM860X tristate "Backlight Driver for 88PM8606 using WLED" depends on BACKLIGHT_CLASS_DEVICE && MFD_88PM860X
drivers/video/backlight/Makefile +1 -0
@@ -29,5 +29,6 @@ obj-$(CONFIG_BACKLIGHT_SAHARA) += kb3886_bl.o obj-$(CONFIG_BACKLIGHT_WM831X) += wm831x_bl.o obj-$(CONFIG_BACKLIGHT_ADX) += adx_bl.o obj-$(CONFIG_BACKLIGHT_ADP5520) += adp5520_bl.o +obj-$(CONFIG_BACKLIGHT_ADP8860) += adp8860_bl.o obj-$(CONFIG_BACKLIGHT_88PM860X) += 88pm860x_bl.o
drivers/video/backlight/adp8860_bl.c new file +809 -0
809 lines not on this page · raw message
include/linux/i2c/adp8860.h new file +137 -0
137 lines not on this page · raw message
Signature · 1 line
1.7.0.2
Quoted 4 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
The ADP8860 combines a programmable backlight LED charge pump driver with automatic phototransistor control.
could you pick this up Andrew ?
-mike