diff options
| author | Roger Quadros <[email protected]> | 2024-05-16 10:15:36 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-04 15:41:10 +0200 |
| commit | 0aca19e4037a4143273e90f1b44666b78b4dde9b (patch) | |
| tree | a53800094a0a93866001c3f6bd7f8b7cd0be534d /drivers/usb/cdns3/core.h | |
| parent | 8b6b386f9aa936ed0c190446c71cf59d4a507690 (diff) | |
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/core.h')
| -rw-r--r-- | drivers/usb/cdns3/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/core.h b/drivers/usb/cdns3/core.h index 81a9c9d6be08..57d47348dc19 100644 --- a/drivers/usb/cdns3/core.h +++ b/drivers/usb/cdns3/core.h @@ -44,6 +44,7 @@ struct cdns3_platform_data { bool suspend, bool wakeup); unsigned long quirks; #define CDNS3_DEFAULT_PM_RUNTIME_ALLOW BIT(0) +#define CDNS3_DRD_SUSPEND_RESIDENCY_ENABLE BIT(1) }; /** |