[PATCH 1/1] arm64: dts: qcom: sm8250: Add wakeup-source to usb_1 and usb_2

From: Bryan O'Donoghue
Date: Wed Nov 08 2023 - 19:43:20 EST


To test out a different GDSC change I wanted to have a USB keypress resume
a system in suspend.

Adding wakeup-source to usb_1 and usb_2 "just works" for me on rb5.
Consistent with qcm2290 and sa8775p add wakeup-source to the dtsi for the
SoC.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index e43a16df4c7ec..c2d929e62c840 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -3878,6 +3878,7 @@ usb_1: usb@a6f8800 {
"dp_hs_phy_irq";

power-domains = <&gcc USB30_PRIM_GDSC>;
+ wakeup-source;

resets = <&gcc GCC_USB30_PRIM_BCR>;

@@ -3942,6 +3943,7 @@ usb_2: usb@a8f8800 {
"dp_hs_phy_irq";

power-domains = <&gcc USB30_SEC_GDSC>;
+ wakeup-source;

resets = <&gcc GCC_USB30_SEC_BCR>;

--
2.42.0