summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2011-04-08 14:10:19 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:55:39 -0700
commit07c913542d3f3c346f92a35fcc2effde32d6bd85 (patch)
tree1a1813d26bb4fc68ebfdd29727ada4fda11fd4d2 /include
parent79997a2766061a7423b41f0475a9ede880ca5f09 (diff)
usb: tegra: adding proper usb phy types
Adding proper usb phy types for link ULPI and null ULPI. Bug 800301 Original-Change-Id: Ifec7d21d7d013ad81792080d276f59a8c6086c8b Reviewed-on: http://git-master/r/24238 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I9cf7330eb7935a373a5db6cff7e893b9e5a13d51
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/tegra_usb.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/platform_data/tegra_usb.h b/include/linux/platform_data/tegra_usb.h
index 12482ff8dd1e..27879ce1d73e 100644
--- a/include/linux/platform_data/tegra_usb.h
+++ b/include/linux/platform_data/tegra_usb.h
@@ -22,11 +22,12 @@ enum tegra_usb_operating_modes {
TEGRA_USB_OTG,
};
-enum tegra_usb_phy_host_type {
- TEGRA_USB_PHY_HOST_TYPE_UTMIP = 1,
- TEGRA_USB_PHY_HOST_TYPE_ULPI = 2,
- TEGRA_USB_PHY_HOST_TYPE_HSIC = 3,
- TEGRA_USB_PHY_HOST_TYPE_ICUSB = 4,
+enum tegra_usb_phy_type {
+ TEGRA_USB_PHY_TYPE_UTMIP = 0,
+ TEGRA_USB_PHY_TYPE_LINK_ULPI = 1,
+ TEGRA_USB_PHY_TYPE_NULL_ULPI = 2,
+ TEGRA_USB_PHY_TYPE_HSIC = 3,
+ TEGRA_USB_PHY_TYPE_ICUSB = 4,
};
struct tegra_ehci_platform_data {
@@ -34,7 +35,7 @@ struct tegra_ehci_platform_data {
/* power down the phy on bus suspend */
int power_down_on_bus_suspend;
void *phy_config;
- enum tegra_usb_phy_host_type usb_phy_type;
+ enum tegra_usb_phy_type phy_type;
};
struct tegra_otg_platform_data {