
16 Sep
2020
16 Sep
'20
3:39 p.m.
On 9/16/20 2:56 PM, peng.fan@nxp.com wrote:
From: Ye Li ye.li@nxp.com
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.
Do we really want board-specific callbacks in the USB driver ? That doesn't work too well with DM, so maybe this could be fixed otherwise ?