diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-12-15 19:46:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 10:20:00 -0500 |
commit | 8cfde8c1df31724f881de1a37f878ccbba4f178f (patch) | |
tree | d5317c59d3fabac6c77812e56b9f29e275aea46a /drivers/rtc/Kconfig | |
parent | 43299f285937c907abcdd987c670c755194943cc (diff) |
rtc: make rtc-omap driver ioremap its register space
The rtc-omap driver currently assumes that the rtc's registers are at a
fixed address and already mapped into virtual memory space. Remove those
assumptions so the same driver can be used for similar devices that reside
at different physical addresses (e.g., TI's DA8xx/OMAP-L13x SoC's).
Also allow the possibility for the timer and alarm interrupts to use the
same IRQ.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 564f3d173b19..9930d79fa51f 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -597,10 +597,11 @@ comment "on-CPU RTC drivers" | |||
597 | 597 | ||
598 | config RTC_DRV_OMAP | 598 | config RTC_DRV_OMAP |
599 | tristate "TI OMAP1" | 599 | tristate "TI OMAP1" |
600 | depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 | 600 | depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX |
601 | help | 601 | help |
602 | Say "yes" here to support the real time clock on TI OMAP1 chips. | 602 | Say "yes" here to support the real time clock on TI OMAP1 and |
603 | This driver can also be built as a module called rtc-omap. | 603 | DA8xx/OMAP-L13x chips. This driver can also be built as a |
604 | module called rtc-omap. | ||
604 | 605 | ||
605 | config RTC_DRV_S3C | 606 | config RTC_DRV_S3C |
606 | tristate "Samsung S3C series SoC RTC" | 607 | tristate "Samsung S3C series SoC RTC" |