Message ID | 20190731123750.25670-7-philippe.schenker@toradex.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7714313B1 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:39:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CCBD26223 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:39:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FD0F1FF13; Wed, 31 Jul 2019 12:39:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 40C311FF13 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:39:47 +0000 (UTC) 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=pU4z4qWSi+AOi2ycakZXpOkRDeUz6gcE7MReXE9soeo=; b=EQoI+igVgQN0Qy 6Mx1bawm0gi5WJMe3NIZoU6K6/4QHVhMhwJFlLirAgLYejHr2rEGUaEBlGK1ujRRnqraY6TjPlUFN D63DerCCZlaf3QhXYgpdAxE2jGFnuqFuk6BWuIYQvQJhpO7Jv39h/KGmJTtF8DccxocM3W1yn3U5q SML3eiVOnvwT29DFEAZNLycZCG/8JIQ/xXEjOJQENOqjFBTTnQ8kZSb+/UA2TU/swRBZPlkeZsAIp NW7G5u8QvreN0Ca+0invK+35DXloz34DNPeGZlqZRUxg6+QYaq3pwcrC99sDAMF9H5ZalPXwPdSHy udPvgBMP0hHzk9NHeKSw==; 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 1hsntL-0007kU-CE; Wed, 31 Jul 2019 12:39:39 +0000 Received: from mail-eopbgr60133.outbound.protection.outlook.com ([40.107.6.133] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsnrz-00061E-6h for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 12:38:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=StOne0Troqf7ptJ1RSFQ37pVojFL+x1sp8RdXcEQW3aocDYX1gfCY5gtg5lUDWMLwNHYTXtfQ8AHBsD0JJmaLUH7vhKGlILnawX8Ys+Lgqtn6cYKL4PAgIbVqelRsp0sKfvNE+Bn39VcgAZdOxGnyJQPMZjD1bGDNGIuscsLlsDMXo9sfSq3gr6tA7hmTTe47vniypk6yKJHVtYhckldTMx1fRI7zGchAxSC2efzOjUrSvBvd+bEncXEX8ozCiYTDYIa+w1/p3bNnjD+Ay0FCzeuaIDfrAGkvRLQ88Vz+YQ2LLXhDfFv9k5o6tUxuuggW2dR+gaTzkkp9wQTN+Q3dA== 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=jc+GOQ8svZSBDI3UfNEVHJFWroPXZvMYoa1bnNblTas=; b=EiulDgMA7wGH/VHbjDQwxzIr7aeGJQjTJgX2MWyglqz5tSGihAPyDyOGfmsxGTBk9mSR2tYmJ8/Cg87PQYSPrT2XHkvIS9RxXM9868HoF27Ckovs7p911ynlqrC5aDbd+oLCH6KlMw6UyBBeUKiIztFYWIU7etpOHXNcrvN5jvDPM6SRtkNdVW2gHirNDOw0uV2ahgU25EhjRF1DyT8y4/P4+Zzam5PxH/Sg17iPE6k6LpoHdpQwruzYm3yBjpfIxv+Gsh6YIhOxVOs79Oo91LYMGyYXdLFpXWfY4+Shs4jfN1R7xKaaQegYPoQ8ue2KX87DcSBwIV8d2bBKJij0eg== 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=jc+GOQ8svZSBDI3UfNEVHJFWroPXZvMYoa1bnNblTas=; b=RREgbCHdwe7kvrKflNHYYnpjoDhHCvdlJtufBLsm00iPqiWcCUeFi0AotNzn+5VSKuID9hHEenWbxR9L8+9zqW17BQcfCrUqV2/sRY6JA84F8MdLeLwHAvabQ3mwc8NB3YaK9nPiJJSti5EVuBnwPgSoAZPf6y1c27d5ahpYuzk= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3648.eurprd05.prod.outlook.com (52.134.7.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.14; Wed, 31 Jul 2019 12:38:10 +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.2115.005; Wed, 31 Jul 2019 12:38:10 +0000 From: Philippe Schenker <philippe.schenker@toradex.com> To: Marcel Ziswiler <marcel.ziswiler@toradex.com>, Max Krummenacher <max.krummenacher@toradex.com>, "stefan@agner.ch" <stefan@agner.ch>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Mark Rutland <mark.rutland@arm.com>, =?iso-8859-2?q?Michal_Vok=E1=E8?= <michal.vokac@ysoft.com>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH v2 06/20] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Topic: [PATCH v2 06/20] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Index: AQHVR5zPf0p183kqbUCnkaQfNt4nyA== Date: Wed, 31 Jul 2019 12:38:10 +0000 Message-ID: <20190731123750.25670-7-philippe.schenker@toradex.com> References: <20190731123750.25670-1-philippe.schenker@toradex.com> In-Reply-To: <20190731123750.25670-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: AM0PR02CA0012.eurprd02.prod.outlook.com (2603:10a6:208:3e::25) 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: 52d9d257-526a-4860-a0e2-08d715b3f22d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR0502MB3648; x-ms-traffictypediagnostic: VI1PR0502MB3648: x-microsoft-antispam-prvs: <VI1PR0502MB3648FA544D553AC9D9E65D86F4DF0@VI1PR0502MB3648.eurprd05.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 011579F31F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(366004)(136003)(346002)(396003)(39850400004)(189003)(199004)(64756008)(66446008)(66476007)(66946007)(6512007)(476003)(66556008)(8676002)(86362001)(36756003)(44832011)(478600001)(5660300002)(71190400001)(71200400001)(1076003)(53936002)(6486002)(486006)(6436002)(2201001)(446003)(52116002)(50226002)(11346002)(316002)(99286004)(66066001)(2616005)(305945005)(256004)(26005)(14444005)(14454004)(102836004)(7736002)(3846002)(25786009)(6116002)(76176011)(2906002)(81156014)(81166006)(68736007)(386003)(6506007)(2501003)(4326008)(8936002)(110136005)(54906003)(186003)(7416002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3648; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: Rl2oeyrhwPGlAsREVrTxCo14bLGFCyvqYBJXM6UpBl3Zt8/c7F6wUrL+we0xZXHlqwor8XbOsO/rdx5+uXyELMXQ5VbyAeWRLvVvuMuX8cKMy1fAavyHCA0H/Xn67pNUrs2MXhdkU1oH5N0Ie6bQaYr25FJx/tKJ0NBxyHoeWfyOB7Tnpgf4y2JGrFb4rCK6XY0AHaFNE+aVvL4V8Pyv88BateBuc5IMoEHlCdccmY0vA5aFqgdvLSUEZYgVkkmZSBwYfw/KcZjny/30/SAxeKxfGXuQHEwxhrLrHpK5vn3MtKQSEkJwCb+/viEkFm7OHA3O1RxN2UM/wxw72q5Ojt4qsHXP548GZa8BADsFU5+IEAoRNqc5SpavELY93fgBVAgWyoAerb+nLIKC17CseBy9usWvzwVCI6vXtBGLjgw= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52d9d257-526a-4860-a0e2-08d715b3f22d X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2019 12:38:10.4729 (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: philippe.schenker@toradex.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3648 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_053815_264614_43280EE8 X-CRM114-Status: GOOD ( 11.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Stefan Agner <stefan.agner@toradex.com>, Sascha Hauer <s.hauer@pengutronix.de>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Philippe Schenker <philippe.schenker@toradex.com>, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Common patches from downstream development
|
expand
|
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 3f2746169181..d4dbc4fc1adf 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -52,6 +52,20 @@ clock-frequency = <16000000>; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiokeys>; + + power { + label = "Wake-Up"; + gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; + linux,code = <KEY_WAKEUP>; + debounce-interval = <10>; + gpio-key,wakeup; + }; + }; + panel: panel { compatible = "edt,et057090dhu"; backlight = <&bl>; diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 2480623c92ff..16d1a1ed1aff 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -741,12 +741,17 @@ pinctrl_gpio_lpsr: gpio1-grp { fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x59 MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x59 MX7D_PAD_LPSR_GPIO1_IO03__GPIO1_IO3 0x59 >; }; + pinctrl_gpiokeys: gpiokeysgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x19 + >; + }; + pinctrl_i2c1: i2c1-grp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO05__I2C1_SDA 0x4000007f