public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: add RTC support to beagleboard
@ 2008-05-08 16:35 Koen Kooi
  2008-05-08 16:53 ` Steve Sakoman
  2008-05-08 16:55 ` andrzej zaborowski
  0 siblings, 2 replies; 8+ messages in thread
From: Koen Kooi @ 2008-05-08 16:35 UTC (permalink / raw)
  To: linux-omap; +Cc: Khasim Syed Mohammed, Beagle Board

This patch adds RTC support to the omap3 based beagleboard

Signed-off-by: Koen Kooi <koen@openembedded.org>
---
  arch/arm/mach-omap2/board-omap3beagle.c |   11 +++++++++++
  1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
omap2/board-omap3beagle.c
index 626f004..e7b471b 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -58,11 +58,22 @@ static struct omap_mmc_config  
omap3beagle_mmc_config __initdata = {
  	},
  };

+static struct platform_device omap3_beagle_twl4030rtc_device = {
+	.name           = "twl4030_rtc",
+	.id             = -1,
+};
+
  static struct omap_board_config_kernel omap3_beagle_config[]  
__initdata = {
  	{ OMAP_TAG_UART,	&omap3_beagle_uart_config },
  	{ OMAP_TAG_MMC,		&omap3beagle_mmc_config },
  };

+static struct platform_device *omap3_beagle_devices[] __initdata = {
+#ifdef CONFIG_RTC_DRV_TWL4030
+	&omap3_beagle_twl4030rtc_device,
+#endif
+};
+
  static void __init omap3_beagle_init(void)
  {
  	omap_board_config = omap3_beagle_config;
-- 
1.5.4.3



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-12 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 16:35 [PATCH] ARM: OMAP: add RTC support to beagleboard Koen Kooi
2008-05-08 16:53 ` Steve Sakoman
2008-05-08 16:55 ` andrzej zaborowski
2008-05-08 17:04   ` Koen Kooi
2008-05-09 14:49     ` Koen Kooi
2008-05-09 21:54       ` Tony Lindgren
2008-05-12 21:54         ` Koen Kooi
2008-05-12 22:34           ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox