[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250801095748.385437-4-haotienh@nvidia.com>
Date: Fri, 1 Aug 2025 17:57:47 +0800
From: Haotien Hsu <haotienh@...dia.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Thierry Reding <thierry.reding@...il.com>, "Jonathan
Hunter" <jonathanh@...dia.com>, Mathias Nyman <mathias.nyman@...el.com>,
"Brad Griffis" <bgriffis@...dia.com>, Sumit Gupta <sumitg@...dia.com>,
"Vedant Deshpande" <vedantd@...dia.com>, Akhil R <akhilrajeev@...dia.com>,
Jinjie Ruan <ruanjinjie@...wei.com>, <linux-usb@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Haotien Hsu <haotienh@...dia.com>, Henry Lin <henryl@...dia.com>, "Jui
Chang Kuo" <jckuo@...dia.com>, Wayne Chang <waynec@...dia.com>, WK Tsai
<wtsai@...dia.com>
Subject: [PATCH 3/4] soc/tegra: pmc: Add USB wake events for Tegra234
Add USB wake events for Tegra234 so that system can be woken up from
suspend when USB devices hot-plug/unplug event is detected.
Signed-off-by: Haotien Hsu <haotienh@...dia.com>
---
drivers/soc/tegra/pmc.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 51b9d852bb6a..bf3a46e24aa3 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -4209,6 +4209,13 @@ static const struct tegra_wake_event tegra234_wake_events[] = {
TEGRA_WAKE_GPIO("power", 29, 1, TEGRA234_AON_GPIO(EE, 4)),
TEGRA_WAKE_GPIO("mgbe", 56, 0, TEGRA234_MAIN_GPIO(Y, 3)),
TEGRA_WAKE_IRQ("rtc", 73, 10),
+ TEGRA_WAKE_IRQ("usb3-port-0", 76, 167),
+ TEGRA_WAKE_IRQ("usb3-port-1", 77, 167),
+ TEGRA_WAKE_IRQ("usb3-port-2-3", 78, 167),
+ TEGRA_WAKE_IRQ("usb2-port-0", 79, 167),
+ TEGRA_WAKE_IRQ("usb2-port-1", 80, 167),
+ TEGRA_WAKE_IRQ("usb2-port-2", 81, 167),
+ TEGRA_WAKE_IRQ("usb2-port-3", 82, 167),
TEGRA_WAKE_IRQ("sw-wake", SW_WAKE_ID, 179),
};
--
2.34.1
Powered by blists - more mailing lists