Skip to contentSkip to conversation

ARM: imx: add rtc support to mx35_3ds

PATCH New Benoît Thébaudeau 1 participant 2 messages Jul 4, 2012 – Jul 5, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx: add rtc support to mx35_3ds

Now that RTC support has been enabled for i.MX35, add RTC to the mx35_3ds board.

---
 .../arch/arm/mach-imx/Kconfig                      |    1 +
 .../arch/arm/mach-imx/mach-mx35_3ds.c              |    1 +
 2 files changed, 2 insertions(+)
arch/arm/mach-imx/Kconfig +1 -0
index eff4db5..4baf5ab 100644
@@ -589,6 +589,7 @@ config MACH_MX35_3DS
 	select IMX_HAVE_PLATFORM_IPU_CORE
 	select IMX_HAVE_PLATFORM_MXC_EHCI
 	select IMX_HAVE_PLATFORM_MXC_NAND
+	select IMX_HAVE_PLATFORM_MXC_RTC
 	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
 	help
 	  Include support for MX35PDK platform. This includes specific
arch/arm/mach-imx/mach-mx35_3ds.c +1 -0
index 11afe00..25db220 100644
@@ -562,6 +562,7 @@ static void __init mx35_3ds_init(void)
 
 	imx35_add_fec(NULL);
 	imx35_add_imx2_wdt();
+	imx35_add_mxc_rtc();
 	platform_add_devices(devices, ARRAY_SIZE(devices));
 
 	imx35_add_imx_uart0(&uart_pdata);
#1 lore raw

PATCH 1/1 ARM: imx: add rtc support to mx35_3ds

Hi Sascha,

Quoted 2 lines · Beno?t Th?baudeau

Now that RTC support has been enabled for i.MX35, add RTC to the mx35_3ds board.

I know that there is already the MC13XXXX providing the RTC feature on this board, but:
- it's possible to have several RTCs,
- the purpose of the 3ds boards is to demonstrate the features of the i.MX platform, so it should do so with the mxc_rtc,
- it can serve as a reminder to add mxc_rtc for i.MX35 when it will switch to device tree.

Regards,
Beno?t