From nobody Wed Dec 31 06:39:08 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50D34C4332F for ; Tue, 7 Nov 2023 00:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233478AbjKGAMT (ORCPT ); Mon, 6 Nov 2023 19:12:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbjKGAMR (ORCPT ); Mon, 6 Nov 2023 19:12:17 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3506BB for ; Mon, 6 Nov 2023 16:12:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 71E1FC433C8; Tue, 7 Nov 2023 00:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699315934; bh=IzvDcSXVc6Sv1zIOCJrJxYCGu8IPPHkKg7fcM6qoiKw=; h=From:Date:Subject:To:Cc:Reply-To:From; b=iS2m562nrCl1RiKX+Sy1RYiunIDGdiPcDySe5O4CZMNtjC83k6cd0IFZQBUoyP6En vrvhJ1P4lLueHCUDlA0vqNJnmLZwNsAPscRt1Zx+x3n0xL/NUOk8GjE5oTvn/HqRdQ Dd2afZgesSkF0Ox6WEAfoM7jdhVQO8QFsw3LI3h/rxZFhy29zGyft7PTfB/p4oXYxQ lqgTq/pqJ33QiB0GNjpSWb9Zk/timrYiIzLFiOWS29ALBzDdJisVc1zYOGe5WEk10I /WAEFww3iu25SOTtLJsGHO+cSN5v/U20sR2IzOlAEs6Q7ay/2ZVjT8O+kp0azA4OGw IDWMf14m+H7FQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54BD3C4332F; Tue, 7 Nov 2023 00:12:14 +0000 (UTC) From: Steev Klimaszewski via B4 Relay Date: Mon, 06 Nov 2023 18:12:11 -0600 Subject: [PATCH] arm64: dts: qcom: sdm850-lenovo-yoga: Add wakeup-sources MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20231106-wakeup-source-v1-1-36b1f39e67fd@kali.org> X-B4-Tracking: v=1; b=H4sIANqASWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQwMz3fLE7NTSAt3i/NKi5FRdQ9PENLM000QzYyNLJaCegqLUtMwKsHn RsbW1AGuFZptfAAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Steev Klimaszewski X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1699315933; l=1648; i=steev@kali.org; s=20231106; h=from:subject:message-id; bh=XxMr1pRCV6LxTCL9BHo4MJtPNXm2qJQqiz+fIboTk1I=; b=vjaUjZqT8uoer/iEV4k7jfxyJNb8OqOWndAP7CAxWb8vSu85CqW+CrAoPCv+59Z0xqc9erI5Z +Yjw6KDVd3UCDvzeJtXYgZ7om7X9WAhiQfVPZbUTqH4bva01E/4mHYB X-Developer-Key: i=steev@kali.org; a=ed25519; pk=KY+JnLRNy7Hdf04yfpE5ubOsDBIIfXAWnBijkySXbb4= X-Endpoint-Received: by B4 Relay for steev@kali.org/20231106 with auth_id=97 X-Original-From: Steev Klimaszewski Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steev Klimaszewski The keyboard, touchpad and touchscreen can all be used to wake the computer up from sleep, so mark them as such in the dts file. Signed-off-by: Steev Klimaszewski --- It would be nice to wake up the Lenovo Yoga C630 from suspend by hitting the keyboard or touchpad or even touchscreen, so this patch enables that ability. I'm not married to enabling it for the touchscreen, so if anyone wants me to drop that hunk, I'd be fine with it. --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/ar= m64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts index 92a812b5f423..9ddffb98408d 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -384,6 +384,8 @@ tsel: hid@15 { hid-descr-addr =3D <0x1>; =20 interrupts-extended =3D <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>; + + wakeup-source; }; =20 tsc2: hid@2c { @@ -392,6 +394,8 @@ tsc2: hid@2c { hid-descr-addr =3D <0x20>; =20 interrupts-extended =3D <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>; + + wakeup-source; }; }; =20 @@ -408,6 +412,8 @@ tsc1: hid@10 { =20 pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c5_hid_active>; + + wakeup-source; }; }; =20 @@ -482,6 +488,8 @@ ecsh: hid@5c { =20 pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c11_hid_active>; + + wakeup-source; }; }; =20 --- base-commit: 3ff7a5781ceee3befb9224d29cef6e6a4766c5fe change-id: 20231106-wakeup-source-15af6f5a6329 Best regards, --=20 Steev Klimaszewski