summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2021-09-20 16:37:25 +0300
committerMarek Vasut <marex@denx.de>2021-09-22 22:29:56 +0300
commit0f513c5975105a8cfdf80cc9862e4c65826ead84 (patch)
treef0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6 /include
parent8709228b5c61d56c21461a797b12e275bdd3c044 (diff)
downloadu-boot-0f513c5975105a8cfdf80cc9862e4c65826ead84.tar.xz
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')
-rw-r--r--include/usb/ehci-ci.h1
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)