summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <[email protected]>2021-09-20 15:37:22 +0200
committerRamon Fried <[email protected]>2021-09-28 18:50:55 +0300
commitdaa632907e32c1ab348ffc0c88dbce064ab0c468 (patch)
tree9eb4e621986ad3f7f9146d0a7f92a2c658a48ccb /include
parentde5aef0fc7b6cacfaa38ca08ef147e973a32908c (diff)
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 <[email protected]> Signed-off-by: Matthias Schiffer <[email protected]>
Diffstat (limited to 'include')
-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 1e1217a9583..14b2c7eb2e6 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)