diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-11-09 01:43:11 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-12-07 17:18:09 +0100 |
commit | 48307d83c998db18db6890dccb569146eb12d313 (patch) | |
tree | 1f507e12c9dc6834a45665619aacf485a4549ad3 | |
parent | arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources (diff) | |
download | linux-48307d83c998db18db6890dccb569146eb12d313.tar.xz linux-48307d83c998db18db6890dccb569146eb12d313.zip |
arm64: dts: qcom: sm8250: Add wakeup-source to usb_1 and usb_2
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>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 8ea764e19372..9c5eb0a106e0 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4162,6 +4162,7 @@ "dp_hs_phy_irq"; power-domains = <&gcc USB30_PRIM_GDSC>; + wakeup-source; resets = <&gcc GCC_USB30_PRIM_BCR>; @@ -4230,6 +4231,7 @@ "dp_hs_phy_irq"; power-domains = <&gcc USB30_SEC_GDSC>; + wakeup-source; resets = <&gcc GCC_USB30_SEC_BCR>; |