summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2016-08-10 15:53:34 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-22 09:45:11 +0200
commit83f8da562f8b5275fa1095b45762996971f7c607 (patch)
tree399f737f771099fa70ae01755d835d04894cbb29 /drivers/usb/dwc2/core.h
parentusb: dwc3: core: allow device to runtime_suspend several times (diff)
downloadlinux-83f8da562f8b5275fa1095b45762996971f7c607.tar.xz
linux-83f8da562f8b5275fa1095b45762996971f7c607.zip
usb: dwc2: Add reset control to dwc2
Allow for platforms that have a reset controller driver in place to bring the USB IP out of reset. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Acked-by: John Youn <johnyoun@synopsys.com> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> 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 9fae0291cd69..d64551243789 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -868,6 +868,7 @@ struct dwc2_hsotg {
void *priv;
int irq;
struct clk *clk;
+ struct reset_control *reset;
unsigned int queuing_high_bandwidth:1;
unsigned int srp_success:1;