[PATCH 7/7] OMAP3 EVM: add rtc support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Steve Sakoman <steve@xxxxxxxxxxx>

Add twl4030 RTC support for OMAP3 EVM

Signed-off-by: Steve Sakoman <steve@xxxxxxxxxxx>
---
 board-omap3evm.c |    8 ++++++++
 1 file changed, 8 insertions(+)
diff -uprN -X a/Documentation/dontdiff
a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm/mach-omap2/board-omap3evm.c
--- a/arch/arm/mach-omap2/board-omap3evm.c	2008-04-28 13:48:30.000000000 -0700
+++ b/arch/arm/mach-omap2/board-omap3evm.c	2008-04-28 14:20:12.000000000 -0700
@@ -60,6 +60,11 @@ static struct omap_lcd_config omap3_evm_
 	.ctrl_name	= "internal",
 };

+static struct platform_device omap3_evm_twl4030rtc_device = {
+	.name		= "twl4030_rtc",
+	.id		= -1,
+};
+
 static void __init omap3_evm_init_irq(void)
 {
 	omap2_init_common_hw();
@@ -75,6 +80,9 @@ static struct omap_board_config_kernel o

 static struct platform_device *omap3_evm_devices[] __initdata = {
 	&omap3_evm_lcd_device,
+#ifdef CONFIG_RTC_DRV_TWL4030
+	&omap3_evm_twl4030rtc_device,
+#endif
 };

 static void __init omap3_evm_init(void)
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux