Skip to content

Commit 0c2a665

Browse files
geon-jeongtorvalds
authored andcommitted
backlight: add Backlight driver for lm3630 chip
This driver is a general version for LM3630 backlgiht driver chip of TI. LM3630 : The LM3630 is a current mode boost converter which supplies the power and controls the current in two strings of up to 10 LEDs per string. Programming is done over an I2C compatible interface. www.ti.com [akpm@linux-foundation.org: make bled_name[] static, a few coding style tuneups, create new set_intensity(), partly to avoid awkward layout gymnastics] Signed-off-by: G.Shark Jeong <gshark.jeong@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Daniel Jeong <daniel.jeong@ti.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6275ce9 commit 0c2a665

4 files changed

Lines changed: 540 additions & 0 deletions

File tree

drivers/video/backlight/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,13 @@ config BACKLIGHT_AAT2870
352352
If you have a AnalogicTech AAT2870 say Y to enable the
353353
backlight driver.
354354

355+
config BACKLIGHT_LM3630
356+
tristate "Backlight Driver for LM3630"
357+
depends on BACKLIGHT_CLASS_DEVICE && I2C
358+
select REGMAP_I2C
359+
help
360+
This supports TI LM3630 Backlight Driver
361+
355362
config BACKLIGHT_LP855X
356363
tristate "Backlight driver for TI LP855X"
357364
depends on BACKLIGHT_CLASS_DEVICE && I2C

drivers/video/backlight/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_BACKLIGHT_HP700) += jornada720_bl.o
2323
obj-$(CONFIG_BACKLIGHT_HP680) += hp680_bl.o
2424
obj-$(CONFIG_BACKLIGHT_LM3533) += lm3533_bl.o
2525
obj-$(CONFIG_BACKLIGHT_LOCOMO) += locomolcd.o
26+
obj-$(CONFIG_BACKLIGHT_LM3630) += lm3630_bl.o
2627
obj-$(CONFIG_BACKLIGHT_LP855X) += lp855x_bl.o
2728
obj-$(CONFIG_BACKLIGHT_OMAP1) += omap1_bl.o
2829
obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o

0 commit comments

Comments
 (0)