Skip to contentSkip to conversation

USB on OMAP3530

DISCUSSION Rick Bronson 3 participants 4 messages Feb 18, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I've got a new board with a OMAP3530 that's wired to a "ULPI Hi-Speed
USB host and peripheral transceiver" (NXP ISP1505) on UH0-D0-7, UH0-CLK, UH0-STP, UH0-DIR, UH0-NXT. There is also a mux to switch from host to device on GPIO_140.

What set of kernel configs should I enable? Here's what I have:

CONFIG_USB_HID=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_OTG=y
CONFIG_USB_MON=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SOC=y
CONFIG_USB_MUSB_OTG=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_MUSB_HDRC_HCD=y
CONFIG_USB_INVENTRA_DMA=y
CONFIG_USB_STORAGE=y
CONFIG_USB_TEST=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_ETH=y
CONFIG_USB_ETH_RNDIS=y
CONFIG_USB_OTG_UTILS=y

Any help greatly appreciated.

Rick Bronson

                                                                   _
                                                                  | |
                                                                  / /__
.----------------------------------------------------------._____/ (___)
| Rick Bronson    rick at efn dot org    Tel 541-485-7264  |       (___)
| Amazonia Computing http://www.efn.org/~rick      __ o    |_____  (___)
| 5050 Donald Street     "Onde esta dinheiro?"    _`\<,    |     \_(___)
| Eugene, OR  97405       -- Gal Costa         __( )/( )__ |

`----------------------------------------------------------'

#1 lore raw
Quoted 8 lines · Rick Bronson

Hello,

I've got a new board with a OMAP3530 that's wired to a "ULPI Hi-Speed
USB host and peripheral transceiver" (NXP ISP1505) on UH0-D0-7, UH0-CLK, UH0-STP, UH0-DIR, UH0-NXT. There is also a mux to switch from host to device on GPIO_140.

What set of kernel configs should I enable? Here's what I have:

you need to enable CONFIG_USB_EHCI_HCD

Signature · 1 line
balbi
#2 lore raw
Quoted 4 lines

From: [email protected] [[email protected]] On Behalf Of Felipe Balbi [[email protected]]

Quoted 2 lines · Rick Bronson

Hello,

Quoted 8 lines
Quoted 6 lines

I've got a new board with a OMAP3530 that's wired to a "ULPI Hi-Speed
USB host and peripheral transceiver" (NXP ISP1505) on UH0-D0-7, UH0-CLK, UH0-STP, UH0-DIR, UH0-NXT. There is also a mux to switch from host to device on GPIO_140.

What set of kernel configs should I enable? Here's what I have:

you need to enable CONFIG_USB_EHCI_HCD

Confused. Why?

Isn't this the MUSB port?

- Anand

#3 lore raw
Quoted 9 lines · Anand
Quoted 9 lines

From: [email protected] [[email protected]] On Behalf Of Felipe Balbi [[email protected]]

Quoted 7 lines · Rick Bronson

Hello,

I've got a new board with a OMAP3530 that's wired to a "ULPI Hi-Speed
USB host and peripheral transceiver" (NXP ISP1505) on UH0-D0-7, UH0-CLK, UH0-STP, UH0-DIR, UH0-NXT. There is also a mux to switch from host to device on GPIO_140.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

What set of kernel configs should I enable? Here's what I have:

you need to enable CONFIG_USB_EHCI_HCD

Confused. Why?

Isn't this the MUSB port?

ugh, my mistake... didn't see the "and peripheral" there :-p

so Rick, you need to load a gadget driver for musb to work, g_ether or g_zero are the simplest ones.

Signature · 1 line
balbi