Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5543358ybl; Tue, 27 Aug 2019 06:20:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/R++3i4E/jGhfQ0PGy41qfijRk4CHhm8/6pNzx8pvjLqYQfERSqIA4zcZhJHojt/LkVNs X-Received: by 2002:aa7:939c:: with SMTP id t28mr9992012pfe.111.1566912023641; Tue, 27 Aug 2019 06:20:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566912023; cv=pass; d=google.com; s=arc-20160816; b=H5it1+u+4HhyFKjRpkfFBv/KrsZze/SR6v+4u4Hlsc6B3bPlCZmur8S8Tiz/NQHFlk OJ6PcYcEGlGLs26p7fK83ziYgIzc5/zY9YWiHBOtPVta68JzoGVoSB62GGJOM/1YRJPU RAQNhS5nOZJmEi+MwcqhLrVMiD1/UnFq+qICR36el/XQWPqmyWDr4D4Q+o8AFP5hrd/o usnkeVNiorLhQyFyQbw9HESYL1eLpQ66rGrJvizqs71kOs8zrVLh1wtyT5ynfs2RFqgZ hPgU7H13foOq3q7Y+4ArGYopwsBsngrC+oOYNISpD8bK6U4+oV+ql8KLUo/uW92owymz 2MAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=WAJuL5aTe4u1XWf1r0IY+TrTVa8XUAkbW1V4st3P5W8=; b=e5FKz+6NX1FhWLgbKEQx9W60ENBejJ/seWunNbXFJXCOx6McRnlo24K43oP2vKn4yy /r39it/LHp+fnHqgNdmwpFQdDQuFzy2rbkeij53TZ7qYyUPrByc8qLOjPB/YIEl/qpw7 kCwXnoR4W0Sjt6ubwmwREf0qbkRir6W8/KSZd9qmvISvKWBZvc4QRBRITzc9ty9thbwd ePx9Ko2aZ1XJez3zeocV3dp73PCkDXm9fqy3hRsFx/gjR0NwEFmjnfTiRmoZr/7UdDkA E+PT58LRbIgKKQWBN59CcOzCpZFTtVfQfDf+R9MWES3sLSWbb7dKL4Tpa2n+VHaN2d2F H0Ag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=U2LKODTU; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si2494759pjs.91.2019.08.27.06.20.08; Tue, 27 Aug 2019 06:20:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=U2LKODTU; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730195AbfH0NSs (ORCPT + 99 others); Tue, 27 Aug 2019 09:18:48 -0400 Received: from mail-eopbgr60138.outbound.protection.outlook.com ([40.107.6.138]:29946 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730123AbfH0NSp (ORCPT ); Tue, 27 Aug 2019 09:18:45 -0400 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 CC: Philippe Schenker , Oleksandr Suvorov , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer 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= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 =3D "serial0:115200n8"; }; =20 + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_snvs_gpiokeys>; + + power { + label =3D "Wake-Up"; + gpios =3D <&gpio5 1 GPIO_ACTIVE_HIGH>; + linux,code =3D ; + debounce-interval =3D <10>; + wakeup-source; + }; + }; + /* fixed crystal dedicated to mcp2515 */ clk16m: clk16m { compatible =3D "fixed-clock"; --=20 2.23.0