forked from Minki/linux
2c0f5fb08e
Generalise the Corgi backlight driver by moving the default intensity and limit mask settings into the platform specific data structure. This enables the driver to support other Zaurus hardware, specifically the SL-6000x (Tosa) model. Also change the spinlock to a mutex (the spinlock is overkill). Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
#
|
|
# Backlight & LCD drivers configuration
|
|
#
|
|
|
|
menuconfig BACKLIGHT_LCD_SUPPORT
|
|
bool "Backlight & LCD device support"
|
|
help
|
|
Enable this to be able to choose the drivers for controlling the
|
|
backlight and the LCD panel on some platforms, for example on PDAs.
|
|
|
|
config BACKLIGHT_CLASS_DEVICE
|
|
tristate "Lowlevel Backlight controls"
|
|
depends on BACKLIGHT_LCD_SUPPORT
|
|
default m
|
|
help
|
|
This framework adds support for low-level control of the LCD
|
|
backlight. This includes support for brightness and power.
|
|
|
|
To have support for your specific LCD panel you will have to
|
|
select the proper drivers which depend on this option.
|
|
|
|
config BACKLIGHT_DEVICE
|
|
bool
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
|
default y
|
|
|
|
config LCD_CLASS_DEVICE
|
|
tristate "Lowlevel LCD controls"
|
|
depends on BACKLIGHT_LCD_SUPPORT
|
|
default m
|
|
help
|
|
This framework adds support for low-level control of LCD.
|
|
Some framebuffer devices connect to platform-specific LCD modules
|
|
in order to have a platform-specific way to control the flat panel
|
|
(contrast and applying power to the LCD (not to the backlight!)).
|
|
|
|
To have support for your specific LCD panel you will have to
|
|
select the proper drivers which depend on this option.
|
|
|
|
config LCD_DEVICE
|
|
bool
|
|
depends on LCD_CLASS_DEVICE
|
|
default y
|
|
|
|
config BACKLIGHT_CORGI
|
|
tristate "Sharp Corgi Backlight Driver (SL Series)"
|
|
depends on BACKLIGHT_DEVICE && PXA_SHARPSL
|
|
default y
|
|
help
|
|
If you have a Sharp Zaurus SL-C7xx, SL-Cxx00 or SL-6000x say y to enable the
|
|
backlight driver.
|
|
|
|
config BACKLIGHT_HP680
|
|
tristate "HP Jornada 680 Backlight Driver"
|
|
depends on BACKLIGHT_DEVICE && SH_HP6XX
|
|
default y
|
|
help
|
|
If you have a HP Jornada 680, say y to enable the
|
|
backlight driver.
|
|
|