lkml.org 
[lkml]   [2022]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/7] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: mark HID wakeup sources
    Date
    The touchpad and keyboard can wake the system from suspend so declare
    them as wakeup sources.

    Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    ---
    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 @@ touchpad@2c {

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

    keyboard@68 {
    @@ -233,6 +235,8 @@ keyboard@68 {

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

    --
    2.35.1
    \
     
     \ /
      Last update: 2022-08-05 11:25    [W:2.192 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site