Skip to contentSkip to conversation

Add MCSPI1 and gpio_85 Mux configuration

PATCH RESEND In review Arun KS 2 participants 3 messages Sep 25, 2008

Subsystems (3)
lore
Share & tools
lore

Arun KS

author
#0 lore raw

PATCH RESEND 1/3 Add MCSPI1 and gpio_85 Mux configuration

This patch adds mcspi1 and gpio_85 mux configuration for 2430.

---
 arch/arm/mach-omap2/mux.c             |   10 ++++++++++
 arch/arm/plat-omap/include/mach/mux.h |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/mux.c +10 -0
index 741ab18..3e877ab 100644
@@ -210,6 +210,16 @@ MUX_CFG_24XX("AC10_2430_MCBSP2_FSX_OFF",0x012E,	0,	0,	0,	1)
 MUX_CFG_24XX("AD16_2430_MCBSP2_CLX_OFF",0x012F,	0,	0,	0,	1)
 MUX_CFG_24XX("AE13_2430_MCBSP2_DX_OFF",	0x0130,	0,	0,	0,	1)
 MUX_CFG_24XX("AD13_2430_MCBSP2_DR_OFF",	0x0131,	0,	0,	0,	1)
+
+/* 2430 MCSPI1 */
+MUX_CFG_24XX("Y18_2430_MCSPI1_CLK",	0x010F,	0,	0,	0,	1)
+MUX_CFG_24XX("AD15_2430_MCSPI1_SIMO",	0x0110,	0,	0,	0,	1)
+MUX_CFG_24XX("AE17_2430_MCSPI1_SOMI",	0x0111,	0,	0,	0,	1)
+MUX_CFG_24XX("U1_2430_MCSPI1_CS0",	0x0112,	0,	0,	0,	1)
+
+/* Touchscreen GPIO */
+MUX_CFG_24XX("AF19_2430_GPIO_85",	0x0113,	3,	0,	0,	1)
+
 };
 
 #define OMAP24XX_PINS_SZ	ARRAY_SIZE(omap24xx_pins)
(quoted diff) +0 -0

b/arch/arm/plat-omap/include/mach/mux.h
index 5670d56..683474f 100644

arch/arm/plat-omap/include/mach/mux.h +9 -0
@@ -641,6 +641,15 @@ enum omap24xx_index {
 	AE13_2430_MCBSP2_DX_OFF,
 	AD13_2430_MCBSP2_DR_OFF,
 
+	/* 2430 McSPI*/
+	Y18_2430_MCSPI1_CLK,
+	AD15_2430_MCSPI1_SIMO,
+	AE17_2430_MCSPI1_SOMI,
+	U1_2430_MCSPI1_CS0,
+
+	/* Touchscreen GPIO */
+	AF19_2430_GPIO_85,
+
 };
 
 enum omap34xx_index {
Signature · 1 line
1.5.3.4
#1 lore raw
Quoted 8 lines · On Thu, 25 Sep 2008 11:04:07 +0530 "ext Arun KS" <[email protected]>…

This patch adds mcspi1 and gpio_85 mux configuration for 2430.

---
 arch/arm/mach-omap2/mux.c             |   10 ++++++++++
 arch/arm/plat-omap/include/mach/mux.h |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

How about adding muxing for remaining 2430 McBSP ports 3-5 as well in this patch?

Jarkko

author
#2 lore raw
Quoted 5 lines · Jarkko Nikula
Quoted 2 lines · On Thu, 25 Sep 2008 11:04:07 +0530 "ext Arun KS" <[email protected]>…

This patch adds mcspi1 and gpio_85 mux configuration for 2430.

Quoted 8 lines
Quoted 6 lines
---
 arch/arm/mach-omap2/mux.c             |   10 ++++++++++
 arch/arm/plat-omap/include/mach/mux.h |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

How about adding muxing for remaining 2430 McBSP ports 3-5 as well in this patch?

I will send a separate patch for that.

Arun

Quoted 8 lines

Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html