summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-04-10 01:02:58 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-05-15 10:09:49 +0300
commitd2b9889f77165891378d79efd40d74e0162f56d8 (patch)
treeeeccbcd4008e7bb432ad669f48aec231ae091012 /include/linux/usb
parent3e1d333f6b84d050870ccdc2d9e88679937f1b6f (diff)
downloadlinux-d2b9889f77165891378d79efd40d74e0162f56d8.tar.gz
linux-d2b9889f77165891378d79efd40d74e0162f56d8.tar.bz2
linux-d2b9889f77165891378d79efd40d74e0162f56d8.zip
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: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/usb')
-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);