aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-06-25 12:34:17 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-06 17:44:42 -0400
commitcfee95977bea090ae5ec4fd442ebd381792d46c4 (patch)
tree2c82666a095236524def83031ce47f4dd3387237 /arch/x86/Kconfig
parente1040ac693bac19eaeafbd6c5fd24d9429b5eeb8 (diff)
x86, olpc: Add XO-1 RTC driver
Add a driver to configure the XO-1 RTC via CS5536 MSRs, to be used as a system wakeup source via olpc-xo1-pm. Device detection is based on finding the relevant device tree node. Signed-off-by: Daniel Drake <dsd@laptop.org> Link: http://lkml.kernel.org/r/1309019658-1712-11-git-send-email-dsd@laptop.org Acked-by: Andres Salomon <dilinger@queued.net> Acked-by: Grant Likely <grant.likely@secretlab.ca> Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a6aefbbc5cbf..0a9d573a2f9d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2080,6 +2080,13 @@ 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
2083config OLPC_XO1_RTC
2084 bool "OLPC XO-1 Real Time Clock"
2085 depends on OLPC_XO1_PM && RTC_DRV_CMOS
2086 ---help---
2087 Add support for the XO-1 real time clock, which can be used as a
2088 programmable wakeup source.
2089
2083config OLPC_XO1_SCI 2090config OLPC_XO1_SCI
2084 bool "OLPC XO-1 SCI extras" 2091 bool "OLPC XO-1 SCI extras"
2085 depends on OLPC && OLPC_XO1_PM && POWER_SUPPLY 2092 depends on OLPC && OLPC_XO1_PM && POWER_SUPPLY