summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVenu Byravarasu <vbyravarasu@nvidia.com>2013-01-17 20:15:37 +0000
committerStephen Warren <swarren@nvidia.com>2013-01-28 11:20:05 -0700
commitbbdabdb62d86090511410728644a19291bf300cf (patch)
tree4ad3a6fa47c2368be8a84feefec222f78951ede1 /include
parent3f9db1a19a8a17f6000973194c6a1d63c5cebf21 (diff)
downloadlinux-bbdabdb62d86090511410728644a19291bf300cf.tar.gz
linux-bbdabdb62d86090511410728644a19291bf300cf.tar.bz2
linux-bbdabdb62d86090511410728644a19291bf300cf.zip
usb: add APIs to access host registers from Tegra PHY
As Tegra PHY driver needs to access one of the host registers, added few APIs. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> [swarren: moved assignment of phy->is_ulpi_phy to previous patch.] Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/tegra_usb_phy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb/tegra_usb_phy.h b/include/linux/usb/tegra_usb_phy.h
index a6a89d4866f4..9259d4659582 100644
--- a/include/linux/usb/tegra_usb_phy.h
+++ b/include/linux/usb/tegra_usb_phy.h
@@ -75,4 +75,8 @@ void tegra_ehci_phy_restore_start(struct tegra_usb_phy *phy,
void tegra_ehci_phy_restore_end(struct tegra_usb_phy *phy);
+void tegra_ehci_set_pts(struct usb_phy *x, u8 pts_val);
+
+void tegra_ehci_set_phcd(struct usb_phy *x, bool enable);
+
#endif /* __TEGRA_USB_PHY_H */