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>
Showing
- arch/x86/Kconfig 2 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/olpc.h 3 additions, 2 deletionsarch/x86/include/asm/olpc.h
- arch/x86/platform/olpc/olpc-xo1-sci.c 182 additions, 1 deletionarch/x86/platform/olpc/olpc-xo1-sci.c
- include/linux/cs5535.h 22 additions, 0 deletionsinclude/linux/cs5535.h
Loading
Please register or sign in to comment