aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-06-25 12:34:16 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-06 17:44:40 -0400
commite1040ac693bac19eaeafbd6c5fd24d9429b5eeb8 (patch)
treefad8ac00517137d31674f6999a8d662ef4af19d5 /arch/x86/Kconfig
parent2cf2baea103f0a3d68b0f989d28df66f16dbc834 (diff)
x86, olpc-xo1-sci: Propagate power supply/battery events
EC events indicate change in AC power connectivity, battery state of charge, battery error, battery presence, etc. Send notifications to the power supply subsystem when changes are detected. Signed-off-by: Daniel Drake <dsd@laptop.org> Link: http://lkml.kernel.org/r/1309019658-1712-10-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/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 350ccbb4d650..a6aefbbc5cbf 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2082,7 +2082,7 @@ config OLPC_XO1_PM
2082 2082
2083config OLPC_XO1_SCI 2083config OLPC_XO1_SCI
2084 bool "OLPC XO-1 SCI extras" 2084 bool "OLPC XO-1 SCI extras"
2085 depends on OLPC && OLPC_XO1_PM 2085 depends on OLPC && OLPC_XO1_PM && POWER_SUPPLY
2086 select GPIO_CS5535 2086 select GPIO_CS5535
2087 select MFD_CORE 2087 select MFD_CORE
2088 ---help--- 2088 ---help---
@@ -2091,6 +2091,8 @@ config OLPC_XO1_SCI
2091 - Power button 2091 - Power button
2092 - Ebook switch 2092 - Ebook switch
2093 - Lid switch 2093 - Lid switch
2094 - AC adapter status updates
2095 - Battery status updates
2094 2096
2095endif # X86_32 2097endif # X86_32
2096 2098