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)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commite2a41bf63836e9336b4b301d26719445efb828c7
treef0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6
parent656bc27d502ca1f63846f6b8719e921621058594
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