linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3 of 3] ARM: imx: add rtc support to mx35_3ds
@ 2012-07-04 14:36 Benoît Thébaudeau
  2012-07-05 11:12 ` Benoît Thébaudeau
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Thébaudeau @ 2012-07-04 14:36 UTC (permalink / raw)
  To: linux-arm-kernel

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

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
---
 .../arch/arm/mach-imx/Kconfig                      |    1 +
 .../arch/arm/mach-imx/mach-mx35_3ds.c              |    1 +
 2 files changed, 2 insertions(+)

diff --git linux-next-HEAD-f9637ba.orig/arch/arm/mach-imx/Kconfig linux-next-HEAD-f9637ba/arch/arm/mach-imx/Kconfig
index eff4db5..4baf5ab 100644
--- linux-next-HEAD-f9637ba.orig/arch/arm/mach-imx/Kconfig
+++ linux-next-HEAD-f9637ba/arch/arm/mach-imx/Kconfig
@@ -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
diff --git linux-next-HEAD-f9637ba.orig/arch/arm/mach-imx/mach-mx35_3ds.c linux-next-HEAD-f9637ba/arch/arm/mach-imx/mach-mx35_3ds.c
index 11afe00..25db220 100644
--- linux-next-HEAD-f9637ba.orig/arch/arm/mach-imx/mach-mx35_3ds.c
+++ linux-next-HEAD-f9637ba/arch/arm/mach-imx/mach-mx35_3ds.c
@@ -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);

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

* [PATCH 3 of 3] ARM: imx: add rtc support to mx35_3ds
  2012-07-04 14:36 [PATCH 3 of 3] ARM: imx: add rtc support to mx35_3ds Benoît Thébaudeau
@ 2012-07-05 11:12 ` Benoît Thébaudeau
  0 siblings, 0 replies; 2+ messages in thread
From: Benoît Thébaudeau @ 2012-07-05 11:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sascha,

On Wed, Jul 4, 2012 at 04:36:28PM +0200, Beno?t Th?baudeau wrote:
> 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

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

end of thread, other threads:[~2012-07-05 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 14:36 [PATCH 3 of 3] ARM: imx: add rtc support to mx35_3ds Benoît Thébaudeau
2012-07-05 11:12 ` Benoît Thébaudeau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).