]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commite2f79f7755eaf2d0f33442bed31f897ca9d9b3f0
treef0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6
parentd992684b16b72082f5d239399c06871242dc659e
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