From patchwork Mon Feb 28 13:12:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763293 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 248FCC433EF for ; Mon, 28 Feb 2022 13:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8bGNR9mdOaBkEHYCV8EtatBIRPCMb7KlAhJRsMl0/yw=; b=2gVt4RGSTSetSF hxzuq94lFDdlDtwdJAurbANLhAIJ7O9IBEddLazbVYW9Dp+smo8dx8YZeVI1FgoeOb0ilXkUvGF+4 S3xcCht8owX+54NFZB24HTr2YHcs8BwkCYaI8w5TysyVfP9rsyhcCj/4mjC5pvoiOdu1rVjvlYyIc PVNudG4RKagPrmCsO96rJ3H2UsmfJxitsuzo6Hyjn1H208QKhbHVD7SGSSGrEXqOJOArOVUBKejSI EAJU9Yv2cPE8Sx1x4PSofSu+hgk+pwrkefo6YYx8U4ayeX68Q5APB0HgRuKY2zIVk7W4DDcbqsSfq MmBVVcUjZQHPw8qSW+EQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfzs-00CXLm-Q4; Mon, 28 Feb 2022 13:23:29 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfpu-00CTLj-If for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:12 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 60BF7DF67F; Mon, 28 Feb 2022 05:12:40 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DEBaQBv-q0qf; Mon, 28 Feb 2022 05:12:39 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Date: Mon, 28 Feb 2022 14:12:18 +0100 Message-Id: <20220228131222.917137-2-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_051310_655087_3C7A0C15 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org They turn on the display currently so to be consistent, let's make them wake the system from suspend as well. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 05c16376b4d8..0d391468bf21 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -42,6 +42,7 @@ vol-down { gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; + wakeup-source; }; vol-up { @@ -49,6 +50,7 @@ vol-up { gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; + wakeup-source; }; };