x86, olpc-xo1-sci: Add GPE handler and ebook switch functionality
authorDaniel Drake <dsd@laptop.org>
Sat, 25 Jun 2011 16:34:14 +0000 (17:34 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 6 Jul 2011 21:44:38 +0000 (14:44 -0700)
commit7bc74b3df73776fe06f3df9fafd2d2698e6ca28a
tree166bd6e0b0de947dd278acac03480eb359bff93e
parentbc4ecd5a5efc2435e6debfb7b279a15ae96697fd
x86, olpc-xo1-sci: Add GPE handler and ebook switch functionality

The EC in the OLPC XO-1 delivers GPE events to provide various
notifications. Add the basic code for GPE/EC event processing and
enable the ebook switch, which can be used as a wakeup source.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Link: http://lkml.kernel.org/r/1309019658-1712-8-git-send-email-dsd@laptop.org
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig
arch/x86/include/asm/olpc.h
arch/x86/platform/olpc/olpc-xo1-sci.c
include/linux/cs5535.h