x86, olpc: Add XO-1 RTC driver
authorDaniel Drake <dsd@laptop.org>
Sat, 25 Jun 2011 16:34:17 +0000 (17:34 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 6 Jul 2011 21:44:42 +0000 (14:44 -0700)
commitcfee95977bea090ae5ec4fd442ebd381792d46c4
tree2c82666a095236524def83031ce47f4dd3387237
parente1040ac693bac19eaeafbd6c5fd24d9429b5eeb8
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>
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt [new file with mode: 0644]
arch/x86/Kconfig
arch/x86/platform/olpc/Makefile
arch/x86/platform/olpc/olpc-xo1-rtc.c [new file with mode: 0644]
include/linux/cs5535.h