Skip to contentSkip to conversation

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

LM3633 has 3 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 LM3633 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/lm3633_bl.c |  244 +++++++++++++++++++++++++++++++++++
 3 files changed, 254 insertions(+)
 create mode 100644 drivers/video/backlight/lm3633_bl.c
drivers/video/backlight/Kconfig +9 -0
index a43a015..aa012a3 100644
@@ -402,6 +402,15 @@ config BACKLIGHT_LM3631
 	  Up to 2 backlight strings and 11 bit dimming is supported.
 	  PWM brightness control is also supported.
 
+config BACKLIGHT_LM3633
+	tristate "Backlight driver for TI LM3633"
+	depends on BACKLIGHT_CLASS_DEVICE && MFD_TI_LMU
+	select TI_LMU_BACKLIGHT
+	help
+	  Say Y to enable the backlight driver for TI LM3633.
+	  Up to 3 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 2a17f8b..842a256 100644
@@ -41,6 +41,7 @@ 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_BACKLIGHT_LM3633)		+= lm3633_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/lm3633_bl.c new file +244 -0

244 lines not on this page · raw message

Signature · 1 line
1.7.9.5