diff mbox series

[2/7] usb: dwc2: New bit definition in GOTGCTL register

Message ID 21e4401895d586afa23c3fa3d3518bd4b7ebd4d5.1708948356.git.Minas.Harutyunyan@synopsys.com
State New
Headers show
Series usb: dwc2: Updates for new core v5.00a | expand

Commit Message

Minas Harutyunyan March 13, 2024, 9:19 a.m. UTC
Added new bit EUSB2_DISC_SUPP in GOTGCTL register.
This bit applicable in device mode of HSOTG and HS IOT cores
v5.00 or higher.
This bit used for Device Disconnect detection with eUSB2 PHY.

Signed-off-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
---
 drivers/usb/dwc2/hw.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 13abdd5f6752..c1d5d46c33e3 100644
--- a/drivers/usb/dwc2/hw.h
+++ b/drivers/usb/dwc2/hw.h
@@ -11,6 +11,7 @@ 
 #define HSOTG_REG(x)	(x)
 
 #define GOTGCTL				HSOTG_REG(0x000)
+#define GOTGCTL_EUSB2_DISC_SUPP	BIT(28)
 #define GOTGCTL_CHIRPEN			BIT(27)
 #define GOTGCTL_MULT_VALID_BC_MASK	(0x1f << 22)
 #define GOTGCTL_MULT_VALID_BC_SHIFT	22