Thread (25 messages) 25 messages, 2 authors, 2011-05-12
STALE5618d

[PATCH 03/14] [orion] Consolidate the creation of the RTC platform data.

From: andrew@lunn.ch (Andrew Lunn)
Date: 2011-05-08 18:46:35

quoted
??static void __init kirkwood_rtc_init(void)
??{
- ?? ?? ?? platform_device_register_simple("rtc-mv", -1, &kirkwood_rtc_resource, 1);
+ ?? ?? ?? orion_rtc_init(RTC_PHYS_BASE, IRQ_KIRKWOOD_RTC);
the rtc-mv.c driver enables the alarm support when IRQ resource is
provided. so this patch actually adds support for rtc alarm, does the
alarm works for you?
I ran the test code in Documentation/rtc.txt. The alarm interrupt does
work.
so I suggest to split it to two patches, one consolidates the rtc, and
the second adds alarm support for KW.
O.K. Will do.

Thanks
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help