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>
Showing
- Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt 5 additions, 0 deletionsDocumentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt
- arch/x86/Kconfig 7 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/platform/olpc/Makefile 1 addition, 0 deletionsarch/x86/platform/olpc/Makefile
- arch/x86/platform/olpc/olpc-xo1-rtc.c 81 additions, 0 deletionsarch/x86/platform/olpc/olpc-xo1-rtc.c
- include/linux/cs5535.h 5 additions, 0 deletionsinclude/linux/cs5535.h
Loading
Please register or sign in to comment