Skip to contentSkip to conversation

AM35x: Add missing GPIO mux config for EHCI port

PATCH New Ajay Kumar Gupta 2 participants 4 messages Feb 22, 2010 – Feb 25, 2010

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

PATCH 1/2 AM35x: Add missing GPIO mux config for EHCI port

Adding GPIO mux config used for PHY reset of EHCI port on base board. We get below failure message without this patch,

"hub 1-0:1.0: unable to enumerate USB device on port 1"

---
 arch/arm/mach-omap2/board-am3517evm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-am3517evm.c +3 -0
index af99faf..c78a4d0 100644
@@ -232,6 +232,9 @@ static void __init am3517_evm_init(void)
 				ARRAY_SIZE(am3517_evm_devices));
 
 	omap_serial_init();
+
+	/* Configure GPIO for EHCI port */
+	omap_mux_init_gpio(57, OMAP_PIN_OUTPUT);
 	usb_ehci_init(&ehci_pdata);
 	/* DSS */
 	am3517_evm_display_init();
Signature · 1 line
1.6.2.4
#1 lore raw

PATCH 2/2 AM35x: Enable OMAP_MUX in defconfig

Enabling OMAP_MUX in defconfig as it is required for EHCI to work.

---
 arch/arm/configs/am3517_evm_defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/configs/am3517_evm_defconfig +1 -1
index abe9966..edae1c2 100644
@@ -201,7 +201,7 @@ CONFIG_ARCH_OMAP3=y
 # CONFIG_OMAP_DEBUG_POWERDOMAIN is not set
 # CONFIG_OMAP_DEBUG_CLOCKDOMAIN is not set
 CONFIG_OMAP_RESET_CLOCKS=y
-# CONFIG_OMAP_MUX is not set
+CONFIG_OMAP_MUX=y
 # CONFIG_OMAP_MCBSP is not set
 # CONFIG_OMAP_MBOX_FWK is not set
 # CONFIG_OMAP_MPU_TIMER is not set
Signature · 1 line
1.6.2.4
maintainer
#2 lore raw

PATCH 2/2 AM35x: Enable OMAP_MUX in defconfig

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): ece75fcbe50a15b830c44e466dc29e2cb7479f2a

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

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

maintainer
#3 lore raw

PATCH 1/2 AM35x: Add missing GPIO mux config for EHCI port

In reply to Ajay Kumar Gupta

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): 296981944815e958dc722d5d03aa38c89b750d84

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

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=296981944815e958dc722d5d03aa38c89b750d84