From 7cc1ee3e8489351d18fd5be597b55ab47bac9c6d Mon Sep 17 00:00:00 2001 From: Vaibhav Hiremath Date: Fri, 30 Jan 2009 00:52:29 +0530 Subject: [PATCH] ARM: OMAP: Add mux for GPIO pins 134, 54 and 136 On OMAP3EVM Mass Market Daugher Card following GPIO pins are being used - GPIO134 --> Enable/Disable TVP5146 interface GPIO54 --> Enable/Disable Expansion Camera interface GPIO136 --> Enable/Disable Camera (Sensor) interface Added entry for the above GPIO's in mux.c and mux.h file Signed-off-by: Brijesh Jadav Signed-off-by: Hardik Shah Signed-off-by: Vaibhav Hiremath Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/mux.c | 6 ++++++ arch/arm/plat-omap/include/mach/mux.h | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 1556688901d..d226d817a6a 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -471,6 +471,12 @@ MUX_CFG_34XX("AF5_34XX_GPIO142", 0x170, OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_OUTPUT) MUX_CFG_34XX("AE5_34XX_GPIO143", 0x172, OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_OUTPUT) +MUX_CFG_34XX("AG4_34XX_GPIO134", 0x160, + OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_OUTPUT) +MUX_CFG_34XX("U8_34XX_GPIO54", 0x0b4, + OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_OUTPUT) +MUX_CFG_34XX("AE4_34XX_GPIO136", 0x164, + OMAP34XX_MUX_MODE4 | OMAP34XX_PIN_OUTPUT) }; diff --git a/arch/arm/plat-omap/include/mach/mux.h b/arch/arm/plat-omap/include/mach/mux.h index 67fddec3ec0..ace037f1598 100644 --- a/arch/arm/plat-omap/include/mach/mux.h +++ b/arch/arm/plat-omap/include/mach/mux.h @@ -795,7 +795,10 @@ enum omap34xx_index { AF6_34XX_GPIO140_UP, AE6_34XX_GPIO141, AF5_34XX_GPIO142, - AE5_34XX_GPIO143 + AE5_34XX_GPIO143, + AG4_34XX_GPIO134, + U8_34XX_GPIO54, + AE4_34XX_GPIO136, }; struct omap_mux_cfg { -- 2.41.1