Skip to contentSkip to conversation

backlight: ti-lmu-backlight: Add LM3532 driver

PATCH In review Milo Kim 1 participant 1 message Feb 14, 2014

Subsystems (2)
lore
Share & tools
lore

Milo Kim

author
#0 lore raw

PATCH 3/10 backlight: ti-lmu-backlight: Add LM3532 driver

LM3532 has 3 backlight strings and 8 bit dimming is supported. PWM brightness control is also supported.

Common backlight driver is controlled by TI LMU backlight driver. Only LM3532 specific code is implemented here.

Cc Jingoo Han <[email protected]>
Cc Bryan Wu <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/video/backlight/Kconfig     |    9 ++
 drivers/video/backlight/Makefile    |    1 +
 drivers/video/backlight/lm3532_bl.c |  240 +++++++++++++++++++++++++++++++++++
 3 files changed, 250 insertions(+)
 create mode 100644 drivers/video/backlight/lm3532_bl.c
drivers/video/backlight/Kconfig +9 -0
index 3641698..d841057 100644
@@ -384,6 +384,15 @@ config BACKLIGHT_LM3639
 	help
 	  This supports TI LM3639 Backlight + 1.5A Flash LED Driver
 
+config BACKLIGHT_LM3532
+	tristate "Backlight driver for TI LM3532"
+	depends on BACKLIGHT_CLASS_DEVICE && MFD_TI_LMU
+	select TI_LMU_BACKLIGHT
+	help
+	  Say Y to enable the backlight driver for TI LM3532.
+	  Up to 3 backlight strings and 8 bit dimming is supported.
+	  PWM brightness control is also supported.
+
 config TI_LMU_BACKLIGHT
 	tristate "Backlight driver for TI LMU"
 	depends on BACKLIGHT_LM3532 || BACKLIGHT_LM3631 || BACKLIGHT_LM3633 || BACKLIGHT_LM3695 || BACKLIGHT_LM3697
drivers/video/backlight/Makefile +1 -0
index f80e046..51354d1 100644
@@ -39,6 +39,7 @@ obj-$(CONFIG_BACKLIGHT_HP700)		+= jornada720_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3533)		+= lm3533_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3630A)		+= lm3630a_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3639)		+= lm3639_bl.o
+obj-$(CONFIG_BACKLIGHT_LM3532)		+= lm3532_bl.o
 obj-$(CONFIG_TI_LMU_BACKLIGHT)		+= ti-lmu-backlight.o
 obj-$(CONFIG_BACKLIGHT_LOCOMO)		+= locomolcd.o
 obj-$(CONFIG_BACKLIGHT_LP855X)		+= lp855x_bl.o
drivers/video/backlight/lm3532_bl.c new file +240 -0

240 lines not on this page · raw message

Signature · 1 line
1.7.9.5