summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/tegra_usb.h
diff options
context:
space:
mode:
authorSuresh Mangipudi <smangipudi@nvidia.com>2011-02-11 11:32:08 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:29 -0800
commite26d3ee6a7c33df7313bee68776ba87c8512f735 (patch)
tree7965439f079730ce82ded669a53fd822186d809c /include/linux/platform_data/tegra_usb.h
parent495d3aa360229db958d3915a4566ae3997fd1839 (diff)
arm: tegra: usb: Enable Host mode on USB2-UTMI port
Enable the host mode on usb2 UTMI phy interface Bug 787810 Original-Change-Id: Ia7da2a0d196f900f80812b987c9fb5302412e751 Reviewed-on: http://git-master/r/18729 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Original-Change-Id: I2e7306b82926f2ca566d595dc75252d4881306fb Rebase-Id: R27ce36f7c4a9d6b52a1314704234745ad5ed6728
Diffstat (limited to 'include/linux/platform_data/tegra_usb.h')
-rw-r--r--include/linux/platform_data/tegra_usb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/platform_data/tegra_usb.h b/include/linux/platform_data/tegra_usb.h
index e48ac43dd047..07ef48b69481 100644
--- a/include/linux/platform_data/tegra_usb.h
+++ b/include/linux/platform_data/tegra_usb.h
@@ -21,11 +21,19 @@ 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,
+};
+
struct tegra_ehci_platform_data {
enum tegra_usb_operating_modes operating_mode;
/* 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;
};
struct tegra_otg_platform_data {