Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3848579ybl; Mon, 12 Aug 2019 07:23:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDBWwDlEJxP6xtyys9s+nr4rSq0/KMhM86pdswCmyeW1GJlzHhWDmpX2SXktj2vwNKXD04 X-Received: by 2002:a17:902:a586:: with SMTP id az6mr4158860plb.298.1565619837191; Mon, 12 Aug 2019 07:23:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565619837; cv=pass; d=google.com; s=arc-20160816; b=mtFrFUlf9BlmeHiaQ7ImUICNOzSD6Xhn2yuraU7itjaft647hDaT4fDM00dFlP83GH heO7CAKNBuezuVAWJXpERFHisKlrzko5y1jXLrJ3PcsOBEAYiaFQAqUo/RZtPZE4MD+J FKF5ppR+S2E5Cw5gnlmCcNNQwWZeJrXVgl6EbmfqEq21oRlCZ/3Gy5UG1xP4WJy5R3Zk 2ivaJ0PpK61DuG7q8inderTX17NKSMH7C+IPZFTQmQgjcBhh0PLHf7dn0OFQLQnq2EZN ObaqWDn4T6Q+4h95CNwdDry/VnjFgfnN0a04TkAfa9yO9tMrkUaNkr5JZZY9VvldoHUg 7e1g== 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=UYIogbjt7vqmDpSvr3tTKvgiY96KypHfQDcxZK88520=; b=jgGmb54H1NS6S/8ipNGGQcLyhMlVSgBbR85WePbnFEl56HBWZxoeGsZ3SH19FCFd37 cG02/P9DdHWBdQeQDa2icJ6dJ8RT2oiuYabq9R7XkZvSRtGASLeQ+e0Vc1AsYqC0i+NT K58BO9jfM694X6vfOg7xGCODcKFN3spRni5o82g1l5foX//j0xrY3BHMG5nPuqbIB7+v StXsAaoCJcvNw2evEbjjSNNNtAkAl9Bmti7ETIlKUvJuOzNXZE7ZcTwBO3irnyyan7dG Z0QQ5pFQqclV+HzGtUXMsTsH32vEeUix4PPwnVew0M3uAcbPapp2w3ng5YMi5OpWHpG2 rb4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=OkSHvk3M; 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 201si62333160pfc.173.2019.08.12.07.23.41; Mon, 12 Aug 2019 07:23:57 -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=OkSHvk3M; 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 S1728966AbfHLOWQ (ORCPT + 99 others); Mon, 12 Aug 2019 10:22:16 -0400 Received: from mail-eopbgr150103.outbound.protection.outlook.com ([40.107.15.103]:19221 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727868AbfHLOWP (ORCPT ); Mon, 12 Aug 2019 10:22:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mvOqJi2Foz/bCe5OtGvaZ1qobUYHT/pJcKNtND2LUAD/t7wKXpQbS1i1M5AkQBm++n/xNxzUlUAv6oCgSVd0kfJzhXESnt2VET5+r88ayDlcFG8LmKr8hXChMbxMsjU4K5/gp09Dq2IqgoGZLTrbuZO8LSBqHVGspVs1nI8nHjzVouWt+5gy62v8+7fttvcqaVToArayQA8oTlZcZ941/mUitECl0x6VZGF1N7Acrphat3nfTsOffPcu/gf3TAmqWE6+BtO/VydzPbsFxX/5LJqmf3pnnFqWzwfrdMWy2rFloxQa05tnB/21gG8RBfPBAgBSVi73XsT02hDILfPvuw== 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=UYIogbjt7vqmDpSvr3tTKvgiY96KypHfQDcxZK88520=; b=ADZRyXnl2ord+76doy23lMadgwU5LQ+jwwF/2sWwpIIp0hkxjOVz6xKEjgzgTGSYrcV7fx5cgyb8KfPfMQECHlB9UoZI0n3qTlL2ubwpGaBne0TWjLA+//6PMUEY9/F/Akj1kWoDGHtBKCY2xd9qSM6eEc/Ef7sj6Rg/xKfKpYF7UzbY55NkFTT3y6YO1K29HBqixD+bEOUlpsWldQnGm6+h+QlO+w03UE5QyP303X+GtjFYpVD0ZiZxWqvHlXI5k8xEtn8Cv19fJ1lz0H8s9ZVOka8qs2cjq8+ivjgBASIrOBbjyd85Jr06CUsfdNcZdllCu5hZGfzZ4TMPcrd5Bw== 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=UYIogbjt7vqmDpSvr3tTKvgiY96KypHfQDcxZK88520=; b=OkSHvk3M7ZftLL0YfKFQ8myAhoSi8QN+1abiHj2wbx43P/1wzThkQYatRjXY9l2NJzJn2CkKpPC5GN1wlYlm1Xe9QQrt9ygGix1rEGmRA7UjReB1o4QBBc7+LlSIXRLVhTnjy6C+vEiA0cPzdM1Ejwk6bIzQ0dSENDkxXlgRDPc= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:43 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:43 +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 , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer Subject: [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Topic: [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Index: AQHVURlDOpA22Elc00+cs8VUx0ImaA== Date: Mon, 12 Aug 2019 14:21:43 +0000 Message-ID: <20190812142105.1995-19-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-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: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::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.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a49099b8-3ba5-4ee2-606e-08d71f306637 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0502MB2942;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: beISZ5cZL6t8tD0OFMK/b42o9xapMrmlakIFvqv4d05TVUtzILXRvYL63lZJi778mHlPnu8l6rSVFlhGduWcCX2x9ot8FlUMKpjZV1T0xKveIFNFhziU9YLWtegSGi7NCUDgOyipNJZiir17BHnIQqAUQUf9Hevd/0JiBX040Qbq9pBqockkzgw4dDpwPXLJydoFeGEGw5AZbj5EsfQcwpqJhPdgq9yEb+lSuikMXeww37SqmIzxET1H+yfn6KGBTUqngQkJDPMrx90qqYm/eZ03TLEoY4zZCwncawXSjdV5tuLy9XA8erBrYRIgn7fEFCWwsGEFcUzeNi0sTLg98NEwUzNOE95Pf0eq8kOOyHZrLwTMI6IHmOEm0kIukLitYEorXBmBMkUtUWHUpsyHJqC003kQuZgUnmrAW4hTbRc= 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: a49099b8-3ba5-4ee2-606e-08d71f306637 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:43.1819 (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: VeaDuSNPVg/5gutxLeRq4EmdCEUOtkI+l2NGfomkt3zyLEpVh/GhaNG+sNZLTvaFP29uM43f+6O9aEIjO3n8OOCO5yAVtfDmKL2A+0F5DM4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 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 --- 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.22.0