WSL2-Linux-Kernel/drivers/usb/chipidea
Peter Chen cd84f009e9 usb: chipidea: coordinate usb phy initialization for different phy type
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: cd0b42c2a6

It may not the best solution, but it can work for all situations.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Cc: shc_work@mail.ru
Cc: denis@eukrea.com
Cc: festevam@gmail.com
Cc: stable <stable@vger.kernel.org> # 3.14
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-24 12:45:40 -07:00
..
Kconfig
Makefile usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs 2014-03-12 12:32:21 -07:00
bits.h usb: chipidea: udc: add maximum-speed = full-speed option 2014-02-24 17:07:52 -08:00
ci.h usb: chipidea: refine PHY operation 2014-02-24 17:07:52 -08:00
ci_hdrc_imx.c usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs 2014-03-12 12:32:21 -07:00
ci_hdrc_imx.h USB: chipidea: add guard macro to ci_hdrc_imx.h 2014-01-03 12:37:57 -08:00
ci_hdrc_msm.c
ci_hdrc_pci.c usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 10:22:52 -08:00
ci_hdrc_zevio.c usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs 2014-03-12 12:32:21 -07:00
core.c usb: chipidea: coordinate usb phy initialization for different phy type 2014-04-24 12:45:40 -07:00
debug.c
debug.h
host.c usb: chipidea: add freescale imx28 special write register method 2014-01-13 15:55:19 -08:00
host.h
otg.c
otg.h usb: chipidea: need to mask INT_STATUS when write otgsc 2014-01-13 15:55:19 -08:00
udc.c usb: chipidea: udc: refine isr_tr_complete_handler 2014-03-12 12:32:21 -07:00
udc.h
usbmisc_imx.c usb: chipidea: usbmisc: Add support for i.MX51 CPU 2013-12-08 18:02:55 -08:00