* [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources
@ 2023-11-08 5:17 Steev Klimaszewski via B4 Relay
2023-11-08 10:03 ` Konrad Dybcio
2023-12-08 2:57 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Steev Klimaszewski via B4 Relay @ 2023-11-08 5:17 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Steev Klimaszewski
From: Steev Klimaszewski <steev@kali.org>
The keyboard and touchpad can be used to wake the machine
up from sleep, so mark them as such in the dts file.
Signed-off-by: Steev Klimaszewski <steev@kali.org>
---
It would be nice to wake up the Lenovo Yoga C630 from suspend by hitting
the keyboard or touchpad, so this patch enables that
ability.
---
Changes in v2:
- Drop touchscreen from being a wakeup-source.
- Link to v1: https://lore.kernel.org/r/20231106-wakeup-source-v1-1-36b1f39e67fd@kali.org
---
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
index 92a812b5f423..8f68c99965cd 100644
--- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
+++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
@@ -392,6 +392,8 @@ tsc2: hid@2c {
hid-descr-addr = <0x20>;
interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
+
+ wakeup-source;
};
};
@@ -408,6 +410,8 @@ tsc1: hid@10 {
pinctrl-names = "default";
pinctrl-0 = <&i2c5_hid_active>;
+
+ wakeup-source;
};
};
@@ -482,6 +486,8 @@ ecsh: hid@5c {
pinctrl-names = "default";
pinctrl-0 = <&i2c11_hid_active>;
+
+ wakeup-source;
};
};
---
base-commit: 5cd631a52568a18b12fd2563418985c8cb63e4b0
change-id: 20231106-wakeup-source-15af6f5a6329
Best regards,
--
Steev Klimaszewski <steev@kali.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources
2023-11-08 5:17 [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources Steev Klimaszewski via B4 Relay
@ 2023-11-08 10:03 ` Konrad Dybcio
2023-12-08 2:57 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-11-08 10:03 UTC (permalink / raw)
To: steev, Andy Gross, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 11/8/23 06:17, Steev Klimaszewski via B4 Relay wrote:
> From: Steev Klimaszewski <steev@kali.org>
>
> The keyboard and touchpad can be used to wake the machine
> up from sleep, so mark them as such in the dts file.
>
> Signed-off-by: Steev Klimaszewski <steev@kali.org>
> ---
> It would be nice to wake up the Lenovo Yoga C630 from suspend by hitting
> the keyboard or touchpad, so this patch enables that
> ability.
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources
2023-11-08 5:17 [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources Steev Klimaszewski via B4 Relay
2023-11-08 10:03 ` Konrad Dybcio
@ 2023-12-08 2:57 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-12-08 2:57 UTC (permalink / raw)
To: Andy Gross, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Steev Klimaszewski
Cc: linux-arm-msm, devicetree, linux-kernel
On Tue, 07 Nov 2023 23:17:10 -0600, Steev Klimaszewski wrote:
> The keyboard and touchpad can be used to wake the machine
> up from sleep, so mark them as such in the dts file.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources
commit: fdcc36cda04114878f6c752083669719a3995fce
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-08 2:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 5:17 [PATCH v2] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources Steev Klimaszewski via B4 Relay
2023-11-08 10:03 ` Konrad Dybcio
2023-12-08 2:57 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).