From: Ivy Huang <yijuh@nvidia.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
Brad Griffis <bgriffis@nvidia.com>
Cc: Haotien Hsu <haotienh@nvidia.com>, Henry Lin <henryl@nvidia.com>,
"Wayne Chang" <waynec@nvidia.com>, Ivy Huang <yijuh@nvidia.com>
Subject: [PATCH] arm64: tegra: Enable Tegra234 USB remote wakeup
Date: Thu, 6 Feb 2025 22:27:31 +0000 [thread overview]
Message-ID: <20250206222731.3691073-1-yijuh@nvidia.com> (raw)
From: Haotien Hsu <haotienh@nvidia.com>
Populate the USB wake-up interrupts for Tegra234 to enable
the USB device to wake the system up from low power modes.
Signed-off-by: Henry Lin <henryl@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Haotien Hsu <haotienh@nvidia.com>
Signed-off-by: Ivy Huang <yijuh@nvidia.com>
---
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 2601b43b2d8c..bbd5f7c2bf03 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -3254,8 +3254,22 @@
<0x0 0x03650000 0x0 0x10000>;
reg-names = "hcd", "fpci", "bar2";
- interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts-extended = <&gic GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+ <&gic GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 76 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 77 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 78 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 79 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 80 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 81 IRQ_TYPE_LEVEL_HIGH>,
+ <&pmc 82 IRQ_TYPE_LEVEL_HIGH>;
+ /*
+ * wake0, wake1, wake2 are for USB3.0 ports
+ * wake3, wake4, wake5, wake6 are for USB2.0 ports
+ */
+ interrupt-names = "xhci", "mbox",
+ "wake0", "wake1", "wake2", "wake3",
+ "wake4", "wake5", "wake6";
clocks = <&bpmp TEGRA234_CLK_XUSB_CORE_HOST>,
<&bpmp TEGRA234_CLK_XUSB_FALCON>,
--
2.17.1
next reply other threads:[~2025-02-06 22:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-06 22:27 Ivy Huang [this message]
2025-02-07 15:21 ` [PATCH] arm64: tegra: Enable Tegra234 USB remote wakeup Rob Herring (Arm)
2025-02-07 16:35 ` Thierry Reding
2025-03-06 18:08 ` Thierry Reding
2025-03-06 19:36 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250206222731.3691073-1-yijuh@nvidia.com \
--to=yijuh@nvidia.com \
--cc=bgriffis@nvidia.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=haotienh@nvidia.com \
--cc=henryl@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=waynec@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox