Skip to contentSkip to conversation

backlight: new driver for the ADP8870 backlight devices

PATCH New Mike Frysinger 1 participant 1 message Oct 18, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backlight: new driver for the ADP8870 backlight devices

From: Michael Hennerich <[email protected]>

---
 drivers/video/backlight/Kconfig      |   12 +
 drivers/video/backlight/Makefile     |    1 +
 drivers/video/backlight/adp8870_bl.c |  915 ++++++++++++++++++++++++++++++++++
 include/linux/i2c/adp8870.h          |  153 ++++++
 4 files changed, 1081 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/backlight/adp8870_bl.c
 create mode 100644 include/linux/i2c/adp8870.h
drivers/video/backlight/Kconfig +12 -0
index e54a337..5818cd6 100644
@@ -294,6 +294,18 @@ config BACKLIGHT_ADP8860
 	  To compile this driver as a module, choose M here: the module will
 	  be called adp8860_bl.
 
+config BACKLIGHT_ADP8870
+	tristate "Backlight Driver for ADP8870 using WLED"
+	depends on BACKLIGHT_CLASS_DEVICE && I2C
+	select NEW_LEDS
+	select LEDS_CLASS
+	help
+	  If you have a LCD backlight connected to the ADP8870,
+	  say Y here to enable this driver.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called adp8870_bl.
+
 config BACKLIGHT_88PM860X
 	tristate "Backlight Driver for 88PM8606 using WLED"
 	depends on MFD_88PM860X
drivers/video/backlight/Makefile +1 -0
index 44c0f81..25aa643 100644
@@ -33,6 +33,7 @@ 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_ADP8870)	+= adp8870_bl.o
 obj-$(CONFIG_BACKLIGHT_88PM860X) += 88pm860x_bl.o
 obj-$(CONFIG_BACKLIGHT_PCF50633)	+= pcf50633-backlight.o
 
drivers/video/backlight/adp8870_bl.c new file +915 -0

915 lines not on this page · raw message

include/linux/i2c/adp8870.h new file +153 -0

153 lines not on this page · raw message

Signature · 1 line
1.7.3.1