diff options
author | Azael Avalos <coproscefalo@gmail.com> | 2014-03-25 20:38:31 -0600 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-04-06 12:58:13 -0400 |
commit | 360f0f39d0c58432574655008ec8dd15e52e1e8d (patch) | |
tree | 192136b245ce3b33d8f40abb87b41de9d03c9db4 /arch/arm/mach-dove | |
parent | fdb79081fec4a57e124b34f983aac566e210220f (diff) | |
download | linux-360f0f39d0c58432574655008ec8dd15e52e1e8d.tar.bz2 |
toshiba_acpi: Add keyboard backlight support
Toshiba laptops equiped with an illuminated keyboard
can operate in two different modes: Auto and FN-Z.
The Auto mode turns on the led on keystrokes and
automatically turns it off after some (configurable)
time the last key was pressed.
The FN-Z mode is used to toggle the keyboard led on/off
by userspace.
This patch adds support to set the desired KBD mode and
timeout via sysfs, creates and registers toshiba::kbd_backlight
led device whenever the mode is set to FN-Z.
The acceptable values for mode are: 1 (Auto) and 2 (Fn-Z)
The time values range are: 1-60 seconds
Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'arch/arm/mach-dove')
0 files changed, 0 insertions, 0 deletions