summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2017-11-01 10:34:53 -0500
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-12-12 13:04:22 +0200
commitf2830ad455ec0fdc386baeb9d654f7095bf849da (patch)
tree36e4ec9685c427897027408661f9f5d338c2c939 /drivers/usb/dwc2/core.h
parent5785e87a3db80a033c16e19de7741bc444f50f1a (diff)
downloadlinux-stable-f2830ad455ec0fdc386baeb9d654f7095bf849da.tar.gz
linux-stable-f2830ad455ec0fdc386baeb9d654f7095bf849da.tar.bz2
linux-stable-f2830ad455ec0fdc386baeb9d654f7095bf849da.zip
usb: dwc2: add optional usb ecc reset bit
The dwc2 USB controller in Stratix10 has an additional ECC reset bit that needs to get de-asserted in order for the controller to work properly. Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r--drivers/usb/dwc2/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index f66c94130cac..f22f2e9d0759 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -925,6 +925,7 @@ struct dwc2_hsotg {
int irq;
struct clk *clk;
struct reset_control *reset;
+ struct reset_control *reset_ecc;
unsigned int queuing_high_bandwidth:1;
unsigned int srp_success:1;