diff options
author | Paul Fox <pgf@laptop.org> | 2011-02-03 11:27:55 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-03-28 06:05:14 -0400 |
commit | 89ca11771a4b50ed616ab6c37e0ef333d02f1d47 (patch) | |
tree | a0cd71e287e22500abe7848d6e840e9034d3281c /drivers/platform/x86/Kconfig | |
parent | 18bcd0c8cb7d85a9063b88ec810dc1cdc0974518 (diff) |
OLPC XO-1.5 ebook switch driver
The OLPC XO-1.5 has an ebook switch, triggered when the laptop
screen is rotated then folding down, converting the device into ebook
form.
This switch is exposed through ACPI. Add a driver that exposes it
to userspace as an input device.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 222dfb737b11..2f6a37a1d2e6 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -672,4 +672,13 @@ config XO1_RFKILL | |||
672 | Support for enabling/disabling the WLAN interface on the OLPC XO-1 | 672 | Support for enabling/disabling the WLAN interface on the OLPC XO-1 |
673 | laptop. | 673 | laptop. |
674 | 674 | ||
675 | config XO15_EBOOK | ||
676 | tristate "OLPC XO-1.5 ebook switch" | ||
677 | depends on ACPI && INPUT | ||
678 | ---help--- | ||
679 | Support for the ebook switch on the OLPC XO-1.5 laptop. | ||
680 | |||
681 | This switch is triggered as the screen is rotated and folded down to | ||
682 | convert the device into ebook form. | ||
683 | |||
675 | endif # X86_PLATFORM_DEVICES | 684 | endif # X86_PLATFORM_DEVICES |