From patchwork Wed Apr 1 22:15:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ludovic Desroches X-Patchwork-Id: 11469651 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 B7C891668 for ; Wed, 1 Apr 2020 22:15:52 +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 95BCB20772 for ; Wed, 1 Apr 2020 22:15:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MYDZKj57"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="bPdbAwVW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 95BCB20772 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com 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:References:In-Reply-To: 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: List-Owner; bh=PsrE4ewTJNOAZcClvlfp2mEH+Q8k/1r2EpcA7jopqdg=; b=MYDZKj57ObMFKk YdR6KdwUTxYZl8gHW3J67FOTKcpCr4oyYkLSA+Ian++WN+Kom7uQbkGFS8ENK/OA4X9vU4czIrnuQ 0Ey9zReL/9CPMxZTUC04+nj8ptLvldSO/n+e62Pgyx9gcsu2Yzp0UyA8iG1QbG492MdVecAlD4ytU hMQF+6cl9OCuau1BVzimEOs4QrF9iRaQjMG7z7EJzPL7LPHV9EXHJWGm2XZ0YySaNSSWO4moiDMJH jhGqw1SSlG3/dOBAAJHb1r0qq9Es2ML7ZFDDhjVwO4NLIao0SkmyXwkODGjBVwaEUfcYOmpkgdLgl TJvuxAhlLqLVmEAFsH5Q==; 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 1jJleF-0006Qv-AG; Wed, 01 Apr 2020 22:15:47 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJldq-00062V-Lj for linux-arm-kernel@lists.infradead.org; Wed, 01 Apr 2020 22:15:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585779323; x=1617315323; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=roL7pAuCeMrEZzb4jmaWDZnAb9YNN/kPLY9E/yXOwSY=; b=bPdbAwVWus86d/2VEQWssNEMXJp9QYp+RHQoOtYA+MuIWkDPBXXi3pnx /0aLHUC6fGpVBi+539JYlXMY3zkFh8PmWBSKfzF/C3HwFcEOkhz+sz4E+ tdD1RRCkV9/qPsXrmwYRP8JZ4XE1Sd5irDzPX7wD9dwonR/OE2YzTt/nI Jd2Vbc8iAP3UfehyWtIYye0dVJrfsId4MtmweCa5sUQvzRy3+bMk6QcRU yfZcHtOODq3degmsD1HuLkBjBj0ydZSxsr88vmBKxCa3Rlld4sV8Mrvng CB0JTuEWSTXBj/Dp1D3kwRS8ZjGotGK6N2hit56Qb0Mf0ojTyC+BGWXqx A==; IronPort-SDR: vvADddCKU7kNsFIzXcUbE7USJheeTdMZyZITxJSybmvRyMmYssg7QDrD405rrEpdHWrSL+Z8TZ wEI3VWAmmwshtLWNJM/clfXC1N/s5C7kMBXUvPjtCc1Es3F+rnrSHcRSELmrcjACS1bqevmDJe Vrj2V3EhBfmXyS/3rRJVOTIv5eXL9mwQ/2RiHQ95A0yBaTtB2Pvj1maPt2R0yUEmAa0LMpxNka c3g0KUxJgEO5WklD9AIVKpHAoWB8/cLH3BYACMyNu5z/HSxpxLqAlwTRNgiCjngWZL5qg91O0e Xeg= X-IronPort-AV: E=Sophos;i="5.72,333,1580799600"; d="scan'208";a="71132656" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Apr 2020 15:15:19 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 1 Apr 2020 15:15:25 -0700 Received: from sekiro.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 1 Apr 2020 15:15:22 -0700 From: Ludovic Desroches To: , , Subject: [PATCH 3/5] ARM: dts: at91: sama5d2_ptc_ek: add PB_USER as wakeup source Date: Thu, 2 Apr 2020 00:15:02 +0200 Message-ID: <20200401221504.41196-3-ludovic.desroches@microchip.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200401221504.41196-1-ludovic.desroches@microchip.com> References: <20200401221504.41196-1-ludovic.desroches@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200401_151522_724147_BD7BD0D8 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.150.166 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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 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 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: devicetree@vger.kernel.org, Tudor.Ambarus@microchip.com, linux-kernel@vger.kernel.org, Ludovic Desroches , linux-arm-kernel@lists.infradead.org, Codrin.Ciubotariu@microchip.com, Cristian.Birsan@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the push button PB_USER as wakeup source Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts index b803fa1f20391..32435ce1dab22 100644 --- a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +++ b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts @@ -412,6 +412,7 @@ bp1 { label = "PB_USER"; gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>; linux,code = <0x104>; + wakeup-source; }; };