[PATCH 05/13] usb: ehci-mx6: Update driver to support i.MX8MM
Marek Vasut
marex at denx.de
Wed Sep 16 15:39:23 CEST 2020
On 9/16/20 2:56 PM, peng.fan at nxp.com wrote:
> From: Ye Li <ye.li at 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 ?
More information about the U-Boot
mailing list