From patchwork Sun Jan 19 16:30:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 11340699 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 39D85921 for ; Sun, 19 Jan 2020 16:31:35 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 982B12064C for ; Sun, 19 Jan 2020 16:31:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="q6ltPulz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="Ss9nHyKU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="XP5LRL0r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 982B12064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=rHw7GhBJ6FX+dCcvTXmBVxpB0kCE3nTuiJTjFo3ZYrU=; b=q6ltPulzMapGXH IIJ/YKkQZeIV0hgFpF/LZW6LK9cTgDNjmjKcxdq7qI7RkDCxKBhUHkbS7GG/Dp/bhvjPKKQNHS/wL w4l0vnaR54onw2Hc6zZ8wnCioQuc5jP+SIDSbrkpBpcRul0if0jn9i7m548TcBAvzPmqM2EbO4hqW BI+9nBuPHKus3CVZPVNLV71FmhWKmrxQMrDZhzGofG0sCtu2ckO97VQDNrEI73pE3SROQQ/EzysHS 9KKH1a09Ou6x4lfmfSuxVeynNGyERWlyrBauT7wAD2XEbuBCxj895r5GFRoAWNb+S6yjjJbwbFfR1 v+c18okvj5Qs6LurX23w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1itDU1-0005Gk-91; Sun, 19 Jan 2020 16:31:29 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1itDTl-000550-Qy for linux-arm-kernel@lists.infradead.org; Sun, 19 Jan 2020 16:31:17 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D1FA621B01; Sun, 19 Jan 2020 11:31:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 19 Jan 2020 11:31:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=jRXBQP1pUsdOzqmTPi7i0GNzpz hk8MjLKuWSz3BrgbE=; b=Ss9nHyKUmmUdUVZnkh9KSqKaovOToU/w0XpUd3ioEI lSQSVTwho0JumsjMAJBNXXu6z2exAg6iqFi/LbaKQQScXHgpQD0TP1266j1tGj1l 9beo5IzZzWJ+QifEb0mq6Fsr0VMPKip65U+AnZXxlFOUKnah2JipW8+2X90bKKAE xDGWdbrIhupvwwvKFaE4KN09daKEZbXrZh61oYUkTekgNX1FAlKHHGCOXlt58gD4 VMtmAFsqMwl3nOcAqngxcD41kPDaU3etB4WbbSK7xFxWhI5Q7xr+fkyHDAHUwWQW U28yAArEV0yiJCbjWHDfqJFrSAGulNrDpVzCLN7MF2cA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jRXBQP1pUsdOzqmTP i7i0GNzpzhk8MjLKuWSz3BrgbE=; b=XP5LRL0rkqT5A7Jca0CA9sb6eLXmxpHj6 kFWKD75gDttAJg78qybWCkM+kN0LJEubLLBkSaCdxrH2kNoEk+FWzNYpiwkXONxm CcVj3fc2IHLkjLbRb+BZQgJbJprza9t9R3QdwIKyC7QrLapqQVmOyLnoem2/iXNr 6H/3BriaOxsiseJaM/Ik/MCF7AhyB4aEd7IosUGFA2LpLNAHsTSEczhwJ9Ct1pu4 k05Y7pXTKJWbl+TqmFJ2Mfxr+xAO9GNGiECtS+bKD8eueX0UfukSzipzN8diR2KY LR2DakDDvZadiBmVAkYHqFGozvSx7cMTeNC0QNqJy+m7gFFcSzBdw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghlucfj ohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecukfhppeejtd drudefhedrudegkedrudehudenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghl sehshhholhhlrghnugdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id CE0978005B; Sun, 19 Jan 2020 11:31:04 -0500 (EST) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 1/9] arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2 Date: Sun, 19 Jan 2020 10:30:56 -0600 Message-Id: <20200119163104.13274-1-samuel@sholland.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200119_083114_169664_6E19C70D X-CRM114-Status: UNSURE ( 7.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.29 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Samuel Holland , linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The Orange Pi PC2 features a GPIO button. As the button is connected to Port L (pin PL3), it can be used as a wakeup source. Enable this. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 70b5f0998421..c4f89c312f42 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -61,6 +61,7 @@ label = "sw4"; linux,code = ; gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; + wakeup-source; }; };