Add MCSPI1 Mux configuration
Subsystems (3)
cover Add MCSPI1 Mux configuration
This patch adds mcspi1 and gpio_85 mux configuration for 2430.
Signed-off-by Arun KS <[email protected]>
--- arch/arm/mach-omap2/mux.c | 11 +++++++++++ arch/arm/plat-omap/include/mach/mux.h | 9 +++++++++ 2 files changed, 20 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/mux.c +11 -0
@@ -210,6 +210,17 @@ 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("SPI1_2430_MCSPI1_CLK", 0x010F, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_SIMO", 0x0110, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_SOMI", 0x0111, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_CS0", 0x0112, 0, 0, 0, 1) +MUX_CFG_24XX ("SPI1_2430_GPIO_85" ,0x0113 ,3 ,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
Hi Tony,
just ignore this patch.
I will resend this patch.
Thanks,
Arun
Quoted 54 lines · Arun KS
This patch adds mcspi1 and
gpio_85mux configuration for 2430.Signed-off-by Arun KS <[email protected]>--- arch/arm/mach-omap2/mux.c | 11 +++++++++++ arch/arm/plat-omap/include/mach/mux.h | 9 +++++++++ 2 files changed, 20 insertions(+), 0 deletions(-)arch/arm/mach-omap2/mux.c +11
-0@@ -210,6 +210,17 @@ 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("SPI1_2430_MCSPI1_CLK", 0x010F, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_SIMO", 0x0110, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_SOMI", 0x0111, 0, 0, 0, 1) +MUX_CFG_24XX("SPI1_2430_MCSPI1_CS0", 0x0112, 0, 0, 0, 1) +MUX_CFG_24XX ("SPI1_2430_GPIO_85" ,0x0113 ,3 ,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)arch/arm/plat-omap/include/mach/mux.h +9
-1@@ -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 { --1.5.3.4