2022-08-05 09:34:32

by Johan Hovold

[permalink] [raw]
Subject: [PATCH 6/7] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: mark HID wakeup sources

The touchpad and keyboard can wake the system from suspend so declare
them as wakeup sources.

Signed-off-by: Johan Hovold <[email protected]>
---
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
index 76ba2d5fa17e..1ca72f6ba55a 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -221,6 +221,8 @@ [email protected] {

pinctrl-names = "default";
pinctrl-0 = <&tpad_default>;
+
+ wakeup-source;
};

[email protected] {
@@ -233,6 +235,8 @@ [email protected] {

pinctrl-names = "default";
pinctrl-0 = <&kybd_default>;
+
+ wakeup-source;
};
};

--
2.35.1



2022-08-06 17:12:00

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH 6/7] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: mark HID wakeup sources

On Fri, Aug 05, 2022 at 11:23:16AM +0200, Johan Hovold wrote:
> The touchpad and keyboard can wake the system from suspend so declare
> them as wakeup sources.
>
> Signed-off-by: Johan Hovold <[email protected]>

Reviewed-by: Manivannan Sadhasivam <[email protected]>

Thanks,
Mani

> ---
> arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> index 76ba2d5fa17e..1ca72f6ba55a 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> @@ -221,6 +221,8 @@ [email protected] {
>
> pinctrl-names = "default";
> pinctrl-0 = <&tpad_default>;
> +
> + wakeup-source;
> };
>
> [email protected] {
> @@ -233,6 +235,8 @@ [email protected] {
>
> pinctrl-names = "default";
> pinctrl-0 = <&kybd_default>;
> +
> + wakeup-source;
> };
> };
>
> --
> 2.35.1
>

--
மணிவண்ணன் சதாசிவம்