backlight: OMAP1 backlight driver
Subsystems (2)
PATCH 1/1 backlight: OMAP1 backlight driver
This adds the OMAP1 PWL-based LCD backlight driver. It's been in the OMAP tree for some time. Note that OMAP2 can do similar things with the generic timers which have PWM outputs. Such timers are more generic than the PWL found on OMAP1 chips, but have a different EMI profile because they aren't driven by a pseudorandom number generator.
Signed-off-by David Brownell <[email protected]>
Signed-off-by Andrzej Zaborowski <[email protected]>
---
drivers/video/backlight/Kconfig | 9 + drivers/video/backlight/Makefile | 1 drivers/video/backlight/omap1_bl.c | 218 +++++++++++++++++++++++++++++++++++++ 3 files changed, 228 insertions(+)
drivers/video/backlight/Kconfig +9 -0
@@ -67,6 +67,15 @@ config BACKLIGHT_LOCOMO If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to enable the LCD/backlight driver. +config BACKLIGHT_OMAP1 + tristate "OMAP1 PWL-based LCD Backlight" + depends on BACKLIGHT_CLASS_DEVICE && ARCH_OMAP1 + default y + help + This driver controls the LCD backlight level and power for + the PWL module of OMAP1 processors. Say Y if your board + uses this hardware. + config BACKLIGHT_HP680 tristate "HP Jornada 680 Backlight Driver" depends on BACKLIGHT_CLASS_DEVICE && SH_HP6XX
drivers/video/backlight/Makefile +1 -0
@@ -7,5 +7,6 @@ obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += obj-$(CONFIG_BACKLIGHT_CORGI) += corgi_bl.o obj-$(CONFIG_BACKLIGHT_HP680) += hp680_bl.o obj-$(CONFIG_BACKLIGHT_LOCOMO) += locomolcd.o +obj-$(CONFIG_BACKLIGHT_OMAP1) += omap1_bl.o obj-$(CONFIG_BACKLIGHT_PROGEAR) += progear_bl.o obj-$(CONFIG_BACKLIGHT_CARILLO_RANCH) += cr_bllcd.o
drivers/video/backlight/omap1_bl.c new file +218 -0
218 lines not on this page · raw message