Skip to contentSkip to conversation

Backlight: DA9052 Backlight driver v2

PATCH In review ashishj3 2 participants 2 messages Jul 6, 2011

Subsystems (3)
lore
Share & tools
lore

ashishj3

author
#0 lore raw

PATCH 9/11 Backlight: DA9052 Backlight driver v2

DA9052 PMIC has capability to supply power for upto 3 banks of 6 white serial LEDS. It can also control intensity of independent banks and to drive these banks boost converter will provide up to 24V and forward current of max. 50mA.

This patch allows to control intensity of the individual WLEDs bank through DA9052 PMIC.

---
Changes since v2:
- Modify driver registrations to single.

---
 drivers/video/backlight/Kconfig     |    6 +
 drivers/video/backlight/Makefile    |    1 +
 drivers/video/backlight/da9052_bl.c |  205 +++++++++++++++++++++++++++++++++++
 3 files changed, 212 insertions(+), 0 deletions(-)
 create mode 100755 drivers/video/backlight/da9052_bl.c
drivers/video/backlight/Kconfig +6 -0
index 0c9373b..023963f 100644
@@ -237,6 +237,12 @@ config BACKLIGHT_DA903X
 	  If you have a LCD backlight connected to the WLED output of DA9030
 	  or DA9034 WLED output, say Y here to enable this driver.
 
+config BACKLIGHT_DA9052
+	tristate "Dialog DA9052 WLED"
+	depends on PMIC_DA9052
+	help
+	  Enable the DA9052 Backlight Driver
+
 config BACKLIGHT_MAX8925
 	tristate "Backlight driver for MAX8925"
 	depends on MFD_MAX8925
drivers/video/backlight/Makefile +1 -0
index b9ca849..5dd5ac6 100644
@@ -26,6 +26,7 @@ obj-$(CONFIG_BACKLIGHT_PROGEAR) += progear_bl.o
 obj-$(CONFIG_BACKLIGHT_CARILLO_RANCH) += cr_bllcd.o
 obj-$(CONFIG_BACKLIGHT_PWM)	+= pwm_bl.o
 obj-$(CONFIG_BACKLIGHT_DA903X)	+= da903x_bl.o
+obj-$(CONFIG_BACKLIGHT_DA9052)	+= da9052_bl.o
 obj-$(CONFIG_BACKLIGHT_MAX8925)	+= max8925_bl.o
 obj-$(CONFIG_BACKLIGHT_APPLE)	+= apple_bl.o
 obj-$(CONFIG_BACKLIGHT_TOSA)	+= tosa_bl.o
drivers/video/backlight/da9052_bl.c new file +205 -0

205 lines not on this page · raw message

Acked-by on v1 9/11
#1 lore raw
Quoted 11 lines · On Wednesday 06 July 2011, ashishj3 wrote:

DA9052 PMIC has capability to supply power for upto 3 banks of 6 white serial LEDS. It can also control intensity of independent banks and to drive these banks boost converter will provide up to 24V and forward current of max. 50mA.

This patch allows to control intensity of the individual WLEDs bank through DA9052 PMIC.