summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorRazmik Karapetyan <razmik@synopsys.com>2018-01-24 17:40:56 +0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-03-13 10:47:47 +0200
commit600a490e180fb95e487b180f00985567c00fa9a9 (patch)
tree6f5046f289d8829207438f2f9c9b942db1e8d139 /drivers/usb/dwc2/core.h
parent66e77a24a8c36ff83f0a12f44d23d8141e82fa3b (diff)
downloadblackbird-obmc-linux-600a490e180fb95e487b180f00985567c00fa9a9.tar.gz
blackbird-obmc-linux-600a490e180fb95e487b180f00985567c00fa9a9.zip
usb: dwc2: Backup and restore PCGCCTL1 register
Backup PCGCCTL1 register when entering hibernation mode and restore it after exiting from hibernation, to keep active ACG feature. Signed-off-by: Razmik Karapetyan <razmik@synopsys.com> Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.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 a7033b9f20f5..f6daa58446ae 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -628,6 +628,7 @@ struct dwc2_gregs_backup {
u32 gi2cctl;
u32 hptxfsiz;
u32 pcgcctl;
+ u32 pcgcctl1;
u32 gdfifocfg;
u32 dtxfsiz[MAX_EPS_CHANNELS];
u32 gpwrdn;
OpenPOWER on IntegriCloud