summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/Kconfig
diff options
context:
space:
mode:
authorPaul Fox <pgf@laptop.org>2011-02-03 16:27:55 +0000
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:05:14 -0400
commit89ca11771a4b50ed616ab6c37e0ef333d02f1d47 (patch)
treea0cd71e287e22500abe7848d6e840e9034d3281c /drivers/platform/x86/Kconfig
parent18bcd0c8cb7d85a9063b88ec810dc1cdc0974518 (diff)
downloadop-kernel-dev-89ca11771a4b50ed616ab6c37e0ef333d02f1d47.zip
op-kernel-dev-89ca11771a4b50ed616ab6c37e0ef333d02f1d47.tar.gz
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/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 222dfb7..2f6a37a 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -672,4 +672,13 @@ config XO1_RFKILL
Support for enabling/disabling the WLAN interface on the OLPC XO-1
laptop.
+config XO15_EBOOK
+ tristate "OLPC XO-1.5 ebook switch"
+ depends on ACPI && INPUT
+ ---help---
+ Support for the ebook switch on the OLPC XO-1.5 laptop.
+
+ This switch is triggered as the screen is rotated and folded down to
+ convert the device into ebook form.
+
endif # X86_PLATFORM_DEVICES
OpenPOWER on IntegriCloud