aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/core.h
diff options
context:
space:
mode:
authorRoger Quadros <[email protected]>2024-05-16 04:45:36 +0000
committerGreg Kroah-Hartman <[email protected]>2024-06-04 13:41:10 +0000
commit0aca19e4037a4143273e90f1b44666b78b4dde9b (patch)
treea53800094a0a93866001c3f6bd7f8b7cd0be534d /drivers/usb/cdns3/core.h
parentusbip: Don't submit special requests twice (diff)
downloadkernel-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/core.h')
-rw-r--r--drivers/usb/cdns3/core.h1
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)
};
/**