From patchwork Tue Aug 27 13:18:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116957 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 CB2301399 for ; Tue, 27 Aug 2019 13:24:05 +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 A7A8E2054F for ; Tue, 27 Aug 2019 13:24:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uhS6jEPZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="U2LKODTU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7A8E2054F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=toradex.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:In-Reply-To:References: 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=1HkFpme27v8QMDkWYG9eugnnqRex57rQ/U+urQHDM00=; b=uhS6jEPZafQIfK mwc/pmvBTZefuAGLy2LgKu/nDQI+86ROX6Vucp0ZT2VxLDVsoK65aHq7gynIXxod0qkf8ZoKXX/bh 2sYooLd5SFJEMsMcdxWriXb+qfx2ifoJ1xk8PRkHSeeiktPM90muj8xMGM77nGWFx0BubXy1cMKXy CmzLiCK/ZXG1XPhNhwgBkIm2dc/dhW20F4I0D9wh08l2W+XWcTNs99PeMKnf9fJXoaPf3m31jpNLL ezoqui1DtfZmXxfnzGJtQd93gTvNGBX/e2FPumijP3B5d4pb4Ws4HoA+NNAMHMg/tSKEjwVPr2DtC Reu6bGzYijPDEk6YBO4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2bS8-0008Se-8i; Tue, 27 Aug 2019 13:24:04 +0000 Received: from mail-eopbgr50113.outbound.protection.outlook.com ([40.107.5.113] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMz-0002cb-O5 for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LuBESknWd5yf9qB+KYQ4NXiT5k3vQhm5o4+4OfRMDeGuLR7WY68g4xqYAjvSd0ep3mkqJyt5X+EnaDFsbWAnJZ/vbZrNxaEu8z/BaGPS6Fus6mUVxY4RXjErPiVtXmjdjC0chv5fgZCxH5aES74dkzw3pDlzN5XOMZYGbT1xZioJxM8b5sSzyhq1akwmui9ORP4j6Jc4ldCnt1z1FXrNkgUnlGL4AxPToctW/aoFWL23dgJXeM/jmrgf60zbDJxOV3TMyr+/lyDJqZZ5t5oSMFfVk/tWeLsUr4Q23NtJf71SiNNbmpmTojVsUSjpvPY3j5slKfjhzlkAL3eTi247cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WAJuL5aTe4u1XWf1r0IY+TrTVa8XUAkbW1V4st3P5W8=; b=Jrmq7ruIaBZyFxvnoZjESvdjzCK6AgJxK6XaWJg2Bqf0O+tm+7pYB5doW0rE7XBJcT/fYmVgEwZbtmjcTkwzAvzUWXI96u1t4p7vK0YU0JaZ8bNc57VTZBsVbxSNUec4fejkoPVvVFflnxGuHpkgoCbw6BMQJFa/yuXEdQ5oS+GU5CkryCgvFpT/kR4z3u734zGco9hLTENI9NVzyTsFNDiVEjiN7UbQBBYvmDgZa1Ib5ujddKQqkzzyJEA7Gzg0LyePqK+blHn41+NPwLVsa9QbXoleHmlQxYfi37hK3khhTt7XAglgQAZWY9uDgXLZVrgKUYIxb3VC9UELzxt5Zg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WAJuL5aTe4u1XWf1r0IY+TrTVa8XUAkbW1V4st3P5W8=; b=U2LKODTUHJuFV9LNh89wJ65ME0KCyp3ypKQE4K3RbFYTW05zhFIgfMiWrtfLZKUhWSHRQBiPKX+2w2H4cIRJUMLiS5DzLWaCmMfKv2gUmpN6GkZHA2f8aPS2mzFuAj0OlkFjxmvWUnxw5QuBTobNnnhK7pjTvZaPHvwIuhPA+yU= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3008.eurprd05.prod.outlook.com (10.172.255.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Tue, 27 Aug 2019 13:18:40 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9%6]) with mapi id 15.20.2199.021; Tue, 27 Aug 2019 13:18:40 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan @ agner . ch" , "devicetree @ vger . kernel . org" , Rob Herring , Shawn Guo , Mark Rutland , =?iso-8859-2?q?Michal_Vok=E1=E8?= , Fabio Estevam Subject: [PATCH v5 12/13] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Topic: [PATCH v5 12/13] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Index: AQHVXNnx1F1NxUdM6Ua8QNTzvlmBow== Date: Tue, 27 Aug 2019 13:18:40 +0000 Message-ID: <20190827131806.6816-13-philippe.schenker@toradex.com> References: <20190827131806.6816-1-philippe.schenker@toradex.com> In-Reply-To: <20190827131806.6816-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR0102CA0031.eurprd01.prod.exchangelabs.com (2603:10a6:208:14::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.23.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bc69689e-d4d9-40ed-0c02-08d72af1139d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3008; x-ms-traffictypediagnostic: VI1PR0502MB3008: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(199004)(189003)(4326008)(256004)(36756003)(6512007)(86362001)(5660300002)(25786009)(66446008)(64756008)(66476007)(66556008)(1076003)(478600001)(66066001)(316002)(110136005)(53936002)(71200400001)(54906003)(71190400001)(7416002)(8936002)(8676002)(52116002)(76176011)(6116002)(6486002)(50226002)(3846002)(2906002)(66946007)(99286004)(486006)(44832011)(2616005)(14454004)(305945005)(6506007)(386003)(186003)(7736002)(26005)(81156014)(81166006)(6436002)(476003)(11346002)(446003)(102836004)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3008; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 22/fNY6k7A1eprDTB7H4kiX5xIIPrPUNepvfxXKVB5DQNAAute5hNYjtmRRpGyJEHQjfCp9Oj8XarJwINwiTYRc8JzGPs2qsAV6A3wcHJs5tU+NR9TU+vxyLXsh8SA6FhkQiGKDINfrzmFYaSllTK+7lV0FIgnykPya3sPXERooPkGJCcqnYUK5eHo3fU07TTH3gZ1kSbFAUl5eS7j7ILflKvzglvW9Y9CPgD5/2J0WIl6+qj3KDQPniJqZEiG7yRfKKeEXLpc1bp345tM5PLJtYhYvtyKLjX/yPq7VmNe4W5IcfS2NabMCtGEDWLhLFXGC+Y8jITurMclIo+COp1d23xSUCONIdxgWJk2ff2MAHsdr51tUa/IjlzERIfFe48kECTHI8TGGPpFiCW1iVAHiaOD98+nokyYF3r49cdEI= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc69689e-d4d9-40ed-0c02-08d72af1139d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:40.2947 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DxJaw3vjBQ9QGXWtJi9BD8eMGW2PXGHWb0CZXWG0WfhUDef3ZSBIAwCrkt1928A/XLNJj/N2rtWCYxwTY8ZuwoS08+ZM0UEniFTMFUm7pSQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061845_853374_A256DC3F X-CRM114-Status: GOOD ( 11.17 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.5.113 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_VALID_AU Message has a valid DKIM or DK signature from author's 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 -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: Sascha Hauer , "linux-kernel@vger.kernel.org" , Oleksandr Suvorov , Philippe Schenker , NXP Linux Team , Pengutronix Kernel Team , "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 This adds the possibility to wake the module with an external signal as defined in the Colibri standard Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi index b6147c76d159..a78849fd2afa 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi @@ -8,6 +8,20 @@ stdout-path = "serial0:115200n8"; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_snvs_gpiokeys>; + + power { + label = "Wake-Up"; + gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; + linux,code = ; + debounce-interval = <10>; + wakeup-source; + }; + }; + /* fixed crystal dedicated to mcp2515 */ clk16m: clk16m { compatible = "fixed-clock";