diff options
author | Suresh Mangipudi <smangipudi@nvidia.com> | 2011-02-11 11:32:08 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-04-26 15:51:37 -0700 |
commit | e8bf11a59f1b594d377ca35453c2a44230f9338b (patch) | |
tree | 1ac44a2e00f2b3a1e04b9e25ae1d97ca38ac7acd /include | |
parent | e122444f84b778d5026e2b3595f133ff110553a7 (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>
Change-Id: I2e7306b82926f2ca566d595dc75252d4881306fb
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 8 | ||||
-rw-r--r-- | include/linux/platform_data/tegra_usb.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index b39a195775e3..9517375ba9f7 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -58,12 +58,20 @@ enum fsl_usb2_phy_modes { FSL_USB2_PHY_SERIAL, }; +enum fsl_usb2_phy_types { + FSL_USB2_PHY_TYPE_UTMIP = 1, + FSL_USB2_PHY_TYPE_ULPI = 2, + FSL_USB2_PHY_TYPE_HSIC = 3, + FSL_USB2_PHY_TYPE_ICUSB = 4, +}; + struct fsl_usb2_platform_data { /* board specific information */ enum fsl_usb2_operating_modes operating_mode; enum fsl_usb2_phy_modes phy_mode; unsigned int port_enables; void *phy_config; + enum fsl_usb2_phy_types usb_phy_type; }; /* Flags in fsl_usb2_mph_platform_data */ 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 { |