diff options
author | Ye.Li <B37916@freescale.com> | 2015-11-04 16:40:36 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2015-11-04 17:39:08 +0800 |
commit | 28b46992955d73ffcd7a944d626ae93f28317c59 (patch) | |
tree | ed4ac5fa9d87f6ce6cb3627dc3fb79868d5b1e77 | |
parent | 7934205d5b67ade1420792d2bf5672ac470edbc1 (diff) | |
download | u-boot-imx-28b46992955d73ffcd7a944d626ae93f28317c59.zip u-boot-imx-28b46992955d73ffcd7a944d626ae93f28317c59.tar.gz u-boot-imx-28b46992955d73ffcd7a944d626ae93f28317c59.tar.bz2 |
MLK-11823 USB:gadget Fix USB port interface issue in ci_udc driver
The ci_udc driver tries to use the ULPI interface for the USB OTG controller,
but this type is not supported by all i.MX6 and i.MX7 platforms. When setting to
ULPI, other platforms except the 6UL refuse the settings and keep default value.
But on 6UL, the PTW bit of PORTSC1 register which is documented as RO can change.
This cause the interface setting problem with USB PHY.
Fix the issue by removing the ULPI setting for i.MX6 and i.MX7. All will use default
UTMI setting.
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit f78cbee0375dcb81b10bac2e0dcd254d0551baa9)
-rw-r--r-- | drivers/usb/gadget/ci_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 1dd8b11..70ac819 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -888,7 +888,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) return ret; ret = ci_udc_probe(); -#if defined(CONFIG_USB_EHCI_MX6) || defined(CONFIG_USB_EHCI_MXS) || defined(CONFIG_USB_EHCI_MX7) +#if defined(CONFIG_USB_EHCI_MXS) /* * FIXME: usb_lowlevel_init()->ehci_hcd_init() should be doing all * HW-specific initialization, e.g. ULPI-vs-UTMI PHY selection |