From: David Brownell Date: Wed, 13 Jun 2007 14:16:29 +0000 (+0530) Subject: ARM: OMAP Add RTC support to the (new style) Menelaus driver. X-Git-Tag: v2.6.22-omap1~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cec447a83475accfe72df6f68e4af95df41251b5;p=pandora-kernel.git ARM: OMAP Add RTC support to the (new style) Menelaus driver. 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed