diff mbox

[1/3] Mux configuration for AM3517 TouchScreen support

Message ID 1258641974-2223-1-git-send-email-hvaibhav@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vaibhav Hiremath Nov. 19, 2009, 2:46 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c
index c18a94e..f64ce14 100644
--- a/arch/arm/mach-omap2/mux.c
+++ b/arch/arm/mach-omap2/mux.c
@@ -566,6 +566,9 @@  MUX_CFG_34XX("AF9_34XX_GPIO22", 0x5ec,
 	OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_INPUT_PULLUP)
 MUX_CFG_34XX("U3_34XX_GPIO61", 0x0c8,
 	OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_INPUT_PULLUP)
+ /*Touch-screen*/
+ MUX_CFG_34XX("U1_34XX_GPIO65", 0x0d2,
+		OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_INPUT_PULLUP)
 };
 
 #define OMAP34XX_PINS_SZ	ARRAY_SIZE(omap34xx_pins)
diff --git a/arch/arm/plat-omap/include/plat/mux.h b/arch/arm/plat-omap/include/plat/mux.h
index ba77de6..244afee 100644
--- a/arch/arm/plat-omap/include/plat/mux.h
+++ b/arch/arm/plat-omap/include/plat/mux.h
@@ -854,6 +854,7 @@  enum omap34xx_index {
 	AH14_34XX_GPIO21,
 	AF9_34XX_GPIO22,
 	U3_34XX_GPIO61,
+	U1_34XX_GPIO65,
 };
 
 struct omap_mux_cfg {