Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1626008 > unrolled thread

[PATCH 2/3] usb: dwc2: Define Active Clock Gating support bit in GHWCFG4

Started byRazmik Karapetyan <Razmik.Karapetyan@synopsys.com>
First post2017-04-19 12:50 +0200
Last post2017-04-19 12:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 2/3] usb: dwc2: Define Active Clock Gating support bit in GHWCFG4 Razmik Karapetyan <Razmik.Karapetyan@synopsys.com> - 2017-04-19 12:50 +0200

#1626008 — [PATCH 2/3] usb: dwc2: Define Active Clock Gating support bit in GHWCFG4

FromRazmik Karapetyan <Razmik.Karapetyan@synopsys.com>
Date2017-04-19 12:50 +0200
Subject[PATCH 2/3] usb: dwc2: Define Active Clock Gating support bit in GHWCFG4
Message-ID<txVln-2o9-3@gated-at.bofh.it>
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.

Signed-off-by: Razmik Karapetyan <razmik@synopsys.com>
---
 drivers/usb/dwc2/hw.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index b726701..0f7806c 100644
--- a/drivers/usb/dwc2/hw.h
+++ b/drivers/usb/dwc2/hw.h
@@ -308,6 +308,7 @@
 #define GHWCFG4_NUM_DEV_MODE_CTRL_EP_SHIFT	16
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_MASK	(0x3 << 14)
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_SHIFT	14
+#define GHWCFG4_ACG_SUPPORTED			BIT(12)
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_8		0
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_16		1
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_8_OR_16	2
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web