From patchwork Tue Feb 8 12:32:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12738595 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 81266C433F5 for ; Tue, 8 Feb 2022 12:34:37 +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=E/PrndOxZimZq+0snIh7ejF/CvHlu48HVlfr86LNWJ0=; b=A39plT4T8s4hHp lnAD5GaAqgT/e6HyxlLSXJoOIFZwTvDTTxZnOotGR7Y5cs/wsG3Ikjrtty2LJSxiL4YNt4VbDlCOP 1diozW7QHKwaoHDV4iWwPzYDUCYTaa4LtCSP829SCopXg3w12UmFbAY7UVZ6J1/yGzQ4kRJmmMIR6 IzpwvkJidTYz70RL6t7tEI5vgnnqNy1rbQeuGQLvQom2bcwtHyGEn/vQ34FJT8rIkI+cJgFl0Weym MSGaKg4suiihqOFJUbDOmzVVKWzjxPnzmuRYaDZGZfjVTduCOX7EpN15san+Uuge4HBuJPoewtDVX LboWz1mWkKwM9MynRGWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHPgS-00Dkx5-VM; Tue, 08 Feb 2022 12:33:25 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHPg9-00DksF-VM for linux-arm-kernel@lists.infradead.org; Tue, 08 Feb 2022 12:33:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323586; x=1675859586; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AY6SYNjlHV2b3rym8FoLVWU69XCEuKj8e2duhPew9iw=; b=BVqJjjbm1Qcs1gjty/Ikwishqc4BGJ5d5d9EmhIrrGjAxj7p+vuwS3Nz CPZzjLSZg83dHxcA71s3bl8UIGqrFj9dCJsnLrBCs8/UcEd57HnkHydwz ZXml+5NU51iCUFym9fWOV4KEpv+ZHQdOd5XoeQbvnh4c78Da2XuMdYnJE Pgo4V2qiU5kzyjqCPUwHna88O8hS3QfvSZSyMfJ3WqN4ck+ScFv+LiX4V ntPQZJ1HZI2EyAc2Bh/JYEizKpDQX5CaCDOS4LX5Ciad2/gef14rGWDsT Ju6kmPQ6ocg+0+F2Vh7lMSaT/BPyMILsMZeGb+UQul9YWNYbz+3Kr6L5N w==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960353" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 08 Feb 2022 13:32:58 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 08 Feb 2022 13:32:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323578; x=1675859578; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AY6SYNjlHV2b3rym8FoLVWU69XCEuKj8e2duhPew9iw=; b=iG/pl3QqCj7zt9XXLO7sG9SV1UQCqxAsQcS3kgu2zUhChxt6FJ+HztHq hmTlCr79C+vjxiYlyxsHCd/pJPQQBbXUxumsH06qbALv9FzVYUlwu3fHX gVj11/NySnwDS2BvBUbTz3NvrQA5wFqBhqND6FYgIJvFeDLkHAos+9kM9 FdgDvjDxW20qe6HWBN9CEkVUca+6q+fuK105Y1TvauV3aBBLFNDSxg1xQ l0+v1bKhFciX3iezILI0aXFp1hyQxiJAkj/9fDH7+NUlnPdDsQXvoGkw6 gIFE9Bx0GtzFbojcYTmMKSlEV574Y4Vdk8XSfaSrWATmS19Kk/Z2yog68 g==; X-IronPort-AV: E=Sophos;i="5.88,352,1635199200"; d="scan'208";a="21960351" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Feb 2022 13:32:58 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 584C7280078; Tue, 8 Feb 2022 13:32:58 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Matthias Schiffer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/5] ARM: dts: imx6qdl: tqma6: Mark gpio-buttons as wakeup-source Date: Tue, 8 Feb 2022 13:32:46 +0100 Message-Id: <20220208123248.821826-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> References: <20220208123248.821826-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220208_043306_343350_E18F8945 X-CRM114-Status: GOOD ( 10.93 ) 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 are connected directly to CPU, so they can be used as wakeup source. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/imx6qdl-mba6.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi index 8f6e1dd82ee4..1b6943802642 100644 --- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi @@ -40,18 +40,21 @@ button1 { label = "s6"; linux,code = ; gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; + wakeup-source; }; button2 { label = "s7"; linux,code = ; gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + wakeup-source; }; button3 { label = "s8"; linux,code = ; gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + wakeup-source; }; };