usb: ehci-mx6: use phy_type from device tree
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Mon, 20 Sep 2021 13:37:25 +0000 (15:37 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 22 Sep 2021 19:29:56 +0000 (21:29 +0200)
commit0f513c5975105a8cfdf80cc9862e4c65826ead84
treef0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6
parent8709228b5c61d56c21461a797b12e275bdd3c044
usb: ehci-mx6: use phy_type from device tree

Allow using different PHY interfaces for multiple USB controllers. When no
value is set in DT, we fall back to CONFIG_MXC_USB_PORTSC for now to stay
compatible with current board configurations.

This also adds support for the HSIC mode of the i.MX7.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
drivers/usb/host/ehci-mx6.c
include/usb/ehci-ci.h