2022-08-05 09:35:44

by Johan Hovold

[permalink] [raw]
Subject: [PATCH 3/7] arm64: dts: qcom: sc8280xp-crd: 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-crd.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
index ae8be1b743ce..fea7d8273ccd 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
@@ -237,6 +237,8 @@ touchpad@15 {

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

keyboard@68 {
@@ -249,6 +251,8 @@ keyboard@68 {

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

--
2.35.1



2022-08-06 16:58:41

by 'Manivannan Sadhasivam'

[permalink] [raw]
Subject: Re: [PATCH 3/7] arm64: dts: qcom: sc8280xp-crd: mark HID wakeup sources

On Fri, Aug 05, 2022 at 11:23:13AM +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-crd.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
> index ae8be1b743ce..fea7d8273ccd 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
> @@ -237,6 +237,8 @@ touchpad@15 {
>
> pinctrl-names = "default";
> pinctrl-0 = <&tpad_default>;
> +
> + wakeup-source;
> };
>
> keyboard@68 {
> @@ -249,6 +251,8 @@ keyboard@68 {
>
> pinctrl-names = "default";
> pinctrl-0 = <&kybd_default>;
> +
> + wakeup-source;
> };
> };
>
> --
> 2.35.1
>

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