summaryrefslogtreecommitdiff
path: root/include/linux/usb/tegra_usb_phy.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-04-10 01:02:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 09:50:57 +0200
commit143470368efd3f0fb4cbe81aa89f49de8048d8a9 (patch)
tree3be5a1e74b7d20059e37b8ccee62c503e87f0b0d /include/linux/usb/tegra_usb_phy.h
parentf59cd940051459f04eb5cbdf07cab27d628439cf (diff)
usb: tegra: Move utmi-pads reset from ehci-tegra to tegra-phy
UTMI pads are shared by USB controllers and reset of UTMI pads is shared with the reset of USB1 controller. Currently reset of UTMI pads is done by the EHCI driver and ChipIdea UDC works because EHCI driver always happen to be probed first. Move reset controls from ehci-tegra to tegra-phy in order to resolve the problem. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/tegra_usb_phy.h')
-rw-r--r--include/linux/usb/tegra_usb_phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/tegra_usb_phy.h b/include/linux/usb/tegra_usb_phy.h
index d641ea1660b7..0c5c3ea8b2d7 100644
--- a/include/linux/usb/tegra_usb_phy.h
+++ b/include/linux/usb/tegra_usb_phy.h
@@ -17,6 +17,7 @@
#define __TEGRA_USB_PHY_H
#include <linux/clk.h>
+#include <linux/reset.h>
#include <linux/usb/otg.h>
/*
@@ -76,6 +77,7 @@ struct tegra_usb_phy {
bool is_legacy_phy;
bool is_ulpi_phy;
int reset_gpio;
+ struct reset_control *pad_rst;
};
void tegra_usb_phy_preresume(struct usb_phy *phy);