diff options
author | Steve Lin <stlin@nvidia.com> | 2011-01-11 17:09:22 -0800 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-01-20 15:36:31 -0800 |
commit | d3f13409174432bbbb8a94e1f29ed73f72f75d84 (patch) | |
tree | 9e9e69cac51eebc39e40adec1571fd4433ec439b /arch/arm/mach-tegra/include/mach | |
parent | b1072c3d8f4802d06ba6d94d742e811382a17844 (diff) |
[ARM] tegra: add ULPI Null PHY support
Adding ULPI Null PHY support in tegra usb driver.
Bug 776276
Change-Id: Ib2f25b67828f3f8128e1868b4ce9bd8bddcef22b
Reviewed-on: http://git-master/r/15433
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/usb_phy.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/usb_phy.h b/arch/arm/mach-tegra/include/mach/usb_phy.h index bb16019256ec..4caa610b619a 100644 --- a/arch/arm/mach-tegra/include/mach/usb_phy.h +++ b/arch/arm/mach-tegra/include/mach/usb_phy.h @@ -32,9 +32,25 @@ struct tegra_utmip_config { u8 xcvr_lsrslew; }; +enum tegra_ulpi_inf_type { + TEGRA_USB_LINK_ULPI = 0, + TEGRA_USB_NULL_ULPI, +}; + +struct tegra_ulpi_trimmer { + u8 shadow_clk_delay; /* 0 ~ 31 */ + u8 clock_out_delay; /* 0 ~ 31 */ + u8 data_trimmer; /* 0 ~ 7 */ + u8 stpdirnxt_trimmer; /* 0 ~ 7 */ +}; + struct tegra_ulpi_config { + enum tegra_ulpi_inf_type inf_type; int reset_gpio; const char *clk; + const struct tegra_ulpi_trimmer *trimmer; + int (*preinit)(void); + int (*postinit)(void); }; enum tegra_usb_phy_port_speed { |