MLK-18290-2 ehci-mx6: Update driver to support i.MX8MM
authorYe Li <ye.li@nxp.com>
Fri, 11 May 2018 08:26:30 +0000 (01:26 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:31:09 +0000 (02:31 -0700)
commitcacd9a9df22f3c1b985ed6f11a6dea496bfeb636
treead79e0b55166c213faa56ade05d21c33c93e5652
parentdd07d338dab13e7bee6c1c260d885d7c5716fb52
MLK-18290-2 ehci-mx6: Update driver to support i.MX8MM

Since the i.MX8MM reuses the otg controllers on i.MX7D. We can use
CONFIG_USB_EHCI_MX7 for them.

Due the TCPC and load switch are used on Typec circuit. Add the
board_usb_init and board_usb_cleanup to ehci-mx6 DM driver. So
we can implement the TCPC settings in these board functions.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 67699e88aed8bd36e919f54f9555ae15595faaf7)
(cherry picked from commit 13c19c6214ebb69706bb6710ac3ff1db5c2de185)
drivers/usb/host/Kconfig
drivers/usb/host/ehci-mx6.c