cd84f009e9
For internal PHY (like UTMI), the phy clock may from internal pll,
it is on/off on the fly, the access PORTSC.PTS will hang without
phy clock. So, the usb_phy_init which will open phy clock needs to
be called before hw_phymode_configure.
See: http://marc.info/?l=linux-arm-kernel&m=139350618732108&w=2
For external PHY (like ulpi), it needs to configure portsc.pts before
visit viewport, or the viewport can't be visited. so phy_phymode_configure
needs to be called before usb_phy_init.
See:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bits.h | ||
ci.h | ||
ci_hdrc_imx.c | ||
ci_hdrc_imx.h | ||
ci_hdrc_msm.c | ||
ci_hdrc_pci.c | ||
ci_hdrc_zevio.c | ||
core.c | ||
debug.c | ||
debug.h | ||
host.c | ||
host.h | ||
otg.c | ||
otg.h | ||
udc.c | ||
udc.h | ||
usbmisc_imx.c |