From patchwork Thu Mar 9 15:04:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13167737 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 1D30AC64EC4 for ; Thu, 9 Mar 2023 15:26:28 +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: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:In-Reply-To:References: List-Owner; bh=+9R8vCKF1DSOix+CWaWLTKQXG30xpq4Sru/+uGgW0Gw=; b=i3cRcPicGXGBD4 eargMC7OBhFfifqZYs/ZC3xtCAATreviPnvEUP2U6ZV/hZIcmRfd9P7jUnr/uIfHhCAW7zUmupQAy qyfK5Zhy4Qo2P9IIPMDxk0oPUq4pxUR2dOFrR2JzYTzJbUUSXtYtTvWCh0mBiH1NlhfyOaxik2aTd HHMgLXOEPz1bcAWiE7yYKYf1ZvjUIdAudUqFmQIe4V0/DP25mF4v0o3l51uxa8qZk+pnIOy/wYBZh IVh9Uf2BQS7WO26z7hthAXIg/wfcH4VYA8oezj1QCvTpuq07HjHx/NjzTYlc7ZG/W7QJxMYZB1+Yc ZnPlOJ40jGKsEN4K2ZbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paI93-00Aspw-RD; Thu, 09 Mar 2023 15:25:30 +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 1paHoX-00Alfb-DS for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 15:04:19 +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=1678374257; x=1709910257; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Y+YaqqbtQMmreYu6GwDJY3rmMTJca4Rklt9BOid27jI=; b=QweBggNmtg19nn1uzeLvB/dzN5Zguo/3Gg/XvI+YqQacynVTM0CunCqC 7IAOt8rOBi1Ij+mgPBkQXTmwUuOBNPbimX8jF31auMrP9r+9tnE7xMgAv eGFf3NWZEXQP/m089GXabBvgfdEL2rmDWWjifQdXmS1bpXxMv8lAVIV5w IMRWlFw81ziUeb/BNf2Cb7e5dQNCsMZX1QwAGpna1fE0jfTVUpjoRJFAL n8LLK7DB0SEJsguTGvEI/L7dDVxDqGKl8H4zpeY4N5dg5Au9N2goZj50G ptaG+YghKZa5v8QH3fM89EXIKODRG17ORG29EFu6ZDqL74MAtpxdah9AB Q==; X-IronPort-AV: E=Sophos;i="5.98,246,1673910000"; d="scan'208";a="29583998" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 09 Mar 2023 16:04:15 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 09 Mar 2023 16:04:15 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 09 Mar 2023 16:04:15 +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=1678374255; x=1709910255; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Y+YaqqbtQMmreYu6GwDJY3rmMTJca4Rklt9BOid27jI=; b=olIlUzpTzQQ74SN0m5m+iAASSTLenqidBrQ32nIRV7JZvT6nF9QCTCW2 oZ/kUmGor2Y2Ro2VHhhG32eW6K9YdrSdrToCUQdlYNRViLpgvBbdAsT7l sVx/kd2EXelOk+n1AbXq4Xy/wzVv7V4OJZrEOFaKDGvKFxn++chy/3Y7a UYxowRCd0/sVHBP2AOYEyx5Do0xWXeHSvMLQDa/bvz+OLm+/N65vmWSs9 B7hD6lSpLCZEmVUAakdE/+6NZaR4FvRWPMjsf0uGB+9ivcjD6cFDkid1t rAX/+D/RriqNcsK0X/EIYr65tfk7kbI0fIJhn8Jrr4rJq9+BtHTOKjyis Q==; X-IronPort-AV: E=Sophos;i="5.98,246,1673910000"; d="scan'208";a="29583997" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 09 Mar 2023 16:04:14 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (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 40707280056; Thu, 9 Mar 2023 16:04:14 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Alexander Stein Subject: [PATCH 1/1] arm64: dts: imx8mp-tqma8mpql-mba8mpxl: Enable wakeup-source for GPIO buttons Date: Thu, 9 Mar 2023 16:04:10 +0100 Message-Id: <20230309150410.3409418-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_070417_883275_A8211C57 X-CRM114-Status: GOOD ( 11.37 ) 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 These buttons are capable of waking up a suspended system, add the appropriate property for both. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index 737d56fe331a..43b32a8390a5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts @@ -80,12 +80,14 @@ switch-1 { label = "S12"; linux,code = ; gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; + wakeup-source; }; switch-2 { label = "S13"; linux,code = ; gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; + wakeup-source; }; };