Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm64
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm64
  • Repository

Switch branch/tag
  • ipipe-arm64
  • drivers
  • usb
  • chipidea
  • core.c
Find file BlameHistoryPermalink
  • Peter Chen's avatar
    usb: chipidea: coordinate usb phy initialization for different phy type · cd84f009
    Peter Chen authored Apr 24, 2014
    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: cd0b42c2
    
    
    
    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: default avatarPeter Chen <peter.chen@freescale.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    cd84f009

Replace core.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy