Skip to contentSkip to conversation

backlight: ti-lmu-backlight: Add LM3631 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 4/10 backlight: ti-lmu-backlight: Add LM3631 driver

LM3631 has 2 backlight strings and 11 bit dimming is supported. PWM brightness control is also supported.

Common backlight driver is controlled by TI LMU backlight driver. Only LM3631 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/lm3631_bl.c |  186 +++++++++++++++++++++++++++++++++++
 3 files changed, 196 insertions(+)
 create mode 100644 drivers/video/backlight/lm3631_bl.c
drivers/video/backlight/Kconfig +9 -0
index d841057..a43a015 100644
@@ -393,6 +393,15 @@ config BACKLIGHT_LM3532
 	  Up to 3 backlight strings and 8 bit dimming is supported.
 	  PWM brightness control is also supported.
 
+config BACKLIGHT_LM3631
+	tristate "Backlight driver for TI LM3631"
+	depends on BACKLIGHT_CLASS_DEVICE && MFD_TI_LMU
+	select TI_LMU_BACKLIGHT
+	help
+	  Say Y to enable the backlight driver for TI LM3631.
+	  Up to 2 backlight strings and 11 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 51354d1..2a17f8b 100644
@@ -40,6 +40,7 @@ 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_BACKLIGHT_LM3631)		+= lm3631_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/lm3631_bl.c new file +186 -0

186 lines not on this page · raw message

Signature · 1 line
1.7.9.5