aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2021-09-20 15:37:22 +0200
committerMarek Vasut <marex@denx.de>2021-09-22 21:29:56 +0200
commit950cb1f25f0bf7aaa83db41b14fc2aaab214125c (patch)
tree9eb4e621986ad3f7f9146d0a7f92a2c658a48ccb /include/linux/usb
parent672ee240d978354882bca1ec5cdd1a7a462cc597 (diff)
downloadu-boot-950cb1f25f0bf7aaa83db41b14fc2aaab214125c.zip
u-boot-950cb1f25f0bf7aaa83db41b14fc2aaab214125c.tar.gz
u-boot-950cb1f25f0bf7aaa83db41b14fc2aaab214125c.tar.bz2
usb: add support for ULPI/SERIAL/HSIC PHY modes
Import usb_phy_interface enum values and DT match strings from the Linux kernel. 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/linux/usb')
-rw-r--r--include/linux/usb/phy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h
index 1e1217a..14b2c7e 100644
--- a/include/linux/usb/phy.h
+++ b/include/linux/usb/phy.h
@@ -16,6 +16,9 @@ enum usb_phy_interface {
USBPHY_INTERFACE_MODE_UNKNOWN,
USBPHY_INTERFACE_MODE_UTMI,
USBPHY_INTERFACE_MODE_UTMIW,
+ USBPHY_INTERFACE_MODE_ULPI,
+ USBPHY_INTERFACE_MODE_SERIAL,
+ USBPHY_INTERFACE_MODE_HSIC,
};
#if CONFIG_IS_ENABLED(DM_USB)