]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00258491-2 msl-mx6: usb: put PHY to be out of low power explicitly
authorPeter Chen <peter.chen@freescale.com>
Tue, 16 Apr 2013 01:47:15 +0000 (09:47 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:00 +0000 (14:14 +0200)
commit46e9ba6e3fc7865ca8bf19d9fbd04eba26db8063
treed8a851dada8c802fa2672692c4cb43075be4424f
parent92362c9bd09659f7fcac6e7ffda7023a3401b64a
ENGR00258491-2 msl-mx6: usb: put PHY to be out of low power explicitly

We have wrong understanding that reset controller will put PHY
to be out of low power automatically, but in fact, it is not.
So, we should put PHY to be out of low power explicitly if the
portsc.phcd = 1 before we need to access controller's register.
Some register writing will hang system (eg,PERIODICLISTBASE),
some reading will not get the correct value (eg, otgsc).

Signed-off-by: Peter Chen <peter.chen@freescale.com>
arch/arm/mach-mx6/usb_dr.c
arch/arm/mach-mx6/usb_h1.c