diff options
author | Venu Byravarasu | 2013-01-17 21:15:37 +0100 |
---|---|---|
committer | Stephen Warren | 2013-01-28 19:20:05 +0100 |
commit | bbdabdb62d86090511410728644a19291bf300cf (patch) | |
tree | 4ad3a6fa47c2368be8a84feefec222f78951ede1 /include/linux/usb/tegra_usb_phy.h | |
parent | USB: PHY: tegra: Get rid of instance number to differentiate PHY type (diff) | |
download | kernel-qcow2-linux-bbdabdb62d86090511410728644a19291bf300cf.tar.gz kernel-qcow2-linux-bbdabdb62d86090511410728644a19291bf300cf.tar.xz kernel-qcow2-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/linux/usb/tegra_usb_phy.h')
-rw-r--r-- | include/linux/usb/tegra_usb_phy.h | 4 |
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 */ |