]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
toshiba_acpi: Support new keyboard backlight type
authorAzael Avalos <coproscefalo@gmail.com>
Sat, 13 Sep 2014 00:50:36 +0000 (18:50 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 17 Sep 2014 20:55:52 +0000 (13:55 -0700)
commit93f8c16d635e6b1e3ea978e38e110391ce28b26f
tree033cb4f74ed000b218690ef6f17dbc82c636b47c
parentc8a41669a76381f655f5567d3ccd8449a53f9a7f
toshiba_acpi: Support new keyboard backlight type

Newer Toshiba models now come with a new (and different) keyboard
backlight implementation with three modes of operation: TIMER,
ON and OFF, and the LED is now controlled internally by the firmware.

This patch adds support for that type of backlight, changing the
existing code to accomodate the new implementation.

The timeout value range is now 1-60 seconds, and the accepted
modes are now: 1 (FN-Z), 2 (AUTO or TIMER), 8 (ON) and 10 (OFF),
this adds two new entries kbd_type and available_kbd_modes,
the first shows the keyboard type and the latter shows the
supported modes depending on the keyboard type.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c