summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/Kconfig
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2012-03-23 15:02:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 16:58:33 -0700
commit35c1682cc069fc1f677012d3170757135e246b39 (patch)
tree2860a50c2fb51559e46818f794b5b12cb1164bae /drivers/video/backlight/Kconfig
parentc8df7428635c02ca3051e39179c83297d8b76fba (diff)
downloadlinux-35c1682cc069fc1f677012d3170757135e246b39.tar.gz
linux-35c1682cc069fc1f677012d3170757135e246b39.tar.bz2
linux-35c1682cc069fc1f677012d3170757135e246b39.zip
backlight: add support for Pandora backlight
Add support for pandora (openpandora.org) backlight. It might look like all this could be done using pwm_bl.c instead, but there is a need of special programming sequence when turning on the LED driver chip or else it will misbehave. Doing this using pwm_bl.c would require to use some register programming and pwm functions from platform code, and ARM maintainers are allergic to driver-like code in /arch/arm nowadays. The PMIC PWM driver is currently missing too, so pwm_bl.c can't be used anyway. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/Kconfig')
-rw-r--r--drivers/video/backlight/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 248d6c0858dd..ed68fde54454 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -348,6 +348,13 @@ config BACKLIGHT_OT200
To compile this driver as a module, choose M here: the module will be
called ot200_bl.
+config BACKLIGHT_PANDORA
+ tristate "Backlight driver for Pandora console"
+ depends on TWL4030_CORE
+ help
+ If you have a Pandora console, say Y to enable the
+ backlight driver.
+
endif # BACKLIGHT_CLASS_DEVICE
endif # BACKLIGHT_LCD_SUPPORT