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: 540918 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 54AEBC4332F for ; Tue, 8 Feb 2022 13:15:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244504AbiBHNPh (ORCPT ); Tue, 8 Feb 2022 08:15:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357469AbiBHMdE (ORCPT ); Tue, 8 Feb 2022 07:33:04 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A228C03FEC0 for ; Tue, 8 Feb 2022 04:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1644323583; x=1675859583; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AY6SYNjlHV2b3rym8FoLVWU69XCEuKj8e2duhPew9iw=; b=plU2iwV5Po4pYwdUltvtnqAAIftwx4PNjdkU997133T1Ad1woQwu2zy3 kbjkXtX+K8MDidhDmqXLQ9AwVQe/p2WZFnIaCh7ea6ySVnSKNi1VnGBOi HfBHuTqQwuqHtbMCDx8vKE138N170xTjR7R7ASwMorpY7k82Z1HXfah+l HnFy+ML+AnsMfTV1huemN7z7R8QzRzYq19YZIiTELR0tkYhsgReBtvjSX T5wxqPPogAtF0BIXUg9hwfrDdop/XH0l2RQHVgYKn2GgLMglx7QTfKTCP xV4yfywIlvCMRlchQ2gHxfzjJ/3/p8LGQGCC65NndoXnx0+vOb7Zt1Ro5 g==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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; }; };