Hi,
I am trying to sort some issues with USB.
Currently my board which is a close derivative of the BeagleBoard is having some issues with musb in host mode with 3.2 kernel and a specific hardware module.
Here is the data from my board file:
static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
.port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
// .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
.port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
.phy_reset = true,
.reset_gpio_port[0] = -EINVAL,
// .reset_gpio_port[1] = 162,
.reset_gpio_port[2] = -EINVAL
};
Currently we use musb in the kernel for port 0 and port 2 as above.
I have tried to shift these ports to EHCI to see if I get working results using a different controller.
Is this a software change or does it require a hardware change?
I have tried the code below - but it doesn’t work:
static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
.port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
.port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
.port_mode[2] = OMAP_EHCI_PORT_MODE_PHY,
.phy_reset = true,
.reset_gpio_port[0] = -EINVAL,
.reset_gpio_port[1] = 162,
.reset_gpio_port[2] = -EINVAL
};
Is such a thing possible?
Many thanks for the help!
CJ