mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 11:13:58 +08:00
e442378185
Add backlight intensity control to the LOCOMO lcd/backlight driver using the backlight class and add basic power management support. This is a reimplementation and improvement of patches by John Lenz and Pavel Machek Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Antonino Daplas <adaplas@pol.net> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
69 lines
1.9 KiB
Plaintext
69 lines
1.9 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_LOCOMO
|
|
tristate "Sharp LOCOMO LCD/Backlight Driver"
|
|
depends on BACKLIGHT_DEVICE && SHARP_LOCOMO
|
|
default y
|
|
help
|
|
If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
|
|
enable the LCD/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.
|
|
|