diff options
author | Cezary Jackiewicz <cezary.jackiewicz@gmail.com> | 2008-06-09 19:22:22 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 17:27:01 -0400 |
commit | 5411552c707f4b7387ad63141ef3a559e7488091 (patch) | |
tree | 78b6fafe441413397ff33becd4bc144d461bc0a2 /drivers/misc/Kconfig | |
parent | 9f1eb99c757939b0b1783f926130993e9c298bae (diff) |
misc,acpi,backlight: compal Laptop Extras
This is driver for Compal Laptop: FL90/IFL90, based on MSI driver.
This driver exports a few files in /sys/devices/platform/compal-laptop/:
lcd_level - screen brightness: contains a single integer in the range 0..7 (rw)
wlan - wlan subsystem state: contains 0 or 1 (rw)
bluetooth - bluetooth subsystem state: contains 0 or 1 (rw)
raw - raw value taken from embedded controller register (ro)
In addition to these platform device attributes the driver registers itself
in the Linux backlight control subsystem and is available to userspace under
/sys/class/backlight/compal-laptop/.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Len Brown <lenb@kernel.org>
Cc: Alexey Starikovskiy <aystarik@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 636af2862308..7fce0da86548 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -219,6 +219,23 @@ config MSI_LAPTOP | |||
219 | 219 | ||
220 | If you have an MSI S270 laptop, say Y or M here. | 220 | If you have an MSI S270 laptop, say Y or M here. |
221 | 221 | ||
222 | config COMPAL_LAPTOP | ||
223 | tristate "Compal Laptop Extras" | ||
224 | depends on X86 | ||
225 | depends on ACPI_EC | ||
226 | depends on BACKLIGHT_CLASS_DEVICE | ||
227 | ---help--- | ||
228 | This is a driver for laptops built by Compal: | ||
229 | |||
230 | Compal FL90/IFL90 | ||
231 | Compal FL91/IFL91 | ||
232 | Compal FL92/JFL92 | ||
233 | Compal FT00/IFT00 | ||
234 | |||
235 | It adds support for Bluetooth, WLAN and LCD brightness control. | ||
236 | |||
237 | If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here. | ||
238 | |||
222 | config SONY_LAPTOP | 239 | config SONY_LAPTOP |
223 | tristate "Sony Laptop Extras" | 240 | tristate "Sony Laptop Extras" |
224 | depends on X86 && ACPI | 241 | depends on X86 && ACPI |