Skip to contentSkip to conversation

USB: Add omap7xx-specific pin muxing

PATCH New Cory Maccarrone 2 participants 2 messages Nov 22, 2009 – Dec 4, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 USB: Add omap7xx-specific pin muxing

This adds the initialization for the pin muxing required for USB to function properly on omap7xx hardware.

---
 arch/arm/plat-omap/usb.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
arch/arm/plat-omap/usb.c +7 -1
index 51033a4..d3bf17c 100644
@@ -137,7 +137,13 @@ static u32 __init omap_usb0_init(unsigned nwires, unsigned is_device)
 	if (is_device) {
 		if (cpu_is_omap24xx())
 			omap_cfg_reg(J20_24XX_USB0_PUEN);
-		else
+		else if (cpu_is_omap7xx()) {
+			omap_cfg_reg(AA17_7XX_USB_DM);
+			omap_cfg_reg(W16_7XX_USB_PU_EN);
+			omap_cfg_reg(W17_7XX_USB_VBUSI);
+			omap_cfg_reg(W18_7XX_USB_DMCK_OUT);
+			omap_cfg_reg(W19_7XX_USB_DCRST);
+		} else
 			omap_cfg_reg(W4_USB_PUEN);
 	}
 
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH 2/3 USB: Add omap7xx-specific pin muxing

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): dd1a4ddb989eded52aac34a85cea2f2b122fbc84

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

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=dd1a4ddb989eded52aac34a85cea2f2b122fbc84