mx31_3ds: Add touchscreen support
authorFabio Estevam <fabioestevam@yahoo.com>
Wed, 27 Oct 2010 17:31:06 +0000 (10:31 -0700)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Nov 2010 08:57:05 +0000 (09:57 +0100)
On the mx31_3ds board the touchscreen feature is provided by MC13783 PMIC.

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

index 3dea407..e4efbfe 100644 (file)
@@ -127,7 +127,7 @@ static struct mc13783_regulator_init_data mx31_3ds_regulators[] = {
 static struct mc13783_platform_data mc13783_pdata __initdata = {
        .regulators = mx31_3ds_regulators,
        .num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
-       .flags  = MC13783_USE_REGULATOR,
+       .flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
 };
 
 /* SPI */