summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/tegra_usb.h
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2011-04-08 14:10:19 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:31 -0800
commitc825b4b8313c6a60c6c90e2ce4280d149a99f6d0 (patch)
treedc13889e49e2ae9dd6398822bf3c51cafa6a5424 /include/linux/platform_data/tegra_usb.h
parentb8b0ce5a8711d1c5fbcc5abfedc9bc94976a98c9 (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> Original-Change-Id: I9cf7330eb7935a373a5db6cff7e893b9e5a13d51 Rebase-Id: Raa8bc3b12d86ab6deb0f0f9965f03f3fd64b26bd
Diffstat (limited to 'include/linux/platform_data/tegra_usb.h')
-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 {