usb: dwc2: Update registers definitions to support service interval
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
Wed, 29 Aug 2018 16:59:07 +0000 (20:59 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:49:13 +0000 (10:49 +0300)
Added GHWCFG4_SERVICE_INTERVAL_SUPPORTED and
DCTL_SERVICE_INTERVAL_SUPPORTED bits definitions to support
service interval based scheduling.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hw.h

index 0ca8e7bc7aaf94af56ae56cb1923ecaee91b60ab..524629428439392e2ba4ab815fec0d922ad614ee 100644 (file)
 #define GHWCFG4_UTMI_PHY_DATA_WIDTH_SHIFT      14
 #define GHWCFG4_ACG_SUPPORTED                  BIT(12)
 #define GHWCFG4_IPG_ISOC_SUPPORTED             BIT(11)
+#define GHWCFG4_SERVICE_INTERVAL_SUPPORTED      BIT(10)
 #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
 #define DCFG_DEVSPD_FS48               3
 
 #define DCTL                           HSOTG_REG(0x804)
+#define DCTL_SERVICE_INTERVAL_SUPPORTED BIT(19)
 #define DCTL_PWRONPRGDONE              BIT(11)
 #define DCTL_CGOUTNAK                  BIT(10)
 #define DCTL_SGOUTNAK                  BIT(9)