Skip to contentSkip to conversation

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

LM3695 has 2 backlight strings and 11 bit dimming is supported.

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

Cc Jingoo Han <[email protected]>
Cc Bryan Wu <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/video/backlight/Kconfig     |    8 ++
 drivers/video/backlight/Makefile    |    1 +
 drivers/video/backlight/lm3695_bl.c |  143 +++++++++++++++++++++++++++++++++++
 3 files changed, 152 insertions(+)
 create mode 100644 drivers/video/backlight/lm3695_bl.c
drivers/video/backlight/Kconfig +8 -0
index aa012a3..b169c8d 100644
@@ -411,6 +411,14 @@ config BACKLIGHT_LM3633
 	  Up to 3 backlight strings and 11 bit dimming is supported.
 	  PWM brightness control is also supported.
 
+config BACKLIGHT_LM3695
+	tristate "Backlight driver for TI LM3695"
+	depends on BACKLIGHT_CLASS_DEVICE && MFD_TI_LMU
+	select TI_LMU_BACKLIGHT
+	help
+	  Say Y to enable the backlight driver for TI LM3695.
+	  Up to 2 backlight strings and 11 bit dimming is 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 842a256..5427162 100644
@@ -42,6 +42,7 @@ 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_BACKLIGHT_LM3695)		+= lm3695_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/lm3695_bl.c new file +143 -0

143 lines not on this page · raw message

Signature · 1 line
1.7.9.5