[APPLIED] [PATCH 1/3] [OMAP1] MUX: Add omap7xx-specific USB mux pins

2009-12-04 Thread Tony Lindgren
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next-vol2

Initial commit ID (Likely to change): fde592f136f1bb5861121272a2530b781922936a

PatchWorks
http://patchwork.kernel.org/patch/62077/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=fde592f136f1bb5861121272a2530b781922936a


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


[PATCH 1/3] [OMAP1] MUX: Add omap7xx-specific USB mux pins

2009-11-22 Thread Cory Maccarrone
In order to successfully use USB on omap7xx devices, the
pin muxes implemented by this patch are needed.  This
had been done manually in board files used by linwizard --
this patch ports the required changes more properly.

Signed-off-by: Cory Maccarrone 
---
 arch/arm/mach-omap1/mux.c |4 +++-
 arch/arm/plat-omap/include/plat/mux.h |2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap1/mux.c b/arch/arm/mach-omap1/mux.c
index 785371e..5e183cd 100644
--- a/arch/arm/mach-omap1/mux.c
+++ b/arch/arm/mach-omap1/mux.c
@@ -50,7 +50,9 @@ MUX_CFG_7XX("E3_7XX_KBC4",13,   25,0,   24,   1, 
0)
 
 MUX_CFG_7XX("AA17_7XX_USB_DM", 2,   21,0,   20,   0, 0)
 MUX_CFG_7XX("W16_7XX_USB_PU_EN",   2,   25,0,   24,   0, 0)
-MUX_CFG_7XX("W17_7XX_USB_VBUSI",   2,   29,0,   28,   0, 0)
+MUX_CFG_7XX("W17_7XX_USB_VBUSI",   2,   29,6,   28,   1, 0)
+MUX_CFG_7XX("W18_7XX_USB_DMCK_OUT",3,3,1,2,   0, 0)
+MUX_CFG_7XX("W19_7XX_USB_DCRST",   3,7,1,6,   0, 0)
 
 /* MMC Pins */
 MUX_CFG_7XX("MMC_7XX_CMD", 2,9,0,8,   1, 0)
diff --git a/arch/arm/plat-omap/include/plat/mux.h 
b/arch/arm/plat-omap/include/plat/mux.h
index ba77de6..436c12e 100644
--- a/arch/arm/plat-omap/include/plat/mux.h
+++ b/arch/arm/plat-omap/include/plat/mux.h
@@ -219,6 +219,8 @@ enum omap7xx_index {
AA17_7XX_USB_DM,
W16_7XX_USB_PU_EN,
W17_7XX_USB_VBUSI,
+   W18_7XX_USB_DMCK_OUT,
+   W19_7XX_USB_DCRST,
 
/* MMC */
MMC_7XX_CMD,
-- 
1.6.3.3


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