ARM: OMAP Add RTC support to the (new style) Menelaus driver.
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 13 Jun 2007 14:16:29 +0000 (19:46 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 13 Jun 2007 13:25:47 +0000 (06:25 -0700)
This involved several bugfixes and cleanups to the IRQ handling logic.
Code for the second register bank never worked, and even clobbered
non-RTC registers; and the handler enabled IRQs for interrupts that
should have stayed masked...

Passes 'rtctest' on H4, other than lack of "periodic" (1/N second) IRQs.
System wakeup alarms (from suspend-to-RAM) work too.

The battery keeps the RTC active over power off, so once you set clock
(rdate/ntpdate/etc, then "hwclock -w") then RTC_HCTOSYS at boot time
will behave as expected.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found