diff mbox

ARM: imx: Add rtc support to i.MX31 PDK board.

Message ID 1483352282-28970-1-git-send-email-lilja.magnus@gmail.com
State New
Headers show

Commit Message

Magnus Lilja Jan. 2, 2017, 10:18 a.m. UTC
Enable support for i.MX31 RTC on the PDK board.

Tested on actual hardware.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
---
 arch/arm/mach-imx/mach-mx31_3ds.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Fabio Estevam Jan. 2, 2017, 10:35 a.m. UTC | #1
On Mon, Jan 2, 2017 at 8:18 AM, Magnus Lilja <lilja.magnus@gmail.com> wrote:
> Enable support for i.MX31 RTC on the PDK board.
>
> Tested on actual hardware.
>
> Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Shawn Guo Jan. 3, 2017, 6:43 a.m. UTC | #2
On Mon, Jan 02, 2017 at 11:18:02AM +0100, Magnus Lilja wrote:
> Enable support for i.MX31 RTC on the PDK board.
> 
> Tested on actual hardware.
> 
> Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
> ---
>  arch/arm/mach-imx/mach-mx31_3ds.c | 1 +
>  1 file changed, 1 insertion(+)

We do not take any more patches on legacy board files, except cleanup
ones.  Please help get i.MX31 DT support better.

Shawn

> 
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index 12b8a52..c6a12ac 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -710,6 +710,7 @@ static void __init mx31_3ds_init(void)
>  	imx31_add_imx_keypad(&mx31_3ds_keymap_data);
>  
>  	imx31_add_imx2_wdt();
> +	imx31_add_mxc_rtc();
>  	imx31_add_imx_i2c0(&mx31_3ds_i2c0_data);
>  
>  	imx31_add_spi_imx0(&spi0_pdata);
> -- 
> 2.7.4
>
diff mbox

Patch

diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
index 12b8a52..c6a12ac 100644
--- a/arch/arm/mach-imx/mach-mx31_3ds.c
+++ b/arch/arm/mach-imx/mach-mx31_3ds.c
@@ -710,6 +710,7 @@  static void __init mx31_3ds_init(void)
 	imx31_add_imx_keypad(&mx31_3ds_keymap_data);
 
 	imx31_add_imx2_wdt();
+	imx31_add_mxc_rtc();
 	imx31_add_imx_i2c0(&mx31_3ds_i2c0_data);
 
 	imx31_add_spi_imx0(&spi0_pdata);