diff options
author | Benoit Goby <benoit@android.com> | 2011-01-18 16:57:48 -0800 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-01-18 17:13:53 -0800 |
commit | d72d507ae9c1e576e8b0e78d12db2a08fae35107 (patch) | |
tree | 9ba02b9dd949218b78d22f5570ed706f42debbf9 /arch/arm/mach-tegra/include | |
parent | 65a1f91c2f3ad41fdcd6829af0f4ba222db3e99f (diff) |
ARM: tegra: usb_phy: Program DPDM_OBSERVE depending on the device speed
Low speed devices require a K-state resume signaling instead of J.
Change-Id: Ic06011f45c2b0f4cd969d018f2783acea57cb510
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/usb_phy.h | 11 |
1 files changed, 2 insertions, 9 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..cc42e7b044b4 100644 --- a/arch/arm/mach-tegra/include/mach/usb_phy.h +++ b/arch/arm/mach-tegra/include/mach/usb_phy.h @@ -43,13 +43,6 @@ enum tegra_usb_phy_port_speed { TEGRA_USB_PHY_PORT_HIGH, }; -struct tegra_utmip_context { - bool valid; - u32 regs[USB_PHY_MAX_CONTEXT_REGS]; - int regs_count; - enum tegra_usb_phy_port_speed port_speed; -}; - enum tegra_usb_phy_mode { TEGRA_USB_PHY_MODE_DEVICE, TEGRA_USB_PHY_MODE_HOST, @@ -65,7 +58,6 @@ struct tegra_usb_phy { struct clk *pad_clk; enum tegra_usb_phy_mode mode; void *config; - struct tegra_utmip_context context; }; struct tegra_usb_phy *tegra_usb_phy_open(int instance, void __iomem *regs, @@ -83,7 +75,8 @@ int tegra_usb_phy_preresume(struct tegra_usb_phy *phy); int tegra_usb_phy_postresume(struct tegra_usb_phy *phy); -int tegra_ehci_phy_restore_start(struct tegra_usb_phy *phy); +int tegra_ehci_phy_restore_start(struct tegra_usb_phy *phy, + enum tegra_usb_phy_port_speed port_speed); int tegra_ehci_phy_restore_end(struct tegra_usb_phy *phy); |