OLPC XO-1.5 ebook switch driver
authorPaul Fox <pgf@laptop.org>
Thu, 3 Feb 2011 16:27:55 +0000 (16:27 +0000)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:14 +0000 (06:05 -0400)
commit89ca11771a4b50ed616ab6c37e0ef333d02f1d47
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]