OLPC XO-1.5 ebook switch driver
commit89ca11771a4b50ed616ab6c37e0ef333d02f1d47
authorPaul Fox <pgf@laptop.org>
Thu, 3 Feb 2011 16:27:55 +0000 (3 16:27 +0000)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:14 +0000 (28 06:05 -0400)
treea0cd71e287e22500abe7848d6e840e9034d3281c
parent18bcd0c8cb7d85a9063b88ec810dc1cdc0974518
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>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/xo15-ebook.c [new file with mode: 0644]