Skip to contentSkip to conversation

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

LM3697 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 LM3697 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/lm3697_bl.c |  224 +++++++++++++++++++++++++++++++++++
 3 files changed, 234 insertions(+)
 create mode 100644 drivers/video/backlight/lm3697_bl.c
drivers/video/backlight/Kconfig +9 -0
index b169c8d..3c39b30 100644
@@ -419,6 +419,15 @@ config BACKLIGHT_LM3695
 	  Say Y to enable the backlight driver for TI LM3695.
 	  Up to 2 backlight strings and 11 bit dimming is supported.
 
+config BACKLIGHT_LM3697
+	tristate "Backlight driver for TI LM3697"
+	depends on BACKLIGHT_CLASS_DEVICE && MFD_TI_LMU
+	select TI_LMU_BACKLIGHT
+	help
+	  Say Y to enable the backlight driver for TI LM3697.
+	  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 5427162..16e6ad7 100644
@@ -43,6 +43,7 @@ obj-$(CONFIG_BACKLIGHT_LM3532)		+= lm3532_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3631)		+= lm3631_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3633)		+= lm3633_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3695)		+= lm3695_bl.o
+obj-$(CONFIG_BACKLIGHT_LM3697)		+= lm3697_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/lm3697_bl.c new file +224 -0

224 lines not on this page · raw message

Signature · 1 line
1.7.9.5