aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/amifdreg.h
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2010-12-15 19:31:28 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-16 16:37:48 -0500
commit0247a7bcd4273fa10c4aba9b3f567c659bab2d2b (patch)
tree78316e82037bad3cbfcb329f240181671b6b0f7e /include/linux/amifdreg.h
parent2c8245c4990e75d86ab30bb0af9bb90cbe04985d (diff)
USB: ehci-mxc: Setup portsc register prior to accessing OTG viewport
In order to read/write to the i.MX OTG viewport register it is necessary to setup the PORTSCx register first. By default i.MX OTG port is configured for USB serial PHY. In order to use a ULPI PHY the PORTSCx register needs to be configured properly. commit 724c852 (USB: ehci/mxc: compile fix) placed the PORTSC setup after the OTG viewport is accessed and this causes ULPI read/write to fail. Revert the PORTSC setup order. Tested on a MX31PDK board with a ISP1504 transceiver: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver mxc-ehci mxc-ehci.0: initializing i.MX USB Controller ULPI transceiver vendor/product ID 0x04cc/0x1504 Found NXP ISP1504 ULPI transceiver. ULPI integrity check: passed. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/amifdreg.h')
0 files changed, 0 insertions, 0 deletions