ARM: mx31pdk: Add MC13783 RTC support
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 21 Nov 2011 18:26:51 +0000 (16:26 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 3 Jan 2012 08:47:15 +0000 (09:47 +0100)
MX31PDK board has a MC13783 PMIC, which provides RTC functionality.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx31_3ds.c

index b8c54b840185edc2bd4fd7b344e22bdc29187bd8..00bb308ce1cdb606db3032630f09e1f3ccce4810 100644 (file)
@@ -492,7 +492,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
                .regulators = mx31_3ds_regulators,
                .num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
        },
-       .flags  = MC13XXX_USE_TOUCHSCREEN,
+       .flags  = MC13XXX_USE_TOUCHSCREEN | MC13XXX_USE_RTC,
 };
 
 /* SPI */