ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP
Subsystems (2)
PATCH v2 1/1 ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP
From: Ye Li <[email protected]>
The ULP has two USB controllers. These two controllers have similar NC registers layout as i.MX7D. But OTG0 uses UTMI PHY simliar as i.MX6, not the integrated PHY on i.MX7D. The OTG1 needs off-chip HSIC PHY or ULPI PHY to work.
This patch only supports OTG0 with UTMI PHY.
---
Chnages since v1:
- Updated the Kconfig description to include i.MX7ULP (Marek)
- Swapped the MX6 and MX7 to keep the list sorted (Marek)
drivers/usb/host/Kconfig | 6 ++--- drivers/usb/host/ehci-mx6.c | 53 ++++++++++++++++++++++++++++--------- 2 files changed, 43 insertions(+), 16 deletions(-)
drivers/usb/host/Kconfig +3 -3
@@ -141,8 +141,8 @@ config USB_EHCI_MX5 Enables support for the on-chip EHCI controller on i.MX5 SoCs. config USB_EHCI_MX6 - bool "Support for i.MX6 on-chip EHCI USB controller" - depends on ARCH_MX6 + bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller" + depends on ARCH_MX6 || ARCH_MX7ULP default y ---help--- Enables support for the on-chip EHCI controller on i.MX6 SoCs.
@@ -169,7 +169,7 @@ config USB_EHCI_VF help Enables support for the on-chip EHCI controller on Vybrid SoCs. -if USB_EHCI_MX7 +if USB_EHCI_MX6 || USB_EHCI_MX7 config MXC_USB_OTG_HACTIVE bool "USB Power pin high active"
drivers/usb/host/ehci-mx6.c +40 -13
128 lines not on this page · raw message
Signature · 1 line
2.17.1
Marek Vasut
AppliedPATCH v2 1/1 ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP
Quoted 4 lines · Fabio Estevam
The ULP has two USB controllers. These two controllers have similar NC registers layout as i.MX7D. But OTG0 uses UTMI PHY simliar as i.MX6, not the integrated PHY on i.MX7D. The OTG1 needs off-chip HSIC PHY or ULPI PHY to work.
Applied, thanks