Hi
If I do usb start in u-boot before booting linux external devices are detected, but if I don't then they are not.
I suspect the power is not being turned on by Linux
Could you please tell me if there a patch for this or is the recommended workaround to start usb in u-boot?
Thanks
Steve
Hello steve reynolds,
I am not sure which version Linux SDK you are using, the attached u-boot patch from SDK 1.7 should related with this problem.
Please refer to the following code regarding erratum A007792 in Linux Kernel.
/*
* Enable UTMI phy and program PTS field in UTMI mode before asserting
* controller reset for USB Controller version 2.5
*/
if (pdata->has_fsl_erratum_a007792) {
clrsetbits_be32(hcd->regs + FSL_SOC_USB_CTRL,
CONTROL_REGISTER_W1C_MASK, CTRL_UTMI_PHY_EN);
writel(PORT_PTS_UTMI, hcd->regs + FSL_SOC_USB_PORTSC1);
}
If your problem remains, please feel free to let me know.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------