7be35c72e6
Nvidia-based Apple Macbook Pros don't appear to handle backlight control through the graphics card registers or ACPI, but instead trigger changes via SMI calls. This driver registers a generic backlight device that lets existing userspace deal with it. Code derived from Julien Blache's Pommed application. Signed-off-by: Julien Blache <jb@jblache.org> Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
130 lines
4 KiB
Text
130 lines
4 KiB
Text
#
|
|
# 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.
|
|
|
|
#
|
|
# LCD
|
|
#
|
|
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_LTV350QV
|
|
tristate "Samsung LTV350QV LCD Panel"
|
|
depends on LCD_CLASS_DEVICE && SPI_MASTER
|
|
default n
|
|
help
|
|
If you have a Samsung LTV350QV LCD panel, say y to include a
|
|
power control driver for it. The panel starts up in power
|
|
off state, so you need this driver in order to see any
|
|
output.
|
|
|
|
The LTV350QV panel is present on all ATSTK1000 boards.
|
|
|
|
#
|
|
# Backlight
|
|
#
|
|
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_ATMEL_LCDC
|
|
bool "Atmel LCDC Contrast-as-Backlight control"
|
|
depends on BACKLIGHT_CLASS_DEVICE && FB_ATMEL
|
|
default y if MACH_SAM9261EK || MACH_SAM9263EK
|
|
help
|
|
This provides a backlight control internal to the Atmel LCDC
|
|
driver. If the LCD "contrast control" on your board is wired
|
|
so it controls the backlight brightness, select this option to
|
|
export this as a PWM-based backlight control.
|
|
|
|
If in doubt, it's safe to enable this option; it doesn't kick
|
|
in unless the board's description says it's wired that way.
|
|
|
|
config BACKLIGHT_CORGI
|
|
tristate "Generic (aka Sharp Corgi) Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
|
default n
|
|
help
|
|
Say y to enable the generic platform backlight driver previously
|
|
known as the Corgi backlight driver. If you have a Sharp Zaurus
|
|
SL-C7xx, SL-Cxx00 or SL-6000x say y. Most users can say n.
|
|
|
|
config BACKLIGHT_LOCOMO
|
|
tristate "Sharp LOCOMO LCD/Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_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_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
|
|
default y
|
|
help
|
|
If you have a HP Jornada 680, say y to enable the
|
|
backlight driver.
|
|
|
|
config BACKLIGHT_PROGEAR
|
|
tristate "Frontpath ProGear Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_DEVICE && PCI && X86
|
|
default n
|
|
help
|
|
If you have a Frontpath ProGear say Y to enable the
|
|
backlight driver.
|
|
|
|
config BACKLIGHT_CARILLO_RANCH
|
|
tristate "Intel Carillo Ranch Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_DEVICE && LCD_CLASS_DEVICE && PCI && X86 && FB_LE80578
|
|
default n
|
|
help
|
|
If you have a Intel LE80578 (Carillo Ranch) say Y to enable the
|
|
backlight driver.
|
|
|
|
config BACKLIGHT_PWM
|
|
tristate "Generic PWM based Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_DEVICE && HAVE_PWM
|
|
help
|
|
If you have a LCD backlight adjustable by PWM, say Y to enable
|
|
this driver.
|
|
|
|
config BACKLIGHT_MBP_NVIDIA
|
|
tristate "MacBook Pro Nvidia Backlight Driver"
|
|
depends on BACKLIGHT_CLASS_DEVICE && X86
|
|
default n
|
|
help
|
|
If you have an Apple Macbook Pro with Nvidia graphics hardware say Y
|
|
to enable a driver for its backlight
|
|
|