diff options
author | Minas Harutyunyan <Minas.Harutyunyan@synopsys.com> | 2024-03-13 12:19:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-26 12:44:53 +0300 |
commit | f73220f7fda1034b17fd5739965b73066ba6e305 (patch) | |
tree | 267de54d15c0ddfd0d9a1d5fb730c322a4981c3f /drivers/usb | |
parent | 799d9c2750b885ad46d5eea9fb1a331b31e1cde5 (diff) | |
download | linux-f73220f7fda1034b17fd5739965b73066ba6e305.tar.xz |
usb: dwc2: New bit definition in GOTGCTL register
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>
Link: https://lore.kernel.org/r/21e4401895d586afa23c3fa3d3518bd4b7ebd4d5.1708948356.git.Minas.Harutyunyan@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc2/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |