
Add backported patched from 5.x from usb related fixes Up kernel version to most recent lts
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From c464da0bff6ab6fd39b4603d017de940832bc388 Mon Sep 17 00:00:00 2001
|
|
From: Grigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
|
|
Date: Wed, 29 Aug 2018 20:59:07 +0400
|
|
Subject: [PATCH 06/53] usb: dwc2: Update registers definitions to support
|
|
service interval
|
|
|
|
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 | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
|
|
index 0ca8e7bc7aaf..524629428439 100644
|
|
--- a/drivers/usb/dwc2/hw.h
|
|
+++ b/drivers/usb/dwc2/hw.h
|
|
@@ -312,6 +312,7 @@
|
|
#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
|
|
@@ -443,6 +444,7 @@
|
|
#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)
|
|
--
|
|
2.11.0
|
|
|