[PATCH] ARM: mx31pdk: Add MC13783 RTC support

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Oct 25 03:20:34 EDT 2011


Hello Fabio,

On Mon, Oct 24, 2011 at 05:02:09PM -0200, Fabio Estevam wrote:
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index c20be75..e82778c 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -494,7 +494,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
>  		.regulators = mx31_3ds_regulators,
>  		.num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
>  	},
> -	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
> +	.flags  = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
> +							MC13XXX_USE_RTC,
ok in principle but (I think mfd in) next touches this already:

	$ git show next/master:arch/arm/mach-imx/mach-mx31_3ds.c | grep USE_TOUCH
		.flags  = MC13XXX_USE_TOUCHSCREEN,

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list