diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2021-09-20 15:37:25 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-09-22 21:29:56 +0200 |
commit | 0f513c5975105a8cfdf80cc9862e4c65826ead84 (patch) | |
tree | f0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6 /include/usb | |
parent | 8709228b5c61d56c21461a797b12e275bdd3c044 (diff) | |
download | u-boot-0f513c5975105a8cfdf80cc9862e4c65826ead84.tar.gz u-boot-0f513c5975105a8cfdf80cc9862e4c65826ead84.tar.bz2 u-boot-0f513c5975105a8cfdf80cc9862e4c65826ead84.zip |
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>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/ehci-ci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h index bf5d26faa5..2cdb3146e8 100644 --- a/include/usb/ehci-ci.h +++ b/include/usb/ehci-ci.h @@ -23,6 +23,7 @@ #define PORT_PTS_ULPI (2 << 30) #define PORT_PTS_SERIAL (3 << 30) #define PORT_PTS_PTW (1 << 28) +#define PORT_PTS_HSIC (1 << 25) #define PORT_PFSC (1 << 24) /* Defined on Page 39-44 of the mpc5151 ERM */ #define PORT_PTS_PHCD (1 << 23) #define PORT_PP (1 << 12) |