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

Andrew Lunn andrew at lunn.ch
Sun May 8 14:46:35 EDT 2011


> > ??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



More information about the linux-arm-kernel mailing list