diff options
author | Daniel Drake <dsd@laptop.org> | 2011-06-25 12:34:12 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-06 17:44:34 -0400 |
commit | 7feda8e9f35ebb0e9f90e03acb02280bc137f784 (patch) | |
tree | 767086ef7e722df88eaac511f3dbab8a6e57d9d7 /arch/x86/Kconfig | |
parent | 97c4cb71c18fe045a763ff6681a8ebbbbbec0b2b (diff) |
x86, olpc: Add XO-1 SCI driver and power button control
The System Control Interrupt is used in the OLPC XO-1 to control various
features of the laptop. Add the driver base and the power button
functionality.
This driver can't be built as a module, because functionality added in
future patches means that some drivers need to know at boot-time whether
SCI-based functionality is available.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Link: http://lkml.kernel.org/r/1309019658-1712-6-git-send-email-dsd@laptop.org
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index f473151ac991..66b7b9d519d5 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2080,6 +2080,15 @@ config OLPC_XO1_PM | |||
2080 | ---help--- | 2080 | ---help--- |
2081 | Add support for poweroff and suspend of the OLPC XO-1 laptop. | 2081 | Add support for poweroff and suspend of the OLPC XO-1 laptop. |
2082 | 2082 | ||
2083 | config OLPC_XO1_SCI | ||
2084 | bool "OLPC XO-1 SCI extras" | ||
2085 | depends on OLPC && OLPC_XO1_PM | ||
2086 | select GPIO_CS5535 | ||
2087 | select MFD_CORE | ||
2088 | ---help--- | ||
2089 | Add support for SCI-based features of the OLPC XO-1 laptop: | ||
2090 | - Power button | ||
2091 | |||
2083 | endif # X86_32 | 2092 | endif # X86_32 |
2084 | 2093 | ||
2085 | config AMD_NB | 2094 | config AMD_NB |