Skip to contentSkip to conversation

backlight: new driver for ADP8860/70 backlight devices

PATCH Superseded Mike Frysinger 1 participant 2 messages Dec 22, 2009

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

PATCH 1/1 backlight: new driver for ADP8860/70 backlight devices

From: Michael Hennerich <[email protected]>

---
 drivers/video/backlight/Kconfig      |   11 +
 drivers/video/backlight/Makefile     |    1 +
 drivers/video/backlight/adp8870_bl.c |  917 ++++++++++++++++++++++++++++++++++
 include/linux/i2c/adp8870.h          |  154 ++++++
 4 files changed, 1083 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/backlight/adp8870_bl.c
 create mode 100644 include/linux/i2c/adp8870.h
drivers/video/backlight/Kconfig +11 -0
index 09bfa96..261fa7c 100644
@@ -262,3 +262,14 @@ config BACKLIGHT_ADP5520
 	  To compile this driver as a module, choose M here: the module will
 	  be called adp5520_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.
drivers/video/backlight/Makefile +1 -0
index 9a40554..60ac452 100644
@@ -28,4 +28,5 @@ 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_ADP8870)	+= adp8870_bl.o
 
drivers/video/backlight/adp8870_bl.c new file +917 -0

917 lines not on this page · raw message

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

154 lines not on this page · raw message

Signature · 1 line
1.6.5.4
#1 lore raw

PATCH v2 1/1 backlight: new driver for ADP8860/70 backlight devices

From: Michael Hennerich <[email protected]>

---
sorry, i had a bunch of cleanup fixes locally but forgot to squash them first

 drivers/video/backlight/Kconfig      |   11 +
 drivers/video/backlight/Makefile     |    1 +
 drivers/video/backlight/adp8870_bl.c |  915 ++++++++++++++++++++++++++++++++++
 include/linux/i2c/adp8870.h          |  154 ++++++
 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 +11 -0
index 09bfa96..261fa7c 100644
@@ -262,3 +262,14 @@ config BACKLIGHT_ADP5520
 	  To compile this driver as a module, choose M here: the module will
 	  be called adp5520_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.
drivers/video/backlight/Makefile +1 -0
index 9a40554..60ac452 100644
@@ -28,4 +28,5 @@ 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_ADP8870)	+= adp8870_bl.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 +154 -0

154 lines not on this page · raw message

Signature · 1 line
1.6.5.4