]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00171027-3 usbcore:after plug in/out on the hub,host can't work
authorTony LIU <junjie.liu@freescale.com>
Fri, 30 Dec 2011 06:34:38 +0000 (14:34 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:29 +0000 (14:10 +0200)
commitce592842a49fb35bfdd8897d4b6e510711ab8a55
treea037573117416a6c76f2f8eaad08eb08413bf895
parentf0fc65b6525fff85f6a553fb004883b86192100d
ENGR00171027-3 usbcore:after plug in/out on the hub,host can't work

This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
    - If the suspend bit is set without phcd bit set, host controller
      can't resume normally
    - The workaround is after set suspend bit, we need set the following
      bit in USB PHY at once:
      HW_USBPHY_PWD_RXPWDRX
      HW_USBPHY_PWD_RXPWDDIFF
      HW_USBPHY_PWD_RXPWD1PT1
      HW_USBPHY_PWD_RXPWDENV
      HW_USBPHY_PWD_TXPWDv2I
      HW_USBPHY_PWD_TXPWDIBIAS
      HW_USBPHY_PWD_TXPWDFS
    - Furthermore, after resume, we must clear these bits during the K state
    - IC has no plan to fix this issue
    - This issue only happen on MX6Q/MX28

core part

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
drivers/usb/host/ehci-hub.c