diff options
| author | Roger Quadros <[email protected]> | 2024-05-16 04:45:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-04 13:41:10 +0000 |
| commit | 0aca19e4037a4143273e90f1b44666b78b4dde9b (patch) | |
| tree | a53800094a0a93866001c3f6bd7f8b7cd0be534d /drivers/usb/cdns3/drd.h | |
| parent | usbip: Don't submit special requests twice (diff) | |
| download | kernel-0aca19e4037a4143273e90f1b44666b78b4dde9b.tar.gz kernel-0aca19e4037a4143273e90f1b44666b78b4dde9b.zip | |
usb: cdns3: Add quirk flag to enable suspend residency
Some platforms (e.g. ti,j721e-usb, ti,am64-usb) require
this bit to be set to workaround a lockup issue with PHY
short suspend intervals [1]. Add a platform quirk flag
to indicate if Suspend Residency should be enabled.
[1] - https://www.ti.com/lit/er/sprz457h/sprz457h.pdf
i2409 - USB: USB2 PHY locks up due to short suspend
Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: Ravi Gunasekaran <[email protected]>
Acked-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/drd.h')
| -rw-r--r-- | drivers/usb/cdns3/drd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h index d72370c321d3..1e2aee14d629 100644 --- a/drivers/usb/cdns3/drd.h +++ b/drivers/usb/cdns3/drd.h @@ -193,6 +193,9 @@ struct cdns_otg_irq_regs { /* OTGREFCLK - bitmasks */ #define OTGREFCLK_STB_CLK_SWITCH_EN BIT(31) +/* SUPS_CTRL - bitmasks */ +#define SUSP_CTRL_SUSPEND_RESIDENCY_ENABLE BIT(17) + /* OVERRIDE - bitmasks */ #define OVERRIDE_IDPULLUP BIT(0) /* Only for CDNS3_CONTROLLER_V0 version */ |
