summaryrefslogtreecommitdiffstats
path: root/firmware/edgeport
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-04-24 02:15:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 21:45:40 +0200
commitcd84f009e98b3aa6109503f80f66ccf3e19e8fa9 (patch)
treecea706c4b4d11c0e225716d49474aabafd234710 /firmware/edgeport
parentMerge tag 'fixes-for-v3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-cd84f009e98b3aa6109503f80f66ccf3e19e8fa9.tar.xz
linux-cd84f009e98b3aa6109503f80f66ccf3e19e8fa9.zip
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: cd0b42c2a6d2a74244f0053f8960f5dad5842278 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>
Diffstat (limited to 'firmware/edgeport')
0 files changed, 0 insertions, 0 deletions