From patchwork Tue Aug 27 13:18:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116917 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 4481B1399 for ; Tue, 27 Aug 2019 13:18:46 +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 14E8B2186A for ; Tue, 27 Aug 2019 13:18:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WHpbh04V"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="gb+UV5jp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14E8B2186A 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=89CI8x1piTDb/bHtpXHXV9c+rIQZeitkZig5CDRsI2E=; b=WHpbh04VFzrtNK 1ovmSwOkJ3/V0gzRs5SjZaC1Js0/hVHM4mKtT18o8sOLzySF/zZffgHEtD6ZWVTbLIkvzSHNAfJDQ 4fzuEiJHexCEKjd2a9MmgDRSuCeYkhOhZ5t1JlgeT3rvQ7Vdme0S4Io6ZD/fabcQuEa+7XDlu98PG R3QZ3Mjh3ru8ltCxlNBJp7dJXG2ynAmZHRAKbs9pR1R5qXkrlRbPmzCI+2kvS/LxcZn7ABlNQxm2t hreGuEmlHlK7RVaBWJJfP/TurqzU9xl7H0FIcCF/UH3uEO3Ui+gy3ltAkGU1gPdV1RJkEAck6kcJx 5s1wwVsCgi4Jng3TUbPw==; 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 1i2bMw-0002bC-Ne; Tue, 27 Aug 2019 13:18:42 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMf-0002Ml-NU for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHsTv/hu/exAol3JCdeAz0CYOOn3GA70DxYvKg12593ZAqCv5GNPwFMxarH7FAysE4Q577jdTD3xELCvwmzP5hdPe0jM7p2L+0yXCs4dEsiCZr4AKVKi0NUm8vqc2xWRrcARJBzrKRRgp1iq0pzBoMviZ2l6TLnNilSmnOwyM3TiOiQ16NSh4m3iW9OftWhQkjXKPsrq100ivvJr6/kA+hG3farye+OUTtG188A0i/AnkmNcHezomcRIbwoBOdPyzQmFGDeKPNkmvnChZeYMKC5x5zX7W90Ty1a1PsNEKKXwyn0mv3hwVV9RpVTvP5O54u9FV/WWPuL2oEUCQowgug== 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=SnrsHGTXKNpzrvD/LD+qtZ9nF871IyK7mqtMED2R7HU=; b=KZVGZpzg6QUfDpcnsL/z1oGabj9xa53eezc+jl8UOhQDwsNZs7R9JFOFXGO9Oa66Py/gXvZ8BbhxV07zTePG9RD3ovzszow+2Rp6oATaQqnPmjMQX11Htc110IAZ+9dtDFF8EvnzHJtb/3ilwQ8mZw2aMhHj7V6gCPysm0sHOOCwWqGuqatrXuCAhp7qRM9PTgxlayo0ZIJTwQBXyxSEFr2UmkUHPo8foWuqTZxaiLGIs4nr6/OvcOPTPWptgFHSNTVufoDh2ObkGvvcG3iQWzZp0CEOPD9ctGiqT+/4jNXjvRvedYety6fyAu8/7WZ0yJKPGy/ik2Mw0XaJ3Wzv0Q== 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=SnrsHGTXKNpzrvD/LD+qtZ9nF871IyK7mqtMED2R7HU=; b=gb+UV5jpVcmzQRbdak8hINcTkXyEy6ot+FTVWXXo9OH/44dlmL02VbI3hblIiyGpk6nNlU26FzloudtN5fh9/rQB2H5CCFfhSy4KA93PKHk8Aj4rBWsL0+9zlLH0LMn9AaMKcA7j5FuNq48eVb185j5PdcTszj5q/SBL2Md/Q8k= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:19 +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:18 +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 01/13] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Topic: [PATCH v5 01/13] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Index: AQHVXNnk4+XpkBU1SkuLbM+G5tdEAw== Date: Tue, 27 Aug 2019 13:18:18 +0000 Message-ID: <20190827131806.6816-2-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: 1b7aaa73-c878-466b-7337-08d72af1067d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: +wCfqMbb0meOzfF8m7iKMspwvl+NmxMgTd7MoeAreFBbMT0MaRu2sWlFc0JDNfrsJ4k63Gyivz3lNzN19x6XgJcQdwLT5PyBgnxYnA1xJrZt1z7P4fo1I/ZCmiv78Xej4HV4/7AyInw6m7Vj7bCTw7HA756UDnzNfw1BdF6uxkS5wS7XyPqQPFOyywi0eroRNI+os+dzBdPOzwYXK5Ek3wC4ApkojO6k/7HEXpx8FJ8GzuMi6avw2r40NNWkMHX9QrIbUn2J6Auj8GipREyNXHYXcfD2603R9EzgHXWP8NX73dY3PtEi2LVOF/dXgKhxGwBHRil2z/u9yO5IJtFsgVVqVsXcubj/lMocbEYm+dq4b2TR++m6TQrhoUxQsZFw5lCTL/PQZCktPCPD4rWx6wEx+KxodXueecf2IKqr+qs= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b7aaa73-c878-466b-7337-08d72af1067d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:18.4092 (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: 6SmUh/ZOP6/Q8GW0WlqZ0fi83dHWzG1ICn19zB97Z4DqiQOMfScD387bdflniv//VFfh9Lc14WF1tDlrYTSdIpVFCvmLcRUicx8Z7/yAYXA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061825_769721_956CEB99 X-CRM114-Status: GOOD ( 12.31 ) 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.114 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: Stefan Agner , Sascha Hauer , "linux-kernel@vger.kernel.org" , 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 From: Stefan Agner Add wakeup GPIO key which is able to wake the system from sleep modes (e.g. Suspend-to-Memory). Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - changed legacy gpio-key,wakeup to wakeup-source Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/imx7-colibri.dtsi | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 3f2746169181..45c4e721115a 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 = ; + debounce-interval = <10>; + wakeup-source; + }; + }; + 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 895fbde4d433..b72940e7d00b 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -682,12 +682,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 From patchwork Tue Aug 27 13:18:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116919 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 9A830112C for ; Tue, 27 Aug 2019 13:19:07 +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 7325321881 for ; Tue, 27 Aug 2019 13:19:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QUBt4dT8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="OBkXOQ0c" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7325321881 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=WejkTEny68uztqLaXpMMu3SgLCNGnRiw/p/Phf2fkCI=; b=QUBt4dT8ZOdzl6 xz4lSwVHZsBBDJvy6uPzpn3WefG1BNzar5evEbqaPWRxu137vwj0Et7eP7t8r90o3OwzShHFwgJ6E F+hE/ES16MgMaRRblrReMYn8hY3uRe42YuO8PG66ViopNuuTXfAasnczpRM4wHTqszt+ZT0M9TpTK ai51QxrdFS6oGKOzuBk88rYGgbiS1yjcHK1F+/Ld2d7hRz2G3weuyeTrWeYhPoqa7nZ4orQuBeNIA oc5qIiF++/WEsZ+Wv8lv7sW0jN8mxC78gtx57K9RTpmqcfucGuqOhAqvUuP2lGv4zEcwLdFp8Kpjw CzaVoXkIumrD2/f7kBWA==; 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 1i2bND-0002ya-VB; Tue, 27 Aug 2019 13:19:00 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMh-0002Ml-Dv for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H8K63XvXiamxPZXRebWXLEEdML9YvlbYp7zKGGBHZYJpuIPap9WL0gLFWqffkO/5G1sNZQCE9+ty7Nx64j6Kdh72AUWcaU/QLbl9ySrNRbOcrGfzu9B7N97uLxZPmy278u7ZMeZqF7gTeN48Cw8k28Dne7bhRfCra7jGkvssayVqaj14hcUsozmA0hCub+Pf2V5ot9mNa9+dfL7PbRCgB/ZEPDozvHahAHNN9xGaWgzpix3gOddP1ZJldDJMT8Xr+xuCWM0KM9tvMKtdkcHpX1OMAHa8auf7C9gDlX+5xn/rVoi6361GUXcP6OSc8ud5NnObMCNIb1g23xbNy/kLrg== 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=q5MB6IyCXnB0qtUygRj83JqJ+nvrG2816pauGH3zrXQ=; b=HgTONVn0sJidteIUzOpVB8MORXmigOCJi6psvg12DQrHUMLF6TlS7NurU1sahSPf5EhcSftvAfg/3iTlo5/Wu34NXcJZ2Z4f8cVHbyUSTlw4iMXWqv634BKT1iL2PEU3qdFUvFNGLsi/4g7HoSLOCNAuWxoccvxNfA5EjGq3z2Vcl0avGMfmuBKUUfyUXGgJisinnHAUNvCUatzFjc5/MlJ7WozvUhSiT7JoGFjFTwiC6LZtjJRCLQRPDXT7sXeXK9640Zf4TeSLXql3cqfAtEjjRNDs+UXB1kveVuYFJCpI3UrLFwzugRepw1OrwZ7X0G50YzXJlbDeXSbiZvx2qQ== 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=q5MB6IyCXnB0qtUygRj83JqJ+nvrG2816pauGH3zrXQ=; b=OBkXOQ0cjh+FhwTfElahjn8PcuxZp2kQvi6hBm5IEFhy95U6gzap1xXnKqVhSt+R55G+c9EBqdZ9fxFiNn4OOQbV46Np+8OMPEPH3vRI+bdVOhVCzk/YCHUxrYgcaqHaoS329Qq37WCUtJvwRyURZepGhJ6Tzo3ZSNr7bRpT6JM= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:21 +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:21 +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 02/13] ARM: dts: imx7-colibri: fix 1.8V/UHS support Thread-Topic: [PATCH v5 02/13] ARM: dts: imx7-colibri: fix 1.8V/UHS support Thread-Index: AQHVXNnlxGs20PyAuUCUZYQriV3PlQ== Date: Tue, 27 Aug 2019 13:18:20 +0000 Message-ID: <20190827131806.6816-3-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: fb227d67-8966-4dd6-8f66-08d72af10813 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:741; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(561944003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: 3qBUY8ebj9ajY/huKckGvdZenjDnvq5Vr3BEm0kwdf1U3Gd7HsabHOuo0XRXkulcZFWW3slcSrIB3QgXJtLAW23iZVO/2xK0eJTh5MVUiU4mDXpF83s4ePuRm4cOQmKnvtG9410KAP/ASZUpqFPfWPd9JgtFtFwsFa8ByCUMPz+BAUwoYSGFgBAHK4CzuV4P3kat9AmbgDbzGYKvXDKQ16mRqaF68uUa+3AB69EfKHguhM64Q9tJxTIxByDAeFGwDKopLQuZu/6TPUzaaBOtbz3hv6Es9ywcWxDEJ1LoDkLzw0s6kxkqY+bktWzueNZ/LZFCe6cRpXHjtrAtwmb78WGCZe9hDL4ubC1vNumgd4gBlZGBNap2eLbbdT9dOx6qvQee80VkmF6VWasEjohpQyt5srXyuEnwaTLxu7xeFN8= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb227d67-8966-4dd6-8f66-08d72af10813 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:21.0057 (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: 9bwiY8eFjXKyBHmVdSDaYiNah0y/N08TANfZo8255zyqciOq6XcD3rhuNkdjyJfUEUPgZ+Xq5jWITpOWstF3kyX9uT6LV7QpuF7bhIstInk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061827_559428_196ABB94 X-CRM114-Status: GOOD ( 12.49 ) 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.114 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: Stefan Agner , Sascha Hauer , "linux-kernel@vger.kernel.org" , 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 From: Stefan Agner Add pinmuxing and do not specify voltage restrictions for the usdhc instance available on the modules edge connector. This allows to use SD-cards with higher transfer modes if supported by the carrier board. Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: - Add new commit message from Stefan's proposal on ML Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index b72940e7d00b..cbcb97886e80 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -304,7 +304,6 @@ &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_cd_usdhc1>; - no-1-8-v; cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <®_LDO2>; @@ -612,6 +611,28 @@ >; }; + pinctrl_usdhc1_100mhz: usdhc1grp_100mhz { + fsl,pins = < + MX7D_PAD_SD1_CMD__SD1_CMD 0x5a + MX7D_PAD_SD1_CLK__SD1_CLK 0x1a + MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a + MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a + MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a + MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp_200mhz { + fsl,pins = < + MX7D_PAD_SD1_CMD__SD1_CMD 0x5b + MX7D_PAD_SD1_CLK__SD1_CLK 0x1b + MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b + MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b + MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b + MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b + >; + }; + pinctrl_usdhc3: usdhc3grp { fsl,pins = < MX7D_PAD_SD3_CMD__SD3_CMD 0x59 From patchwork Tue Aug 27 13:18:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116921 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 3849E112C for ; Tue, 27 Aug 2019 13:19:23 +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 14DFF2077B for ; Tue, 27 Aug 2019 13:19:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K+YYMM7A"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="oO6mimng" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14DFF2077B 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=skCBwnIF+w+Kx6ETp8o/rGrICgZIow+6tOt//OInj5E=; b=K+YYMM7A8UlVup LKQji8PwpvxtUJ+uSN51DmO8jQanR8gMqkeoL4wLpEG8EZzp98RaX9TaY+0nobplkq1HN/ZIiTN2H FReEwa/O1q/RiD+61xnYG60gKQKsnnK9/F9jvxgUr9NIvdqkel4SvBTlB9Y4eMQ8xwNh1hndl0Io7 4KX4siQ6leS3OLL+aWT9HfSKW3UXYhdOuBVBgBcJ0fgWmOkVPPjGZag8iiNjtc17hfxtcrSL3SS0d uk8hTQ5CWet3sgi7AZzmD4lw/9JmUpaPfvVj9FJOxmu1KZI+6uGsqyZvbqeCObfxbO4XK1JxBVdg/ 1KysoiPLBvvfsy5tSxQA==; 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 1i2bNa-0003E9-6o; Tue, 27 Aug 2019 13:19:22 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMj-0002Ml-5U for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OhPy/3N7F/3xcN6an2QLPsOztlGd6WtP89FKGU1lRjcjMcVW/berm4eDj67MV421fgiY0pLCk3S2s1bFFQTzFTxi720ZkTbcwEb6Ko9S7v2i8NfnGJqqJRZAouSznoNmg8EseAs6M7pSlfQjlWfael7NAc8vuE/6/Qd6/+3JF9/CdDv+uxBvsHYi/fFZhx+WtqNUvaQAVJ/RLlcvBRQmhIQFG282FAuPy5zRnvgsxohILHAXbx6kEWtDCx06AzsZn1NT7QkFSC1l6e4PD0a1MPF4VXXx4MXqDo6J+ckbf3+IcvDccviZmF4OsXVwZcHKc84E0m4Aas3mHIXqu0x3aA== 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=pRMxO89KF1/3XvRfAddg3LgCkcdK2Cvvum96iBBzTLE=; b=QHGFSctw84yPr99ij5jqyJC/M3RTqFxNM08aBGeoHachA1lQkCvgyS5MhyAM1UofIwbPyQQL9qR4sHYG/l5cu+DSXRGBBnBs2RsNmn4qh1FHmpewJ/NyWvC2K+7/tLIdPKrP/5hHIeSvP/WmUv6Ed7pUVAPVNij8eUW9s+oFEqNhz7ChWKUIiz9JkwROjgmarJuxzqV0IijL8tGCty/QawfD2jQtgMrxJm+9/68FxpsIpFf2lL6r4ZqkMWokv315/Nd3lTGYNItYR9WlcUkmO2UWG76KZDLSsMKCHqX9HycZw9yampPT3/YaaNIEDicTp3vKySJZC6SCWDjW+dKSMA== 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=pRMxO89KF1/3XvRfAddg3LgCkcdK2Cvvum96iBBzTLE=; b=oO6mimnguOI2KUuJupUzsE/tPUBwCXO5HpjmHr7+fdrmpAcdmLUMJ2ahyZSKgR7MSJYYcgYLwQnt9k1rlVvUayd9FwDnpls4T5r1zUv1bGDE9t/BgnWsfcrzm0Xyrz28m0Cab1+1e7d0Rin9aMLTpbbOtQJCZUCYywY+Z8pS9Po= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:23 +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:23 +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 03/13] ARM: dts: imx7-colibri: Add touch controllers Thread-Topic: [PATCH v5 03/13] ARM: dts: imx7-colibri: Add touch controllers Thread-Index: AQHVXNnmqbGVgA1FBU28GfECv2yH5g== Date: Tue, 27 Aug 2019 13:18:22 +0000 Message-ID: <20190827131806.6816-4-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: f59f7887-d798-4a64-e276-08d72af10942 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:313; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: H89fV9fL79pUHJILB9Uf/IW1BhCOD+ukdG8LZpUvrBSi7DywZrHZTL2b7RhPs41vP/aXb6++qbEkl1npaWENMPOwiszz96Px98VP72MroUftyW8PLE3kfujDIkHY+/X2BQxQ15LcbSjskCBotquRP1BrCThWEZMKj5+gnI6dCQw7IHuGRyGmNXtCFGzMBij/DczArVxjotISrQsu5AGmcd6q11+ocf8HPhSWsoWEpT5xRuoGpAxyptcMOhUoTZtGHggp+jDcLBzfOSNKMkz5AaQ3Fz9mra3EiKrcSuXUWY+dsgmeIGLkrTIQtnRprQ3CLm0U/R+ogUNxaMxm89iFZMxQfjBBr4U9V33EV7pf/B4znsHakun3Wc/pJRZzKKKmUKQvmhC/LhVGVbRh54MxV6DDBWwMF87ruW0B5JSutZI= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: f59f7887-d798-4a64-e276-08d72af10942 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:23.0565 (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: 9/36BiM1piBwE/126lRe5TmLanQbhtJUVlES+Omy4Zy0inDMLciGOp+94eb5fSlZL+kl9vLBJv36aBcMtdrQL2opY9Bq+sIz+dKGN1l8hHE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061829_281881_4A00B4DE X-CRM114-Status: GOOD ( 11.53 ) 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.114 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 Add touch controller that is connected over an I2C bus. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add note in commit message about disabled status - Added Olek's reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: - Fix commit message Changes in v2: - Deleted touchrevolution downstream stuff - Use generic node name - Better comment arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 45c4e721115a..6aa123cbdadb 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -145,6 +145,21 @@ &i2c4 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiotouch>; + reg = <0x4a>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ rtc: m41t0m6@68 { compatible = "st,m41t0"; @@ -200,3 +215,12 @@ vmmc-supply = <®_3v3>; status = "okay"; }; + +&iomuxc { + pinctrl_gpiotouch: touchgpios { + fsl,pins = < + MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74 + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14 + >; + }; +}; From patchwork Tue Aug 27 13:18:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116923 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 08645112C for ; Tue, 27 Aug 2019 13:19:43 +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 CABE3206BF for ; Tue, 27 Aug 2019 13:19:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fh8zI2f8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="V+Vghhrl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CABE3206BF 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=4YUc8hgpob9PLpdrdhZbmly7syjMy4L+MsF8KsrasZI=; b=fh8zI2f8u/5GbL 2zMhi/5ElBFLEnU95T/itI847T/kNH9s7VISs1ZjEOo1M2watl9QVqgLwtyo9MWwdvHx14NktWl+Z rKbodG0I0wiWNTa2/xsDFb4kxHHGL/nPDUtO5GRsTcpze39DkxsJ8RvZk+rnCLTcHx6p8QUSJbol/ f3K7+c4FfCTZtd1k+A2OLeekk6ckn9JZL5JiMOWHJ27vkmEqrO5wcyViwBKU0G2O8shgUAfGHlg3u crSsvfakdkKDPaJTqpAbGu0YFr7NZFQ3XXQsxIW7PbWKbNiTiZh6M6/1AxSeW49In7AY0hJNGl/YS Yr0lZnHxPlSDBeUynUgQ==; 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 1i2bNo-0003TF-MV; Tue, 27 Aug 2019 13:19:36 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMl-0002Ml-4p for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vm6WUyT+s14uwD2TgkRDi4Z4DnR84wcAxbMQVMiPOd+VJHUYC4WwerwiZKhWMP/IrWMLezeAID9rfgnXVavm0CHvarDCGa9AvOpnnnJ6olQd5YLNyC08+vUtEgy5O5FjyvLL+Wg4kBROpp7V7Y8VxnZBI3k6lFMqIfj7Ml3tvAxHOIELWhT6ed4JQJli8N9tvSCJk2a1kYuVbMHLen28vc2CmGz39FLXoo22cbBl2YBLV7xEsXhAHkDbfiIwTLg8PxsAlI1Kx9sutQluwm88rfTyfPIaQMa0H1/DWShP/NEdFv7dwLew2wBq1qBM5vYGSm2FUl8xaumC+MukczouXg== 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=cAO9756tEeuvri6tO5CKyZByGep91qt6LAWQXanuLUw=; b=OpIz1Mjfj/CEB1tJipMNjuaTgiQGgowtpSRZ+m+hl/lLyOrbq+5iQpoHv7OxX3VScgxM+KnhZGPIWhQN1Y37MDE9Za5njnWEDRAMxqiJ2SJgsW49UoKyGhn8AqIyw+XY7mAWW9TSIuY2Le4CNlB/StdGe7fSa9TTnSU6nVgbVTuB0/IbyVEePH+dqkgslKekUB4VQBRTb4qa2GQedp4NSQ7fPXiR0tXolq8LcmqvqJ/LE/N9ViwlQKMjZb+0BoJcSuZsZeCbfgdY7R4JuMHnARCg0JWtHKvNcwNFh+QPA0FpN+Pm1mTcEmOGpMWZcHOz5OHxuzw6pezVAnfUFtOypA== 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=cAO9756tEeuvri6tO5CKyZByGep91qt6LAWQXanuLUw=; b=V+VghhrldfW8UwTy30fatcps7tdGM6Z1kocRrzog9EXP4A3+9VtHE00+oMss42Wrmi0zQTl06KgBi3i51z9O0xX+ZfsgZZ0I4Nplv/PUfWMXnQSLHw9Donq4H+jLCjW1tdSalTQCRMEz1JjtglEE4p1LIK0XmRzGubUcCdYZXqI= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:25 +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:25 +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 04/13] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc Thread-Topic: [PATCH v5 04/13] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc Thread-Index: AQHVXNno53Gw0a13I0uZ7yJYLnnq9g== Date: Tue, 27 Aug 2019 13:18:24 +0000 Message-ID: <20190827131806.6816-5-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: 06b824ea-3b89-4762-7ddc-08d72af10a86 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(32563001)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: qO82iaZYgmCMsLqItzpwxjg9CcnNcNWrFbzFGkYyUkW/ecQ1o99Zc6yzpS5+ukA9/YZ3/5l/A36QbOGxV0goY8P8Hg0zNikvfYuLo3MelxWetRe+xnDUeRWukPcoWPAl8ix5ThVea8f6nJdNmKuFt2WXn9km7ShsSlz0/YocRb8ks/NJD9Jz1YewjMH/ccU4p/nh5Zt5SHxguZ8W9uDtbqMlwfEjZBU/TqTshyRJ9Tj1dCGTPqYuHX0jljMlOfv4uW9vH8uVr1Xjt747lW2id6d2J7ngakcwycArZPhIdT7EnLdR25VsAGOlDDeaqfb6nmmCdzVuWb+0Jw/KMpDmnE35gTHwU6XZPaomRnUqBZ5n7xcnGxJDuRfsP1LDJo8riG1dKmtQGpUJLwR+wkuuQDVgsepXgoQIrqDGiIfgWUQ= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06b824ea-3b89-4762-7ddc-08d72af10a86 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:25.0054 (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: zT/E1BYzYK3W4YxxnoTFQPE0L2q96+B36Ent3QVgehJa70Frj0eWqsucPn5/vFQp/E/MV/11+H7GykU83/lcTtp2VIpGHlJWJ3sUJ9nkxNQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061831_271769_6EFAB948 X-CRM114-Status: GOOD ( 11.04 ) 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.114 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" , 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 muxing for the optional pins usb-oc (overcurrent) and usb-id. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - change group name - Add pinmux to iomuxc Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 1beac22266ed..07379d3d2f4e 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -415,6 +415,9 @@ }; &iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh_oc_1>; + pinctrl_audmux: audmuxgrp { fsl,pins = < MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0 @@ -604,6 +607,13 @@ >; }; + pinctrl_usbh_oc_1: usbhoc1grp { + fsl,pins = < + /* USBH_OC */ + MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x1b0b0 + >; + }; + pinctrl_spdif: spdifgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0 @@ -670,6 +680,13 @@ >; }; + pinctrl_usbc_id_1: usbc_id-1 { + fsl,pins = < + /* USBC_ID */ + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071 From patchwork Tue Aug 27 13:18:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116925 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 9AA64112C for ; Tue, 27 Aug 2019 13:20:14 +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 6C7172186A for ; Tue, 27 Aug 2019 13:20:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lI3NgyTG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="GOympMlN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C7172186A 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=YfSnR4DkXIbW0gfslCllCMCTdCFnmzhedQ1IB11imBI=; b=lI3NgyTGiR78cj qxxbM2r/8N2i+AQH2opRNWR4bw3QvFhdfdWxg0Ak5xzdeDqLieprfokSlQu/hxGuE4kknNhGY0x1O 0UJTk2ak8bWlwV1zldLAhEyVjYFzX9VsxJJEaK80WX/Bg8HC/iXe1eeBc26+jWWJ9cXrf+Yy5vx35 SKwwTbYKPLo2+SVhklxPTG3IPTNeyZx6nl2v3q4NES2erQIErQqmSnNVTvB3gxVeyqIxT2CfNxFCH /tOwJ4nO0eKMbbidItSRKXbY7EDE6tVn9QNoCxe31rqnHPb1dcZf4xIuk+lI6KcTsbLH+7tg7MX1z WYaU5EM4aldifBM4wUGw==; 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 1i2bOH-0003vn-60; Tue, 27 Aug 2019 13:20:05 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMn-0002Ml-3g for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kJibS1RxorPUN/GXPH/X2IflN72N3yr+AyUC1ry0tUyaQ/9Nd6EzU26rTUti5k6MhZ75MAZhETV3L/ghwCxkH8y5ZYDgyN3HZ7xIRchenmfI8tGJ/X9rqVjiEvLMi4yINIHhY3y18PBegxL46SvziVa59ULc/uqYsqpg4eLUnC52NiZxgxFl7Tu/N3NCCPLaB7jLFyNGdBanK+LKWdeDxzLOxvAHu+TzuRXt3tpjPX+THYDNMwOVLxptp+eQ13MqQgNwgwrxsLSEZs17WSKPys6ClPAz4dI0iXXEZrtuFKi5RNUmUckZCT4kC9YgzuooZA0IpMa24jDScT4siZ+nlQ== 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=XgyfBIr9zQFM0AVMFNXcVwL8kLGr4M+9MEw37Pm068o=; b=EBPgtVJL7ZeSPuTxbaclxhcKtrbAzHkpkuvWRQGjDK3J6IyQ+zqo2tbXFMk14ENzRjkExCwmyKndStTIZrqK2aAO7byXnp8TAkgjZ9h1OePIvhFNOZn1plLEabJYxqUBW2U7wlq+REqnlgeDgwc73MVQ5ZWb9IXR/ps/GnLJUIxgOhH6UFGS/e83BHQOaZIbqVt4VIj+MUCZ2p96TIgkacnAJmcVQwKOfpWX1DNKnK2ysqx/tv68qFjMGZ30Sit7tKjfJx2EdAxYe+ZsXfyp8R9YYD7KGlPR23m6A7ahtY8A6FGRNBOPLiDf1nLSIVUWOnAM8ov18o1/XLrCeA+Z+g== 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=XgyfBIr9zQFM0AVMFNXcVwL8kLGr4M+9MEw37Pm068o=; b=GOympMlNEPv9PL37KKVvOjNlSLCfx+ZpalN7QSfWeMg4AAn7F0Hqwcqgt6PZwe1xBcYkvgMKBBRr97EufFL1nQcPeSwy0aPaxyRvkfcKsSYvBwi6DT1/hHZN/HDN1MIngxdVfAduo45SYRpPYKhUpMg5liwegKr2vJBcaHCIzsE= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:27 +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:27 +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 05/13] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Topic: [PATCH v5 05/13] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Index: AQHVXNnpQWJjpsUPzUeSw6jWNTsO3A== Date: Tue, 27 Aug 2019 13:18:27 +0000 Message-ID: <20190827131806.6816-6-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: 735d3312-2224-4d60-756b-08d72af10bbb x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:758; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: hS/Fs1XLxca56diVKBchRutvl3iDZPvIAltXn0jPEXhaW1GMerGLeD487KbC53A408rUGuJX2s2I7flagVlmPY7zioNnOw+tqSLOIrXsWVncm3gBS6HedQtHLwYa0HXKUbDAUjh5CQewlLJeRDbs1DwWJSoj/ElRgGOI25Yb3OUJRkW5QDfPdzKZr22spZyvpUc/bEugVAzQIgenCkfaoMPgaMXkK+6DEUDxogCaA+8dum4jbtb74wyB1ioBrCqkB13h/skufsjGGESGU13yLbI7HcJ2GAH5tMNKI5bx+6X8bVR/wKM6MRdbhUG0OdV8upHMSbEmZvHnkDbHBvld3wRMAp0lSDMXjFrTcSlxJfusm1TgEd1rSGbYEq/OERniKYGNihT1jykhpM1yHf/dfiqaig+yu7Ptnlh1gbwSKO0= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 735d3312-2224-4d60-756b-08d72af10bbb X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:27.0403 (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: nmm7XZ85L3T3MjhTP2qW5e69CYukU06/eF5XF/OC4rna0Hd4vZLxHCRf4db9PE6L0a2iBefikCBl3OLY4VPLS75vjDdq9hqIB8VwGrggSe4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061833_289239_BEB94D6E X-CRM114-Status: GOOD ( 12.40 ) 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.114 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" , 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 patch prepares the devicetree for the new Ixora V1.2 where we are able to turn off the supply of the can transceiver. This implies to use a sleep state on transmission pins in order to prevent backfeeding. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: - Changed commit title to '...imx6qdl-apalis:...' arch/arm/boot/dts/imx6qdl-apalis.dtsi | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 7c4ad541c3f5..59ed2e4a1fd1 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -148,14 +148,16 @@ }; &can1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_flexcan1>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_flexcan1_default>; + pinctrl-1 = <&pinctrl_flexcan1_sleep>; status = "disabled"; }; &can2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_flexcan2>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_flexcan2_default>; + pinctrl-1 = <&pinctrl_flexcan2_sleep>; status = "disabled"; }; @@ -599,19 +601,32 @@ >; }; - pinctrl_flexcan1: flexcan1grp { + pinctrl_flexcan1_default: flexcan1defgrp { fsl,pins = < MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0 MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0 >; }; - pinctrl_flexcan2: flexcan2grp { + pinctrl_flexcan1_sleep: flexcan1slpgrp { + fsl,pins = < + MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0 + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0 + >; + }; + + pinctrl_flexcan2_default: flexcan2defgrp { fsl,pins = < MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0 >; }; + pinctrl_flexcan2_sleep: flexcan2slpgrp { + fsl,pins = < + MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x0 + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0 + >; + }; pinctrl_gpio_bl_on: gpioblon { fsl,pins = < From patchwork Tue Aug 27 13:18:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116927 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 BAB1A112C for ; Tue, 27 Aug 2019 13:20:33 +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 94C2C206BF for ; Tue, 27 Aug 2019 13:20:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eZJDknMF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="a0+uG7Dy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94C2C206BF 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=tsOy0dyeAyNTdqMwbh0weeldDjw2qSGQaRJhvMlOZXw=; b=eZJDknMFnEFYS1 TsUblBv+Ztz7m2vU885jXUIT1xDCswPpIdHacemoMlNijyp0on454faqeKNDCKBu75CPZR+Z+mhcv 45rjJ6tgw8zFPui2xAJDUYH9+kecsT5181u2q78RMDHAKfKeMRAUxEfmEy7UZbwHCdfNQUIKF2XDI GrmuoeeUHB48PJYvMuzGrtOouJCds2iWxyJhaHWRSIMlNSn+uTQ2TPBYhgGADwQeDWhmtMRHxRrB/ kGOPncOcclBYWOst0qcD+jbmY35SjEFYSk4aLckExdIQ7YlZwEAeIH+P4imxfekAK2yiaKWnEa/bn b25geFSVItvLMZh+LDcw==; 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 1i2bOd-0005Sa-Rg; Tue, 27 Aug 2019 13:20:28 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMp-0002Ml-0z for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YPuZiKrvBN0Ng80onA4BthYySpZp388Rehi1KtJmNwE4JM3LYIwFBN6aPCu6VAMAbJ08kpmDV9BoUmANpTJx0vwJDjdOg2hu4tx9DlxVhg4O+Gte8Fk1V7omADSSAJcpkJ8yB0VhGasbUAcYP97lxtROpxN3SB7qhTWO5r4GIFFiZSVwI3QExlOcyJaExOxCvaZwiar7RhsCVSPa/n7RBcNY99WPkiqAPMz+O/DmGpcNFt0IgzahM9PAxGl0g6k17Qu9D2rPO1bkme0XhSg8VuhTWkGdz/KcC2g2c8nAhuh9WsGD766A7N2G7daE5ilc8MMR5RHTLLmNgsXHdSOl3A== 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=Sc9bSbRVYJhwGRj+jgvBqVyuUazerMV1rm+BJ1hcr9Y=; b=dBxmPrD/30uw8nmkBNtis5h0TljGsMseaDM328jU9n+Egx2Br4XM6xdxVTomg/kxX+mJNxZDAcJ+IE7EJlz3E5YFFacDRYCyV6TNS/SxxyUrltPqlOYX1WwufrQGPLxbIuItYVgB0Px4V+FSpmc/pU2KW7aD/ghjRb+ynxii/VKtXokWbUEBUxfkFk495mLHEn2lz4ohqk6/4PRMZTBIHCwLJx24H53YdJ8NJjegeHWjDt0rPJmuTqEtDF4OO7ce1fDMNUdXO0Q4LKB2/Yj+4G84VvctDq0YDeBZRmAcLwc8GIf6U9lXOeTmZXPhivmhPLqJCwb4OqrVE0jyk/iUqw== 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=Sc9bSbRVYJhwGRj+jgvBqVyuUazerMV1rm+BJ1hcr9Y=; b=a0+uG7DyDpLUT2xFG63YXhQ8Ll2lQA88Ucl0mZhxiuqQ5yRS3Q7anBMMuCFmL4MdTFiPzNZaQDZWEeonLjJFg1Fu7BvqEV0w4ZAw/xKurHsK/uXMaQXafiJXwnPIzZIF0D1nGOgLiEdlGw4ibuEHzb2MwZDflweFfYOU1nRBxno= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:29 +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:29 +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 06/13] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards Thread-Topic: [PATCH v5 06/13] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards Thread-Index: AQHVXNnqVpW8049fZU+4HTFIsdv8qw== Date: Tue, 27 Aug 2019 13:18:28 +0000 Message-ID: <20190827131806.6816-7-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: 53a33dad-1dbb-4d5f-8cf5-08d72af10cd9 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:826; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(21314003)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: wvvXdn6q0TGgKHqxSP9xO0tOOOxuLRxBJTGuNMy6iFUMPO7Jb3VrSPbD/gIzjCmix+XtL2EA0fUqNoScIlRTWMjvBiSdwRYDP5cKVguQ+C4T/qG2A1FtYY9n8UsXrI0rduZykA2+u0G8gvSIjbtbgExYiWuiC5dk8EikZCI4WelfnZ0sx4yr7WfoOhyCik8FDYTawkYF/LJpYgkw0s8JsyAwl/aJqeU1ErlsAhQAMFi5SKfXxpeu4iG0wVgEsBvcWcIpEvH9l04CDFVRXzk5tgZCm6ZI1ukh7oQR23nXsIBOdqDfWVvuz5Ob4uVja17lM31QkJPQC7NpTBAeFPPWnSn89TrD9GuBuFGnn9HHU2BdsXUlBPP3iKxMpLyD673SW7FvThSu98cDfopXKNssdsFTl4hJD6j/gi+4Wnp+TTw= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53a33dad-1dbb-4d5f-8cf5-08d72af10cd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:28.9162 (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: 2BD9mxdxuREh1fDKiyojk+UcGy/fXYiFsAD7YPbbAvJXqnZgdl9L8n/TiA/nLdhQfaGHXptyrYsnnv2jLzdx7SHzFk+ioVEJ2JHJ9MGy/To= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061835_110012_6793D04E X-CRM114-Status: GOOD ( 12.98 ) 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.114 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 commit adds the touchscreen from Toradex so one can enable it. It is disabled by default because the pins are also used for PWM, PWM, aka pwm2, pwm3 which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Adjusted commit message - Switched to consistent naming: pinctrl_xxx: xxxgrp - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: - Fix commit title to "...imx6-apalis:..." Changes in v2: - Deleted touchrevolution downstream stuff - Use generic node name - Put a better comment in there arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 31 +++++++++++++++++++ arch/arm/boot/dts/imx6q-apalis-eval.dts | 13 ++++++++ arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 13 ++++++++ arch/arm/boot/dts/imx6q-apalis-ixora.dts | 13 ++++++++ 4 files changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts index 9a5d6c94cca4..5e9d844d78f2 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts @@ -168,6 +168,21 @@ &i2c3 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcap_1>; + reg = <0x4a>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ rtc_i2c: rtc@68 { compatible = "st,m41t0"; @@ -175,6 +190,22 @@ }; }; +&iomuxc { + pinctrl_pcap_1: pcap1grp { + fsl,pins = < + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */ + MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SODIMM 30 */ + >; + }; + + pinctrl_mxt_ts: mxttsgrp { + fsl,pins = < + MX6QDL_PAD_EIM_CS1__GPIO2_IO24 0x130b0 /* SODIMM 107 */ + MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x130b0 /* SODIMM 106 */ + >; + }; +}; + &ipu1_di0_disp0 { remote-endpoint = <&lcd_display_in>; }; diff --git a/arch/arm/boot/dts/imx6q-apalis-eval.dts b/arch/arm/boot/dts/imx6q-apalis-eval.dts index 0edd3043d9c1..4665e15b196d 100644 --- a/arch/arm/boot/dts/imx6q-apalis-eval.dts +++ b/arch/arm/boot/dts/imx6q-apalis-eval.dts @@ -167,6 +167,19 @@ &i2c1 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio6>; + interrupts = <10 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */ + status = "disabled"; + }; + pcie-switch@58 { compatible = "plx,pex8605"; reg = <0x58>; diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts index b94bb687be6b..a3fa04a97d81 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts @@ -172,6 +172,19 @@ &i2c1 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio6>; + interrupts = <10 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ rtc_i2c: rtc@68 { compatible = "st,m41t0"; diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora.dts b/arch/arm/boot/dts/imx6q-apalis-ixora.dts index 302fd6adc8a7..5ba49d0f4880 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora.dts @@ -171,6 +171,19 @@ &i2c1 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio6>; + interrupts = <10 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */ + status = "disabled"; + }; + eeprom@50 { compatible = "atmel,24c02"; reg = <0x50>; From patchwork Tue Aug 27 13:18:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116929 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 8DE041399 for ; Tue, 27 Aug 2019 13:20:45 +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 6A803206BF for ; Tue, 27 Aug 2019 13:20:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o+lK/cPb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="nU8K254U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A803206BF 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=bmLts5clxCpf2hBI3UbOXbVfxVnTfMYqS2JqwOoXzrs=; b=o+lK/cPbnyXO51 p0Hrk6a+ddOpJdRExLVyhjt63SkY9geaF1pEDlyERjhGcszmiDNC/IWp/DhyYw6ykW6trTAth4vpn +vjk9aDBV0cqwdudFveWbSQr4ZQuxAS9y5+GTfikLRSfK4pjGmuuLrBmnO7zVpcz3e2h7KqMoTTxh CKIJATuB8d8ojqaS+3noPyhzJTH9gw3mfAqDDRUcS5w/EDKD+OitfZ/xJN2CFxFoJKplYnTv4ZjW6 QQdqfemehh5cfFlKCzaDc1h1ZbVM1RUWtPb9miD4d6m5CxfDeB0SpXlmcZ5DIH1x+6lCTa6GF96wn YBaIoCbSI9zFPnkmcyDw==; 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 1i2bOu-0005gg-F7; Tue, 27 Aug 2019 13:20:44 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMr-0002Ml-Ik for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fIjasM8ZBmjqGvvRIxwk7GwvB6tDbWT3epoIqSsG6LQUBQRB6lP9f/ON6/Rd8q1dBrHvDPNqtASbmBOtCAkio6aXYHZrfMCA4uqGpeHavY2l+Dxc47vf9sBvQOFYEuiTaTNfFo94/6AlUHJ/Mg2e50kElOhAedxgES2s3Q93xvbtqXJuTV6zVvgmr6DG9sjA+07RG4NBS6Sj0wgPE3GySt+MLNU6sYV0BBwFNK0XmYwszvUBRMVc1ScYfvY75tTplbgpteaY/t7Zx5CWcOst0NDQ+9xKbQ6S54G8PGYlz0aJqs7277a4Af+8AlYKFlpQuBXsMZ6iZAjHNwOYrz2rmA== 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=p9VWRZl4iJS1J4TTlxjOZWpiMLQgDYTXQ+0T+ukn+ik=; b=GSkLVTKTTiRr2eQoIdrIYVrNx3LlcWa+9Uvd7ZO/mnGAXQtDDXbeTOoMezWcnAqdLgGyYueSVG8WgQjYjOwO/s7u7jHIWq4VyxqnFMUAWtiDP2uT0H1EYqbpwNqIVdTDLW5dZpYsyOy1CgRhwkzk8BMrwRjPDGsttJhClbM0hDGksVE+AOVXYDjzvJsZHoKiIGxpqrHSVEQ3VPSZp+CEBW409pg7RrZ8AOSw3OgdbuYpukmBc9OUenkvY3+R/oXtVxm4KQEpAPOg4aIrSqQNgefH93ENBIsqy9RFT4ZoFoGdwc+B7rr8Fi3iy9pBC/NjPC6BXNhYYzGr25lR3+cTaw== 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=p9VWRZl4iJS1J4TTlxjOZWpiMLQgDYTXQ+0T+ukn+ik=; b=nU8K254Ukh55cG1eb21gX27rnjfZtVDbFi6sdOC/v2JDbIAh4JXUdwy3/3Dd4I6sV/VBldfYJxEy5nsmOG8oD5rh6pEr5cq+SdH8yl9gg3R0VbYTXHUyIzXxfjvgaYr1hRxwOCJR4xEnSA9WJ6pxD9nKjfpZbRxDxfCGmCGfmts= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:31 +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:31 +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 07/13] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board Thread-Topic: [PATCH v5 07/13] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board Thread-Index: AQHVXNnrltuBH6KW30Cy7f/L2mppKw== Date: Tue, 27 Aug 2019 13:18:30 +0000 Message-ID: <20190827131806.6816-8-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: c951fae0-c62b-43af-3ffc-08d72af10e01 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: a+ZJz/eemf1e/uw9XgK6ehXIM3vS0zeXT8qk3FgR/9i1rpNtxjNm098I8Fl1MWQx0ebNfGMqihbWKjL+3+IfWZsUpqSkyxrJR70jsDHewbrf7EI+sXtb8tja20fkUivOyLPwUGLJV/V50pC7Ka9kp6ObVfRJCli+y5bi/4O2OGsFB3N7rg83jFL+0vI8UMjVtb5HMXqxsHf1+S7y/cwN0HpLcoETvBJyuGhEkLvb6ZBkH5etokH1+Go44sRbqUioXRSEtDDyQPd0xQ8l9HxJ3sEarQpJcGM49s7Zja1CoOriAPA3FYNGdyB67WY8/Dc0Zv9++QPCoDCP/oQ+mJCUxgAFQ/+KacVpQX0syYRMCiAIv/jIFN3xdg54tQsz+yrE/3Ngij7WX2rwzHzDTuu7X4TsSewAFroxFf7roshAOVA= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: c951fae0-c62b-43af-3ffc-08d72af10e01 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:30.8981 (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: ed5JAM5Jnlwj72HhNow3H8ruKnwKEYYRXHtmXNBgYFyI01c21IQHzDtnD1pEq64h+ga3DRzLIfVpJSB0cFLq1uKp1GKs3bLF78TX+enGabM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061837_685310_8C56EABB X-CRM114-Status: GOOD ( 11.13 ) 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.114 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 patch adds some missing pinmuxing that is in the colibri standard to the dts. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: - Commit title arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts index 5e9d844d78f2..cd075621de52 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts @@ -191,6 +191,14 @@ }; &iomuxc { + pinctrl-names = "default"; + pinctrl-0 = < + &pinctrl_weim_gpio_1 &pinctrl_weim_gpio_2 + &pinctrl_weim_gpio_3 &pinctrl_weim_gpio_4 + &pinctrl_weim_gpio_5 &pinctrl_weim_gpio_6 + &pinctrl_usbh_oc_1 &pinctrl_usbc_id_1 + >; + pinctrl_pcap_1: pcap1grp { fsl,pins = < MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */ From patchwork Tue Aug 27 13:18:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116935 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 BC7871399 for ; Tue, 27 Aug 2019 13:21:38 +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 992EC206BF for ; Tue, 27 Aug 2019 13:21:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PIr4N9EQ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="KvUlnM2F" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 992EC206BF 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=QnBvagBuVTQGMmcg8J6DsFFsr+Col8z1OD9iJqAFy+4=; b=PIr4N9EQl1FbNq TNxkD3Xs3FCXfZbSGtB8T2s9V8lc7gVZESKle0KcXs8kQAJS/RHCjzJZmctq+kgMsWY83VxlUPSDo zMhmLbYcbjOX2M0X3OU/bjWZSPTDKMVc1I9PPVRGhYoqZ2QMHpJcDWqjAoAZqH7TX9UAa6rqIxeSl NXM2OQbLXnoXrLsLxmIxOYUZIF+qI2mO8V9HP+0aAE0zQ0PJS9oP3yNzeChdQARknvpOfbMCrGegx BCiuybEEe5hQAU9gRDGUyLFJbomiaQ2kIckZ+HnG6qdk4a1BKTxsENvUQEHl20FU3vsVkPLO/ji6K dQ5zqSYXdYoNm5JIDBwA==; 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 1i2bPl-0006LW-JQ; Tue, 27 Aug 2019 13:21:37 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMt-0002Ml-DS for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MItVBUat7okZNtPavdoYoo2s2REEBTAm+Mq+g1+acivH5RQvNXAkQqr3hxAEMRugcYs7ZRKfAoZkx65C53vztBfK1iYbuc8KjuMBM9ZhXwsRnRN1BBZ/Xw/MqEsZdXB8+v+ngpxjrVXZx3fsyr0h8ns6bbe+0mlieFRHipSMxGkq1IjUuUg94+dgVxI3+cBK3egkox4VPDTttu1ww769y3ExemLc8329berQsZWu6VnEGHjF+yAX6WTQU/PLvXOKZG1rYYmHt72MHfeEOjFZck8O835udhbb/1wwnKdimAcdPOuIf+O9MVPzPjN3Kqccs2dgpHu60zKETrOiJ0soAQ== 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=XemcFVYV5bRq/jjtYhlqGjLL4YszM2Q30lZLXK2SajE=; b=UvkBZigz3d6ZoWCUINhKK/OgFiIQIu8w8E1Rl8ttwc1HiG3eNGSqHepTCE3hChNzeMVk6h/8iubXXjx1GQSwlBseTWZy6fCQ0tcu3wW8cfBYkbyVkDoJRRCu1wahKdFCllqut7lID6YuqW53Ss0AZOGoNb/8LgMHVBqdG8zIxUrZHAheUcPDBjjyYnn0wHlsFnOeMFMKV+Z6TBLj1fFe66l84hX1CQ2IKt1cfNLrza+R692L95p08hwbj950tOLKSbaNOQxgBZRnpTl4JfmFj/VUo210i+VKqAHJX16p1A8U6JWKM8l2DTTsS777ZRMfQArd/nSx44vTVNMqgymfLw== 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=XemcFVYV5bRq/jjtYhlqGjLL4YszM2Q30lZLXK2SajE=; b=KvUlnM2FfNpd/nA4tbkiq93Wo/VWuajmUu9h88rjw9WPlFiNUgvMzYmiCKFxFXybn1yj5C95hquZ0ycFC7qNkEfSLMwO7/GOccMA4JLr2VEoY9MWxOeUxcF70QPSUQXdLxQ0jBAbd8BHZEtHfe16SuX/rICGu3Xi8X+G2jVeZeo= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:32 +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:32 +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 08/13] ARM: dts: imx6ull-colibri: Add sleep mode to fec Thread-Topic: [PATCH v5 08/13] ARM: dts: imx6ull-colibri: Add sleep mode to fec Thread-Index: AQHVXNnsQ+HoqCbh/0yS1FQhsuRmrw== Date: Tue, 27 Aug 2019 13:18:32 +0000 Message-ID: <20190827131806.6816-9-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: c13bb7cb-8770-472d-a1bc-08d72af10f18 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: 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)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(14444005)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: Hd0eRJ+18MoULs8By7unWGkpi8gX5LH+n2HuI90EtATsq4eMLvK8L9AeH4gDFhuBWG+LhtiaCG6qDiJUVJoXBak05Zs4DMRpNP3FusbyeUDCIgnxiXeH8mrjThgVJi2H7Idn3ylClYsf0sHbc+Z6iIvKgt6uBd88dCUJqmxZirO+3HXYgArTUyPfUPf9Yp22AWbtP+lwV0SUpx8rf8n0U/KoVRk6J+unM3SWy0hMnlq07Xo2cZcenoc1G2LdLSj6y8HEL/cplQ/1jHMl4M73PanESN2lo53Bdy6au8hiQqReo9Z4RP5BhIHy20uhL3oS92y/XjRaqoFb9gXnGMthuEMy4JrFVPlJOqUIOs4Xy5VNKg4uRUvLQKB/RYFGbF1stpeRzTMB/deohdGSxjhQvPuw+nDLMmlaq1Vt2hWOtyw= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: c13bb7cb-8770-472d-a1bc-08d72af10f18 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:32.7060 (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: kxVh420Kz9EApC3PS1mTYo8SAs9elB3fgt2yq2BMEf7uPt3jeHNhy7ijPF/1q8JvqBa/hOMovft8MujcWEaPbyV76GZSMKMINDvbqt+/KP8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061839_526888_C7B74AB8 X-CRM114-Status: GOOD ( 12.05 ) 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.114 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 Do not change the clock as the power for this phy is switched with that clock. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added 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.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index d56728f03c35..1019ce69a242 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -62,8 +62,9 @@ }; &fec2 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_enet2>; + pinctrl-1 = <&pinctrl_enet2_sleep>; phy-mode = "rmii"; phy-handle = <ðphy1>; status = "okay"; @@ -220,6 +221,21 @@ >; }; + pinctrl_enet2_sleep: enet2sleepgrp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO06__GPIO1_IO06 0x0 + MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0x0 + MX6UL_PAD_ENET2_RX_DATA0__GPIO2_IO08 0x0 + MX6UL_PAD_ENET2_RX_DATA1__GPIO2_IO09 0x0 + MX6UL_PAD_ENET2_RX_EN__GPIO2_IO10 0x0 + MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15 0x0 + MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031 + MX6UL_PAD_ENET2_TX_DATA0__GPIO2_IO11 0x0 + MX6UL_PAD_ENET2_TX_DATA1__GPIO2_IO12 0x0 + MX6UL_PAD_ENET2_TX_EN__GPIO2_IO13 0x0 + >; + }; + pinctrl_ecspi1_cs: ecspi1-cs-grp { fsl,pins = < MX6UL_PAD_LCD_DATA21__GPIO3_IO26 0x000a0 From patchwork Tue Aug 27 13:18:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116951 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 B6AEB1399 for ; Tue, 27 Aug 2019 13:23:18 +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 9279820828 for ; Tue, 27 Aug 2019 13:23:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PDxSHmAi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="VWf3p82U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9279820828 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=oKy/nxOHjcdBhOj7eDALX+9a2ORlFGLrF7k1JiXBFYU=; b=PDxSHmAi/KfgrE 7FBpD3c53GM9n8VW3BdGCiW5TlfpZ+4AzwT8TgjHtn0RUznqlT4vp9+E9wgCMrbPAE6R6Hce5GmhE GRTZu05ImZqjzmp3IczbO5JWSfQLHu9mBmtB642f9evQ117xurhWGKFxCyF9oNrdKni/7VgbOOAnw r6Qtvy/NobikLc8s5+7i71lv2DoZymKYmML3n1d+BEwA/Rl4O/Mj0E/2Z1EbJl0Nu1QKYsAtjD2Ad joZZvmFasA2hwGWkr+tsPFklzUMrTv/H4W2RbA3FGUY9ZacPxCF0S4uSv2ODYgFU+cJLtLxgU/mGb ib2Ypj95wAn7BND0WfMw==; 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 1i2bRN-0007p0-Hr; Tue, 27 Aug 2019 13:23:17 +0000 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bMv-0002Ml-Vi for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PX3SMWqclsxf00Y2euMF47DG0I3j/c5J6H5SHAUF/ZPBIUy+Z3vYHDGvBe0Vaf3Ng/baVKDgNSkcXdwBSu0eUWwbap+DImcSrClx8DEHP7Dfu8KODeKvsNWk9ibuEwIcM3zMm6IlQjuu0k268TtC4do314qX2yzk8+Wary5XEy5vg5RSGtmawMwUARevEInAAoIUsGL+WUXOxy0OIKDw2F8F5P+9SVOo+IogiKM5RruykGtCF021Nw01UGCGUTU+JhufSKfKRxAEKXu7a5CJe5aXqLEv4a/n48MQq2ladk3nroau2YJYMSaeYpntp1EvNjGj+BunuI1uYpsI0dl9MA== 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=Bg+qFwjett/snkiiV898c5SkqczXgVyzPDgEgNPRfrE=; b=XivkQqUhCsRhmNJvMjAgbhD0Iyfpo3JXi6oU8nOm2a6KFgymrJk21Fi/3CpSFzY4zyGshbefvQf59zfkPhl28jlFQl/W0JLY9//VHcqfiI902M1L+OqRp0BDYr/WvIKKjzhUP5m11VH7bDxMuWBdh6esrn/64JQF5saDHFQZwMRn9KYmyMby5uz3rGG6tjwADs4PyacNPDFEzeLBJol+ld+JIfRBhDJy1QOprtOvmIEh4rHSBC6qTWXdEJk/DkMOowV/nXgSij0YargcDqNXR4+K/Vo4TwzEZOKJ/kBS83ng+QVM3xy3LXWDSRPze2k/bh8zZ8+d2j1OTZjVt6Y9ew== 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=Bg+qFwjett/snkiiV898c5SkqczXgVyzPDgEgNPRfrE=; b=VWf3p82UppAhVSO8nBNcq2qCuRuxikIFYopc9B8PyzivYMTbbiJCSKVbJbUVFhpMb7LwtOzEMsnoSfrLi5EMY0GWQHSxewpHQpnlyO02eYg1PnALAgQLS9+WPjKvuWAG6VjsBBASNyC91v5HGMxWbmbtYJrPeh4enNVWwI8BU6k= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3872.eurprd05.prod.outlook.com (52.134.5.19) 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:34 +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:34 +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 09/13] ARM: dts: imx6ull-colibri: reduce v_batt current in power off Thread-Topic: [PATCH v5 09/13] ARM: dts: imx6ull-colibri: reduce v_batt current in power off Thread-Index: AQHVXNntUi9gc5UvokqnPHWDCbjaog== Date: Tue, 27 Aug 2019 13:18:34 +0000 Message-ID: <20190827131806.6816-10-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: 5de08525-a580-4804-542a-08d72af11049 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3872; x-ms-traffictypediagnostic: VI1PR0502MB3872: 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)(396003)(376002)(366004)(136003)(346002)(39850400004)(189003)(199004)(8936002)(66946007)(2906002)(11346002)(5660300002)(50226002)(54906003)(110136005)(316002)(14454004)(1076003)(256004)(64756008)(6506007)(386003)(7736002)(478600001)(36756003)(53936002)(66556008)(6116002)(66066001)(66446008)(3846002)(6436002)(76176011)(476003)(2616005)(446003)(486006)(6512007)(26005)(305945005)(102836004)(6486002)(71200400001)(186003)(8676002)(86362001)(81166006)(4326008)(71190400001)(81156014)(66476007)(25786009)(99286004)(7416002)(52116002)(44832011)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3872; 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: vj1ui1CBsvP/WPGhuEZSeUsg8ioweqDla38p6uYrHZ4l+rZrypHuIQLJxaO3euVqjuMbPvpOuJKDw4cGf0GZVsVjJTZc0rTIEbEXNRsOrGfL/ZjH00xvf9k7zXpfc7GedU9R5noSVZDLpnOc5FAeoN/4IgE5ixBbX1kX6QxUoQBIhy/9YfuEXx9hnZDmNwhAZ2qBtkZREovzUq8m7GDnBdiW5x7on2rfeylF/Vw25uPqUDKlba289xDX8o2AFW4BboWkZAtnmiW57iHgH7dIhQXnr5mJdS4Md/MKpv/SwEfvc1lE5fhKun4D4vZD/V6m9uayj/h7QijQ0uQf7pxdyOCA16ObmQvK6N+qpKfPKdkNTsseuyAWtk8iFd60QmNaXF4hcrGKbjW487Lj/Y3mJTNWk2aGoajOmyaen8Egj04= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5de08525-a580-4804-542a-08d72af11049 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:34.6889 (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: jVem9PlH+z2bL9AQ0QIgJ3xTXUANKhKmivHmz3HRFaCN5APfiDwV094N0oeGa8wT6fLh2cZBz3cvaOc57OEWooLxpBRRcWw+pTILQQdPAHM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061842_052937_51E9C1CC X-CRM114-Status: GOOD ( 12.60 ) 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.114 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 From: Max Krummenacher Reduce the current drawn from VCC_BATT when the main power on the 3V3 pins to the module are switched off. This switches off SoC internal pull resistors which are provided on the module for TAMPER7 and TAMPER9 SoC pin and switches on a pull down instead of a pullup for the USBC_DET module pin (TAMPER2). Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewd-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 1019ce69a242..1f112ec55e5c 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -533,19 +533,19 @@ pinctrl_snvs_ad7879_int: snvs-ad7879-int-grp { /* TOUCH Interrupt */ fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x1b0b0 + MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x100b0 >; }; pinctrl_snvs_reg_sd: snvs-reg-sd-grp { fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x4001b8b0 + MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x400100b0 >; }; pinctrl_snvs_usbc_det: snvs-usbc-det-grp { fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1b0b0 + MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x130b0 >; }; From patchwork Tue Aug 27 13:18:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116937 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 0BC8F1399 for ; Tue, 27 Aug 2019 13:22:01 +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 DC6B3206BF for ; Tue, 27 Aug 2019 13:22:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tPAtIcN4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="CF99QN/v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC6B3206BF 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=8Aec1QF8MtzROna8Taeo8jAgB2HP7gjybqCqSNLhxkU=; b=tPAtIcN4qF5PLf 7kcooX1qfQbxiz72yD9ezLjWzJbZFNwRb3sKXA3DXX/LfVCp4Xkpfw3w/mINj1BeVL27DA0f/49G6 fzTcKGeprbHR3eSJ277Ro51H8MADqFe/XKoEQn629BAR4K0lwWLdq9hAUwys3/RTHT6kIN2SBklPB T6XlWGGNyGFEd5U+U4WX7iCtXHThVMynT6nPxz6K9zwzusMLbFXsoznzJpdkBsPWwKDfo2mzHLdKL LDwdqNgwW8/qdH/G5betI0zAf8jdRC+ZwRDRJfrGkbdlScngceX9OUfAehjzRz8LHIIjI9tPzqlGz 3RuT0o0ln4iQ4ZqKXfHA==; 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 1i2bQ2-0006bt-Sw; Tue, 27 Aug 2019 13:21:54 +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 1i2bMu-0002cb-OI for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sk2BtpmBv5OoSGBgbzQrZr/YEbteoaHoY8r+1JxXzhaM7C31aXGUM0j2M4tbh2MuWHkK+hYbLA/Cl1x73WYV1t0d//MiF9uCvrQdoigA6I/bILNcMkD5Ueer0YEvA6lDfCqyjyFnDDZas7WYKstBMCReyknGfeu7lDXmkywgP6LuOuz44uT5onldMM4hw8LbeAz9ZsNjjb5IE8GzAV6F52Y0obvvvJwoN6olVqG+5Ch/yA9Tay4CnZUpSVfPlokC1y/MTllOWSWwSaVPWTEFa/gAaBnnBYIHF9NqRRgFEwawq+zDDU7hszo9Vbw/DdEGCmdbtiIJjbU7lTodTm0u4g== 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=iF0vUPYDx6834cH7zlHc+B8vMi1IQkeBeWO+IsmhPPw=; b=BpzL8QAIGvPq+ycUjHiczZX4ISwCCi2CBO63SeAzWQ+kdhk/lx/KD2ITfyR2yt8Xb8eJLqQSDRQxlnpfhYqgzv0xkDQ6O4WBqGWw+Wdms84Pb7/X+QbANHFxvOgjT89hWEUjJ3uLgGg6Mr1DKZN9EOCe/VzVWsEv4LbEScdKfAp4Y6flBLMiei72YMC6c10m9A5Wy9W9ikLZJkFouGUnKNtSwU+tC7zUxzcWNmrLzeIad8uQY1HTRSV/l2OJmE37T9oZ/ZjBXtOoUKLMHcDtD5f+PKz1aaMcOboyktzBaEPfzm9iiWrHbr50Y1uBBfOMOFEfAdL9Tz+KXm0denp9SA== 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=iF0vUPYDx6834cH7zlHc+B8vMi1IQkeBeWO+IsmhPPw=; b=CF99QN/vFG7w4OamwBdzTbQXJf8VNZ7ofxEQwpQ6cPVo2fjzHHsLjvz1CqGf4ZZSZfSKXgXTytZ4DpfGtCA8j8L0prtUBX4t3+ZtMZlsrZFcHZ1g7d8sFbjO/XYtiT/8XKHglT3YkDuTgIEYqr3WiyBddckacyP7SBrOloOkJNw= 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:36 +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:36 +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 10/13] ARM: dts: imx6ull-colibri: Add watchdog Thread-Topic: [PATCH v5 10/13] ARM: dts: imx6ull-colibri: Add watchdog Thread-Index: AQHVXNnvIkDHPkM4fEe9n/ZzEOccfg== Date: Tue, 27 Aug 2019 13:18:36 +0000 Message-ID: <20190827131806.6816-11-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: dff97774-933c-4923-868e-08d72af1115b 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:4714; 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)(4744005)(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: QMdE00kSMHXNPJvi9Z614jWJ3iqdBDv4hzr7Mxjh/AiQucDd8708ZbrWmlVuKVZbp9fXuvLsVoEp+DMu+3XaF++iI1u6MIxCtzczDZ4y4EAg7GbID7KwFWWVNEaPspJippVkL55QOimOXLvR9UIFQGQUvC9e5z9kMjwaNHj32ySBWdFiyj9RePk1oHDXMDneKSUxkkhpXga493MjDzT51q2Ap5Qy+Fw7sf7TK9SLnm4jIwlhciqmL5QyiNqOY1AgdEHCWBd8YmzhOVPJSk/vQF/LANN3BL37uPTfoz/OGKAIFrZudYRC49V3TFjIjuAmdQqohUNpBSsBvIAxNkIlf5/dUMZMjx1aVa+8l7asBXLqJhc+uZpXHNFkS72LsMn1vdyetfLkp9JA7O/yz4rAVHBciA1R/ipUHVKBR5vmWL8= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: dff97774-933c-4923-868e-08d72af1115b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:36.5279 (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: Toxhhlk0q8QkmsW4MwmIC3hFs16csH1w9Wujh93bRifuChYObcBLLiqlJm64P0wml9wh3I4UMKhdqGHVf1r05jXF3unzm4rlivXcJe5g26s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061840_849902_7DA7B86C X-CRM114-Status: GOOD ( 11.46 ) 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" , 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 patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 1f112ec55e5c..e3220298dd6f 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -199,6 +199,12 @@ assigned-clock-rates = <0>, <198000000>; }; +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; +}; + &iomuxc { pinctrl_can_int: canint-grp { fsl,pins = < @@ -506,6 +512,12 @@ MX6UL_PAD_GPIO1_IO03__OSC32K_32K_OUT 0x14 >; }; + + pinctrl_wdog: wdog-grp { + fsl,pins = < + MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0 + >; + }; }; &iomuxc_snvs { From patchwork Tue Aug 27 13:18:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116953 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 3A8A91399 for ; Tue, 27 Aug 2019 13:23:35 +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 1723A206BF for ; Tue, 27 Aug 2019 13:23:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SYrr+NH8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="cqm7FLG9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1723A206BF 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=vZR+3Ozgm7L2ShbmDDiYIB/0OqyrQjvzT0llwvFp5Xo=; b=SYrr+NH8PJV7+z HAhXy1m6VYp9XMM781dSAHdiqULCy18M4b+2MmgEwKay3BhMFj/LAPG8M0Exei962U86Po3C1VHS2 EYmuG8dS26Rkj7LquYOZd2/f8uTx9bh3F4/jDnCHDuXjlI+ngIrbvbRVuOLPv1a2J0OoZVWPEsU7i mVe+u/EFKag3WXII1/3fNvQzdyP48zns+U586MXk9T1TOgKd6QvF2wX8xbs/3P3xRr5V+Mg3ltSFg BI4TTmViFgYJEuiQNeZiITc53ESBt+tDWdJaQc22Jz75Os4L0aj4JoAUX5BhvWSQ8yYVbYjiwPJVK Y3rM8HwM2XmCEbI9Czzw==; 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 1i2bRe-00081M-Ij; Tue, 27 Aug 2019 13:23:34 +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 1i2bMw-0002cb-ON for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DiSu1ZOt0aoneEX8jbUaKfKlCKgCZxrEAvs00zTZZ6ogCqxf70oXKcedp2+dtAJPPFBVZgiIYEHy5ZO5PGeuPBF5qtVpBMZ9WBn0q6lsc503YezXIRPvCxh6xI8M4voEpJGfqmqQtuF+VPvC0Jfb00H/fwWc6DlCGeL5gTvFvxkIc21wScu9nxmN0gf7bsf+B96qC7JnlBEVai91CWJLKJzd/EOxiLcPdUCDnzWJGNa0Yff066DzWotWUUin/TLgvNLpb/eoCqLANom8PoktbfRd4HegrCQbRl0y57xUx5xMCwFPPqwKVU2LHCtY6fPH3tKObCcWr4MXJVt3oB/CGA== 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=h7Zuy8caVejUd1TKmXB6UJ7ftoxgSyhXZB99usYxeQY=; b=Z1vAC0jrIOADonffeSpbF/WpXttGUeeD1mbqoMa1aXB4TjlPKlNwY5A4ZeHt356PcJVOrQvAsCosCrOcWeUtHeeBIBYZfY8oxaLMrm7WF4Tkm9Gy1vGnkIkpqpIUIApYZJRrSne70tir6rGsiH4CqKHF+hRpMeVmvIt7N11cT849/y98Yaf92W7k5WrDU36jgr4j9b3Wb08rLVkKHUnTfjOyyBGrgaYfQ4iwp0kyFAyZLubVcuOcMcEkmrerlqXZePkTXpDJQSCL+CHo0hlMxI34ZSqLh4HLscPwjYKIJbQ+/pcOYGObq51FTKUdJU09WKFAQAzSJuyrd6kQBTrODg== 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=h7Zuy8caVejUd1TKmXB6UJ7ftoxgSyhXZB99usYxeQY=; b=cqm7FLG9XnhMdRQ4Yjk9VEfjmOH6KHd2fyjcYLVp1AAY3zK0gdPVFpuHZypEY8i3TLjG5EwPp7k1IBdnzcTybtnBgo1LMeUqfL8lDrJM/7i/cA6uvEmdkzHPHSvIE7eE7Xg3ew9r3YFP8OHdGL48pt2NAUJ3FzFCSbhyQ7z3R+M= 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:38 +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:38 +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 11/13] ARM: dts: imx6ull: improve can templates Thread-Topic: [PATCH v5 11/13] ARM: dts: imx6ull: improve can templates Thread-Index: AQHVXNnwSzVNFthVukSntF0iDrSMvg== Date: Tue, 27 Aug 2019 13:18:38 +0000 Message-ID: <20190827131806.6816-12-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: cb1430dd-7084-4465-90a5-08d72af1127f 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:1417; 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)(14444005)(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: RucAMYAzp0x4EMb0fQjEekTnMl1oPiwb31mrQATyYwBiKeW4vsJBEwpvooNZPaCXBgmijrUL3sMmfp5cT9H+vwVr3EHLWU5tgHjYh6AUIqJ1NwWj/1yaSgvmAcQA3WL95i4tHnfoXWVh2nwz7spUgtUSI/LUvu4mHH+VWnxIOijZfARJvuR54MVqBpzlujXzkpw00W2EtSLXKupn8BC4+Q8ggofXedCvITsVppKAbKlLzHMRLYWxkUWcYWxjlTqbFpd1T7KCVgNkAAWPmkjoY/QiXpPH1e6NUHauks3CbmIo+qiXoXqDcC48YARFWnocAzshijYmiApbqmXMI/dESsoXiDqcmytF0S4P66TEFNrvMTqSOYGVQ1S8/vLrE6Pad0u0Zy2Hg2qDDHYdLcT2bK00iAgr78o5pxn5wyT/du0= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb1430dd-7084-4465-90a5-08d72af1127f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:38.4238 (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: haIZTGwRzCRsoj90YVZT4v1hIfX/Rd1lXBUQuQUbKi87WyGlajcD32M2xcREcKyNVoAkUJacKh0hl2H88ArQIyYSahFPuzxJT+VBjwuP+Hg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061843_120097_9D5B9E18 X-CRM114-Status: GOOD ( 13.27 ) 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 From: Max Krummenacher Add the pinmuxing and a inactive node for flexcan1 on SODIMM 55/63 and move the inactive flexcan nodes to imx6ull-colibri-eval-v3.dtsi where they belong. Note that this commit does not enable flexcan functionality, but rather eases the effort needed to do so. Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Move can nodes to module deviceteree include imx6ull-colibri.dtsi Changes in v3: None Changes in v2: None .../arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 2 +- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 2 +- arch/arm/boot/dts/imx6ull-colibri.dtsi | 28 +++++++++++++++++-- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi index fb213bec4654..95a11b8bcbdb 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi @@ -15,7 +15,7 @@ &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 - &pinctrl_gpio4 &pinctrl_gpio5 &pinctrl_gpio6>; + &pinctrl_gpio4 &pinctrl_gpio5 &pinctrl_gpio6 &pinctrl_gpio7>; }; &iomuxc_snvs { diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi index 038d8c90f6df..a0545431b3dc 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi @@ -26,7 +26,7 @@ &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 - &pinctrl_gpio4 &pinctrl_gpio5>; + &pinctrl_gpio4 &pinctrl_gpio5 &pinctrl_gpio7>; }; diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index e3220298dd6f..6d850d997e1e 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -54,6 +54,18 @@ vref-supply = <®_module_3v3_avdd>; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "disabled"; +}; + +&can2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + status = "disabled"; +}; + /* Colibri SPI */ &ecspi1 { cs-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; @@ -256,6 +268,13 @@ >; }; + pinctrl_flexcan1: flexcan1-grp { + fsl,pins = < + MX6UL_PAD_ENET1_RX_DATA0__FLEXCAN1_TX 0x1b020 + MX6UL_PAD_ENET1_RX_DATA1__FLEXCAN1_RX 0x1b020 + >; + }; + pinctrl_flexcan2: flexcan2-grp { fsl,pins = < MX6UL_PAD_ENET1_TX_DATA0__FLEXCAN2_RX 0x1b020 @@ -271,8 +290,6 @@ pinctrl_gpio1: gpio1-grp { fsl,pins = < - MX6UL_PAD_ENET1_RX_DATA0__GPIO2_IO00 0x74 /* SODIMM 55 */ - MX6UL_PAD_ENET1_RX_DATA1__GPIO2_IO01 0x74 /* SODIMM 63 */ MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0X14 /* SODIMM 77 */ MX6UL_PAD_JTAG_TCK__GPIO1_IO14 0x14 /* SODIMM 99 */ MX6UL_PAD_NAND_CE1_B__GPIO4_IO14 0x14 /* SODIMM 133 */ @@ -325,6 +342,13 @@ >; }; + pinctrl_gpio7: gpio7-grp { /* CAN1 */ + fsl,pins = < + MX6UL_PAD_ENET1_RX_DATA0__GPIO2_IO00 0x74 /* SODIMM 55 */ + MX6UL_PAD_ENET1_RX_DATA1__GPIO2_IO01 0x74 /* SODIMM 63 */ + >; + }; + pinctrl_gpmi_nand: gpmi-nand-grp { fsl,pins = < MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9 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"; From patchwork Tue Aug 27 13:18:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116959 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 1ACA0112C for ; Tue, 27 Aug 2019 13:24:23 +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 E68452054F for ; Tue, 27 Aug 2019 13:24:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qktqfJ6/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="REfiLRhV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E68452054F 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:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nkinbrbc09/ftoJa5NJM4qrECfcY102pesqfB2fPAwA=; b=qktqfJ6/TTP7zP AE7cU15ZyU6NJkLAhJCEyJMOgCKswUNR5V9AmWrbcnj8t7DzGozqTqH50gZ7v0D5USgeGE0TuLlNn WhMsL4gVSpdKH/rks3iWhsZnF0O6MrwmXcvKa6sJFS1WTkZtzxIXaP1pXqQNMsWpMqRdpYHmXkRYe J/uGccB7gVfSuxNn3dk4Qs4o+MaLMR5IgvhSgzw0LEOqFX9PsKJH/FIiM7ClVt8ytmmMcYtS79gp/ cWfmeqJ7ObDsCx4Hu1WJsTxVbM866a6+rvZNl0WBpjB3HvHSrSU/W46qnO80D69QIxT0b67AzIWw3 YG/r3Uda0soO39JIs0Zg==; 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 1i2bSK-0000Eg-3J; Tue, 27 Aug 2019 13:24:16 +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 1i2bN6-0002cb-2I for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=en9WvhCnq11ONce879dipSXtL3BB/FgQDdHY8M52NA90KzVnGiethgRgdmHET6wSb5U1MP7JezvM/lln6Q5+D23oXH12VSbn0ncazgFcUtHZd1rn13tW1yhZ6lx85bHVsECPE0hh3QN2pOCSfgthk/r4iERtDlka6fz8C0S2k7dSEKI1DXF0BbeQCiIlXWhgo8IHmrioFO6t/sRVtq0M/997f5UBX9AaF1pO3ceIeD5U71QiM33/Pe31PpnThRi9WngqhBdiOyJO5NHkmHJs+mp1Ycqv+xZTXqs7LFQZuWJu3Pbz+irqltIUB0qCoRshID6nHS0Ro+IV4AupqzxCIQ== 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=wJ64QS/8jVPjN2X3nlcHg/p/676cBfS4rbdraIY/t9s=; b=jnc8mDAEyH6Mr5NfEemMAxYdn5bmySanu0AhAVFz8LRrITcMSJIKpDiShUw8ybP3WtRN6ENGHGIcbG4smDU+BZP7Uxh7+IkrpHvOsu46Xc7szOJSX3omC0iLqkkhpnr4jdTZkyvBzgCIp2MwsGJO6y2BkrQwrfod4C35j44oxjooOIruJyvXmhm/WUKIvhi/EmdHMhFuusGST/HgaMT3GtNjXiC8/FHeL/uPhI2W8oZNZqcEVLy/aKnhL2vrdZAn4P8PodawrCeg/sMGOKtgveQmaW1ZKbTzE4p8O6yid6ppO8CTMEgJ2wCi8B53TqfhxU/Mp51XTNDW0crp7w4WPg== 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=wJ64QS/8jVPjN2X3nlcHg/p/676cBfS4rbdraIY/t9s=; b=REfiLRhVzW7KB8zZENXQIGJQmjER4BcZQHxf41VFZk4kmPDR32lpDcyTRCHfo2wZNrhqmple/arZs67LbQMV6JfnIzeUVX0YC/YxC3KLk0TwRSS+5k4LLuO0N43JWKIp9pT7fzFfETvJvP8INx7lCiaxij1AI/0s5LaWBtizV3I= 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:42 +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:42 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan @ agner . ch" , "devicetree @ vger . kernel . org" , Rob Herring , Shawn Guo , Mark Rutland , =?utf-8?b?TWljaGFsIFZva8OhxI0=?= , Fabio Estevam Subject: [PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Topic: [PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Index: AQHVXNny2WCdTF6H40qV0xJg8ZiIRg== Date: Tue, 27 Aug 2019 13:18:42 +0000 Message-ID: <20190827131806.6816-14-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: caaf72b4-e396-46a5-5bdb-08d72af114bc 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:530; 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)(14444005)(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: Y72o342tkGJU8dODCIANwFg0I11s49wKLQw3vkcsGt8wXd/mziCJ0QF4KWn65CpICB+RN497dR6Ie5R2T8JM+l7eGV61CRcpK+1Qxrkl3r9lujCH4qGZ80Kf7ziLPGZJTt/RKANiy9Zer2wsLcdPnUhsV9+NbtlJOlLVySH4vaQn/7FQBwXpcajhMyLp09wLPM86yl1ykzCs6XFqoMKzQX2wXvNzYmm4f6I7VV6QTrjoHwDqSMh63LK9ACcei9qHliYE1VU9ijIbgC6BPNC2Hk87KIYkGZx2QP3Q87Sl6GdeaZuctQ8j/G7LRV1LhOBuyFMIl0Rl0NZOxSYV5UR4YjAdpfEW5f8G+tDM7Wn8i/XcxIbooejyPQM+3ZQiaP43s09sF4gK6PQsBQg7jkloJcKUZnGMjzmxQzT4klez1iU= Content-ID: <6625A000C6DDED4F94A0DF53AA4BE792@eurprd05.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: caaf72b4-e396-46a5-5bdb-08d72af114bc X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:42.1806 (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: +847SBpbmid/6ntqvzNJ9sVbLjIjUczViTe6II0SSZXMC43nYGI1e7bKrOgeYkf6RdeZbo2HSRWp2HAzEENdky1tJUygijOIj1+Pk9Z//6E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061852_298688_0A3B82BD X-CRM114-Status: GOOD ( 14.50 ) 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 common touchscreen that is used with Toradex's Eval Boards. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov Marcel Ziswiler Max Krummenacher stefan@agner.ch devicetree@vger.kernel.org Rob Herring Shawn Guo Mark Rutland Michal Vokáč Fabio Estevam --- Changes in v5: - Added note to commit message about disabled status - Add Olek's Reviewed-by Changes in v4: None Changes in v3: None Changes in v2: - Removed f0710a that is downstream only - Changed to generic node name - Better comment .../arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi index a78849fd2afa..458a4084e53c 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi @@ -100,6 +100,21 @@ &i2c1 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiotouch>; + reg = <0x4a>; + interrupt-parent = <&gpio4>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ m41t0m6: rtc@68 { compatible = "st,m41t0"; @@ -176,3 +191,12 @@ sd-uhs-sdr104; status = "okay"; }; + +&iomuxc { + pinctrl_gpiotouch: touchgpios { + fsl,pins = < + MX6UL_PAD_NAND_DQS__GPIO4_IO16 0x74 + MX6UL_PAD_ENET1_TX_EN__GPIO2_IO05 0x14 + >; + }; +};