arm64: dts: qcom: sm8250: Add wakeup-source to usb_1 and usb_2
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 9 Nov 2023 00:43:11 +0000 (00:43 +0000)
committerBjorn Andersson <andersson@kernel.org>
Thu, 7 Dec 2023 16:18:09 +0000 (08:18 -0800)
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@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231109004311.2449566-2-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 8ea764e193724d51120fcc473f22660b78b8d296..9c5eb0a106e02eac47d8787267c14c6f3985fd0e 100644 (file)
                                          "dp_hs_phy_irq";
 
                        power-domains = <&gcc USB30_PRIM_GDSC>;
+                       wakeup-source;
 
                        resets = <&gcc GCC_USB30_PRIM_BCR>;
 
                                          "dp_hs_phy_irq";
 
                        power-domains = <&gcc USB30_SEC_GDSC>;
+                       wakeup-source;
 
                        resets = <&gcc GCC_USB30_SEC_BCR>;