diff mbox

Enable RTC driver.

Message ID 1309872931-13999-1-git-send-email-J.Lambrecht@televic.com
State New
Headers show

Commit Message

=?UTF-8?q?J=C3=BCrgen=20Lambrecht?= July 5, 2011, 1:35 p.m. UTC
The MC13783 MFD also contains an RTC. Enable it.
To avoid "No RTC device found, ALARM timers will not wake from suspend",
this patch is needed:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c008ba58af24dc5d0d8e9fe6e59d876910254761

Signed-off-by: Jürgen Lambrecht <J.Lambrecht@televic.com>
---
 arch/arm/mach-imx/mach-mx27_3ds.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Sascha Hauer July 6, 2011, 7:50 a.m. UTC | #1
On Tue, Jul 05, 2011 at 03:35:31PM +0200, Jürgen Lambrecht wrote:
> The MC13783 MFD also contains an RTC. Enable it.
> To avoid "No RTC device found, ALARM timers will not wake from suspend",
> this patch is needed:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c008ba58af24dc5d0d8e9fe6e59d876910254761
> 
> Signed-off-by: Jürgen Lambrecht <J.Lambrecht@televic.com>

Applied for next. Please Cc me in the future for i.MX specific changes.

Sascha

> ---
>  arch/arm/mach-imx/mach-mx27_3ds.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
> index 84114aa..00bbb6b 100644
> --- a/arch/arm/mach-imx/mach-mx27_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx27_3ds.c
> @@ -294,7 +294,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
>  		.num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
>  
>  	},
> -	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
> +	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
> +	MC13783_USE_RTC,
>  };
>  
>  /* SPI */
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index 84114aa..00bbb6b 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -294,7 +294,8 @@  static struct mc13xxx_platform_data mc13783_pdata = {
 		.num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
 
 	},
-	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
+	MC13783_USE_RTC,
 };
 
 /* SPI */