From patchwork Mon Aug 12 14:21:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0521814DB for ; Mon, 12 Aug 2019 14:22:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E804E27DCD for ; Mon, 12 Aug 2019 14:22:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4E4428113; Mon, 12 Aug 2019 14:22:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8DBEB28475 for ; Mon, 12 Aug 2019 14:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A9sU/1YGKr42yRmKG33bqW1gfiGfddy/mBgQLxxR1x0=; b=BvDkGQUIBYLfgz 6VaF6bQWYRLGnSqI4nNj4Yc5wZ3pxfvMUkie1GZvJUXFZUlDqKmH1WK0XoCqxrEYbZD18HUZsNK+u d4byGoniUeiY8RBKJmGBVfLXbzFUMV/tkG6nFQ45FKmDNG2CYC7Deq8lvwvMp98rNfyI5mEKFTkQo 6i8BoJYTFKey9i5pRBNcE7M979P0fJYD7G5j2911szcJlo7EayN0ctmUpoA1SKvRLo8o++adIkYXr sNC5aJ02iF88Ck3ZulQ6oISUFkuU6bOxKGiIVK3bF30NYj9vqvKxo339Q1DD38hlsnMJnRxCvKmIv oh/qlUBHsg0yiEaI7qyg==; 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 1hxBDL-0002H7-Rt; Mon, 12 Aug 2019 14:22:23 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCN-0001e3-VZ for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xd9796iRTs/hXa7wNHfL/OBw2Jgz6YDytbTwhgdk2j0+6LCvMIplap/mP601Rdm1dhbh4IQAvWUIqr/BmpD5TTrZ/UjzFF+b3ahMK/bRnShuvjhXVCFOy6vJDdDLoXXdGTNPbOxvQTXjRicybNZ0qqqeZ0wspSQsnzW9jQI3SXimFoHW/oyCqwYZvrJsX6WnqRTGkfuRyghJbcDmCuGakp7DIk0+H/Hn4yXyxdvBkC5sy4JrbnQfEfJK4k8qwONUFtA/ZZnbcLPrRR7DiPP+KcQzWUKc7K3wraoU8VhRDNV15gfXwIb2UQd0c0Pbt6m1Rg20Vo1ZNpLWb5XHr8ypyw== 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=Jkat0NfGfZuXprgBMxB+9AIWEB/XaWRTuRAmHwEIuJA=; b=SrMDEDiMYvAeWZMYHsRTD2ZqSKTrWgWoZi4+XVgW7QecYRd9+2nxitHpmxces9d0XdTg64pJ43HcH58RJYz8FRg+fgttSJAoq9+7zc/AtgZgIdWVOVJ81U4rjDiTdDIZMgUmrTe9pQ8wFoGPxW07rGgUk0Nke21Lbz30HSl7CIBYl4WM6gSRE1iF9olwTOJw+hvrcMPflK70Vx4MDgqv4nRYw/CigEuQUBFbrwIeqsmietqB4ooB97NIG8iSk9cK57T3x9i62t7A39jxwwktDh0e0105JeFTYM8WzoGJoyvxdm4MNwXGfOcxkOHMbAJGgvACiE85rB6Y9GD/mxxOHg== 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=Jkat0NfGfZuXprgBMxB+9AIWEB/XaWRTuRAmHwEIuJA=; b=GW11du9gSQn5VluRyF4aJ9r+kdU4CFc2oylhCH+99y/D1z+a63Ow/NeeywgI982HoUmGZS2x0agG34t+LayA8865Bv5sw3i5oG9mo4PexUaH2N89yDVkjflVEEdZDmpszmS9MoNuBS/ldh5UR/QT/zxNVcjAyxLEVibG6UVKFvA= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:16 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:16 +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 v4 01/21] ARM: dts: imx7-colibri: make sure module supplies are always on Thread-Topic: [PATCH v4 01/21] ARM: dts: imx7-colibri: make sure module supplies are always on Thread-Index: AQHVURkz1TGp90q5Q0KIRAUabfIgfA== Date: Mon, 12 Aug 2019 14:21:15 +0000 Message-ID: <20190812142105.1995-2-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 262f067f-40fb-49a0-e9a8-08d71f305600 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1388; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: MI4V9MPukQ2GcJTYvecws/uvmtYFnj9S5dvi9XZE1Vfzkc/7buRbpThRYboQoyCAnbuAYb7e7co8FOGcvQVFRRb6TFXdhmOvDP+ttOnQRc/pEakdWXcaFmjbgY+OUKN6qbYKtY87TnN4SzuhPASsymTqc/qdBdiViifYLFJvUxC6KSd6Y85Wtat8KKaviu/baBhEfyL5sMQfnxOJ7UgdtNC/8p7Br+mjXT961GGSHaaOmDCP3cot4yKBCD8Vvh8XFxUK0idk/OMDmGRjHhF0vcsGEZI+N4iSWDwwd7M4OF8zCLvZpR0CqqL17liKtXv+RuQbGH3cnaB0Et7QLNva5vVYmCFQKMF5S8a45KjOpCnm2oPRGW22F3QlRe0gNeVdtJbgg28MShDm8LOsm3o2TvoKomIz2SI3s8SQYYFd0jI= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 262f067f-40fb-49a0-e9a8-08d71f305600 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:15.9945 (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: uOBSsDLUb8kztjZjeS3IQ6LUqF+ICLiwhT2LAxkV/IwLDC9PrbZjXk5F/MTV63QqYfKGlo9Ks0as2iX6Tz3HVcuL7YAAHvM6J5uPIePpUks= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072124_022963_73B41ED8 X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Marcel Ziswiler Prevent regulators from being switched off. Signed-off-by: Marcel Ziswiler Signed-off-by: Philippe Schenker --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 895fbde4d433..f1c1971f2160 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -54,6 +54,7 @@ regulator-name = "+V3.3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-always-on; }; reg_module_3v3_avdd: regulator-module-3v3-avdd { @@ -61,6 +62,7 @@ regulator-name = "+V3.3_AVDD_AUDIO"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-always-on; }; sound { From patchwork Mon Aug 12 14:21:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089933 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C70D314DB for ; Mon, 12 Aug 2019 14:22:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B48C228113 for ; Mon, 12 Aug 2019 14:22:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8D4528468; Mon, 12 Aug 2019 14:22:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 51A7628113 for ; Mon, 12 Aug 2019 14:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZuosO8wShH00qhOxh7Pk9n96LsKGz6ZnLFXmyU8TLVs=; b=lbYOLRIqOfsI/y XCIjrNt+Fh5sZIsBd0DRQevPca+o/hjs5mdWetdULf9ZeFrQR2n0iL5Ut/HRY6TtBpJcaiIqHR05I mBVB2jb8Gl7KF63jSAwqjMlw6iGlcHfC80afgqBanIFRXdKR2KVlSvbRfqtrc/zh4kiDP/8Lvow3z KhQjIiqMiFSRC5BSyiuAG5twGURL3wgm4JfGSaKM5YpDktvIeNT9KLZXEO/7s94uNnNpfrlpAYEE3 4jVt6fXIBXNysXIsD5eskCOYdES8VI1ZPQ9zJljctcOtsvPcZdGKxVBDa9hT8/k4ko5BtNKSjDKyu xlAIS8j77AddwedFU11g==; 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 1hxBDj-0002Yj-L6; Mon, 12 Aug 2019 14:22:47 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCP-0001e3-I2 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HGUgQnJo3Q43KGB3FQ7CieoIMHUa55WKHQdekrod3VYQsEC599fF35SHFKD7QYLp1qrOQm674XFwQPr8Rwyc03NHLVouRicyy4AK+M2JsoOAkmd1LwkMqBn3/581+Apsqbd382bHvzzwGGTELYPvX9SwD6dtyc1w7qRPOBkhZsgsa9NEweCJp32XoL72f79n+PC3BT0fKdCgTwpCXiVebJ+3jkyPDRzdIEdRCfGtkcICbWDpA1WbPZimmto/hP+MZwMdzLKm3ntwOj2IHLJ+PJZejWwnkelNMUHJBsp3dDcvmGFkmJCcdEaL56xbAnFBcxnwAyW9wUTHOJRF27u2TQ== 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=WJKB/KlXUrEXOzbpFKR85GHHuORNdZYUD6R5zrDCCsU=; b=Q6LRqCtbt2nXFuSDaQI+EFL51HCAbSIKSzm0sfrQHpi1LubtNC/YU0VpFOHaDGQb1nh4E0ZBzwEq2xwGiXTSsN4QNwVX+ciplDmRnN80okWGCaB/82e7RG070M33kiMny1I3e2bLh8T/54TO1E97RxoSqoH1BDVmCcpjvJG68V1i76Zr+bv9VkpnW9HGxTs1xzmszJbMMONcd1WKomoEQDHbUec1PnLBcMqEIFRu+y4dLXU83bpzsUvtQFu+dXvy70x726OCP4jVJnUGOFSvbxYKYVJhipXaBAgEo+7vKYNhD9/Y+lJL5R0pqv+6djKnZOM6P6RF5EI6XBOMVeGsdg== 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=WJKB/KlXUrEXOzbpFKR85GHHuORNdZYUD6R5zrDCCsU=; b=eoMPfarjXotCequWea5avOcEBmzS7UH2JVLQap+eUpaszww/784SGjG+u9hLyKbqljfxgt9mwGV9i8Fk/6bBDHws/by+5DKriKKgXQ3uJtq5hMnXN000F6N+zfkmDvnQDtXJ0eexPB2eMptQC2xDD4QUPqO8i5E8vvvecSH660U= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:17 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:17 +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 v4 02/21] ARM: dts: imx7-colibri: disable HS400 Thread-Topic: [PATCH v4 02/21] ARM: dts: imx7-colibri: disable HS400 Thread-Index: AQHVURk0iDp9zOnvgka28q+w6ZrWzw== Date: Mon, 12 Aug 2019 14:21:17 +0000 Message-ID: <20190812142105.1995-3-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c23784aa-d077-41f8-5100-08d71f3056c7 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TwiMqcf0xnQoZzQb2j7TIbbQM7d/i+Onz+W4WoYIyZzxA4pXXfO68rK5gzcsBSrFmfg744vQQBNV6zeJyc6qEsPM3JBhpdswVrE62nzwyT+45R6RsAomBoGx7+LBPT80Kbl7zfFR5AChi3jAm4TEiqo8AMq+PX+QoyyX4uFUEEB7og6EYDjg3kd+RWx55h0lHSDVNeYzG7WJv1meBWJD4LMBW/7hqTMWzYv/YRhAHuGHjyNs+3Ew5HROJWy2DBFIKh8xKZ6lzAU2NdkZo/rj4ak2A/blpado3lVWWXl/2vkDgYLlcklJm5PFkzaxIQDp/29Owc25mVSOYUu6AMZ4p4ysK6btmLf4Ceej1SxXMS81z24Q694WW3f9KU33qXEqm3mFC5tVgqrCQM2f6WwMHeyPXqeHGNL4Ts5v4SoDID4= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: c23784aa-d077-41f8-5100-08d71f3056c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:17.3537 (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: 6jrWz+4C+v9FlVg/TjQS4Lj0CvyCrzYbf4dAXo8d6p3i2LJ69jM6cDfpKnk27S5XzeTcvBqbbuG6zSgJsCh/0UU3yp5UWLoQSjKtV6q3Zvs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072125_840064_26F76954 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Stefan Agner Force HS200 by masking bit 63 of the SDHCI capability register. The i.MX ESDHC driver uses SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400. With that the stack checks bit 63 to descide whether HS400 is available. Using sdhci-caps-mask allows to mask bit 63. The stack then selects HS200 as operating mode. This prevents rare communication errors with minimal effect on performance: sdhci-esdhc-imx 30b60000.usdhc: warning! HS400 strobe DLL status REF not lock! Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index f1c1971f2160..f7c9ce5bed47 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -325,6 +325,7 @@ vmmc-supply = <®_module_3v3>; vqmmc-supply = <®_DCDC3>; non-removable; + sdhci-caps-mask = <0x80000000 0x0>; }; &iomuxc { From patchwork Mon Aug 12 14:21: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: 11089927 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D113F14DB for ; Mon, 12 Aug 2019 14:22:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C16A21FFB1 for ; Mon, 12 Aug 2019 14:22:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B57EC28174; Mon, 12 Aug 2019 14:22:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AE58E1FFB1 for ; Mon, 12 Aug 2019 14:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z7gDZR3qfbXP1fZ3ZLkGOEEQs5rPo2ZGXz5/wUq0HAQ=; b=O9aev3cTtXmgt+ bIMiy1x+N8R34o17T+ahZjCtU+Z0yPiXJJcJRbyM2XRlxG5cbW3IlorkCuIJ7mIsAI0iuGZukQx1Z IUdhEdge+x7eCIrF3NxRGmw79YUaGCVeTicll+R1HyUP7g9k2DW/yuZG9oPG7G+j2lwN66pFyi+I/ XvEUbLfIv1dLst94h7rF5DGC+9Jc28UhMls3VLEG1rWDGWNPNM3Z5+lJ2+GJbkEn6jZMoLBE+03bU 5HH05VRk6ayhKapfoWBrSCOR3ZL5rWDBGg7R6+vylZ16czAWq0jRxtoklIOakeu/PERC0Q6Vb+L1v sDfBMOAxSXpIi9xf3wkQ==; 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 1hxBD1-0001zW-Rb; Mon, 12 Aug 2019 14:22:03 +0000 Received: from mail-eopbgr70122.outbound.protection.outlook.com ([40.107.7.122] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCN-0001en-DY for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ebTRz4M3Kaw05LsVn/QV7oh3D4fZc6JfwrtA77E/GjkeoZZ1PKelW3DxWReaobzfXwZxabLA6f7vkZLIU5LpLPPk85TeOGZZi1dSys+w/Vz6IrV9wjmXq//BPUido10djTlB50sxLiASUiHKQD+890II+RJSUID2u3EOyIdQ7bpOovsllp7GQrzNL5bO2vF96FDOwZI1YkRTZArfiGE1tTa/VAX7a5D0Ww4Sr4yYUfcbfK13pbW7G8KK4isff+0rNqUQ+zhAZ6HoY9L18WWbiLwrBXWNBcpDXpatgKfufPfcQUlRfm9c45dV5l4zN08/BeI57RR6Zc4JtS13tWkrzg== 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=6WhBnZxB+3Hn6umCyMsJDKrRJrre26Pve5F9n5SsD8U=; b=NkvMwaxxP8/T1EgcQfGmYdlGCw4LxAyXISThTjbwJfJOodTLmATejK+3nvAizKJuqzudsQcYPy3HPn9Wu5xsU8E29dLCpejygHPVSrZTi9sF7ZqyRDjwpnmewgvx8qTzEUXl5/gT1Hvc8lTGleV6tHcXtKD18AgQCRDw8qNCFxx7HYovjL18JI74Ux8sK8eqv/qFJmPWWYKQWqVwriaZtFd1ciBBbbo6MGQ6bKeitL9IXQbEBCR/8g/kPFdHyx0rq+48mAhAAHfrrtCLTc6ndeIX5MxWTj7ElDHvwPnh09CZ//O1OQVvAIezkLpWB/I81Jp5jxkLPcNJ3fCEzMgzXQ== 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=6WhBnZxB+3Hn6umCyMsJDKrRJrre26Pve5F9n5SsD8U=; b=NgUcDmnIX7AJmjKr1OhhS7btysS1PBaTjkvdllzU/I8j9cEdlDGZW9deCA5AbBodUYBXWOAIirjTRyvq+vonkmG/PbRcrUZPQIsOKY0LnMNe/vAx7T2a/MPa4rocHFIRMvtausmQaNtrzvr6hPMZ5/qp7C6zdG3dg963GRHjkfY= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3998.eurprd05.prod.outlook.com (52.134.18.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.20; Mon, 12 Aug 2019 14:21:18 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN Thread-Topic: [PATCH v4 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN Thread-Index: AQHVURk1RFYhwM5lNEGqu2Ft+OOp9g== Date: Mon, 12 Aug 2019 14:21:18 +0000 Message-ID: <20190812142105.1995-4-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4d843c7c-5cba-4e3d-4b8c-08d71f305792 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3998; x-ms-traffictypediagnostic: VI1PR0502MB3998: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(346002)(39840400004)(136003)(396003)(376002)(366004)(189003)(199004)(2501003)(6436002)(6512007)(478600001)(52116002)(71200400001)(71190400001)(53936002)(4326008)(486006)(81166006)(81156014)(36756003)(14444005)(256004)(2201001)(2906002)(66476007)(66556008)(64756008)(446003)(66446008)(386003)(6486002)(76176011)(66946007)(6506007)(1076003)(476003)(2616005)(86362001)(14454004)(11346002)(8676002)(7416002)(5660300002)(50226002)(316002)(66066001)(7736002)(186003)(102836004)(8936002)(26005)(54906003)(110136005)(25786009)(6116002)(305945005)(3846002)(99286004)(44832011); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3998; 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: TOTGy7oFu/EySy9MNetWO1ph1fon5jodT3jsddfNqEPMV5sTXxtbUXUGBY8XZpKOqxxMhbwhFeqhLMbGAP5M7GoMO/ARInIRoMiFqnFzAHHGPdxW+73H2+c9Gmxwql22EebF+z4hxRQKAH1Qtd8De+X/NeV+vRbdvn/bpW1DJ04nEbFFGkBzUzOs0jkNZOlKLbwBgBL47KqJeHX1C/EPJRcfiZGZeVQLdIxmQmyMIimydPNYJqhlavn2eLYdp82WK2diK8U3jHc9DdM2XMORFdKl9JQjd7bRxROb2w6VOuDw1WJSjX8uq2Z3R4PXTmV7eyrP5+d8NE2UZkfF+6S03Rcd1d3xx6NDUQ+pIIiCsO3YD/8Kmr0ahPYcLes17jplYzGsXcPpTfhvFGlormHmFmGObtiZp0fxecs3JfQarkI= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d843c7c-5cba-4e3d-4b8c-08d71f305792 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:18.6389 (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: cShbNHJkULFUdiv1FXEJmc4sp3bSHtHFVrH7vTkGoBw242kG4MminWNTzuM50Vbniyavi1O1+WKIBseryE/3/Clc1ntkAW9ApcoxjTHdRgM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3998 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072123_457949_6EC3EDED X-CRM114-Status: GOOD ( 12.46 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP Prepare FlexCAN use on SODIMM 55/63 178/188. Those SODIMM pins are compatible for CAN bus use with several modules from the Colibri family. Add Better drivestrength and also add flexcan2. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v4: - Added Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 35 ++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index f7c9ce5bed47..52046085ce6f 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -117,6 +117,18 @@ fsl,magic-packet; }; +&flexcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "disabled"; +}; + +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + status = "disabled"; +}; + &gpmi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; @@ -330,12 +342,11 @@ &iomuxc { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio4>; + pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio4 + &pinctrl_gpio7>; pinctrl_gpio1: gpio1-grp { fsl,pins = < - MX7D_PAD_ENET1_RGMII_RD3__GPIO7_IO3 0x74 /* SODIMM 55 */ - MX7D_PAD_ENET1_RGMII_RD2__GPIO7_IO2 0x74 /* SODIMM 63 */ MX7D_PAD_SAI1_RX_SYNC__GPIO6_IO16 0x14 /* SODIMM 77 */ MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x14 /* SODIMM 89 */ MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x74 /* SODIMM 91 */ @@ -416,6 +427,13 @@ >; }; + pinctrl_gpio7: gpio7-grp { /* Alternatively CAN1 */ + fsl,pins = < + MX7D_PAD_ENET1_RGMII_RD3__GPIO7_IO3 0x14 /* SODIMM 55 */ + MX7D_PAD_ENET1_RGMII_RD2__GPIO7_IO2 0x14 /* SODIMM 63 */ + >; + }; + pinctrl_i2c1_int: i2c1-int-grp { /* PMIC / TOUCH */ fsl,pins = < MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x79 @@ -459,10 +477,17 @@ >; }; + pinctrl_flexcan1: flexcan1-grp { + fsl,pins = < + MX7D_PAD_ENET1_RGMII_RD3__FLEXCAN1_TX 0x79 /* SODIMM 55 */ + MX7D_PAD_ENET1_RGMII_RD2__FLEXCAN1_RX 0x79 /* SODIMM 63 */ + >; + }; + pinctrl_flexcan2: flexcan2-grp { fsl,pins = < - MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x59 - MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x59 + MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x79 /* SODIMM 188 */ + MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x79 /* SODIMM 178 */ >; }; From patchwork Mon Aug 12 14:21:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E3C4C14DB for ; Mon, 12 Aug 2019 14:23:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D36D7281F9 for ; Mon, 12 Aug 2019 14:23:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C72B427F98; Mon, 12 Aug 2019 14:23:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F32E2811E for ; Mon, 12 Aug 2019 14:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5cG2obeUBGhSWZ8yJacwvwDDQ6bP9S3AIsYUMng7vOY=; b=t7LPdjKJBrsERu hENraJGzPcz1x4qsC5U4Okv0s9qD569FeYlA8UdKyOTilLYA/O4yKAF9QSmFaKwBGOcowul5V/ITh VqZBVoKPR45xNRhvRIipa+XlcSnmtEEn1qkjecpsaUphp1Vve7KR+zSGa2P8ajNZSLSLYm3+JT/0g HQtdihZuvLUTa2bhzr8NzLqzDTyzO8aDGCBG3vGaKs2HZetIFS7RVPHCEAE9jbfj8bjes+DdsWAMb K2XurrM9QJ6/Qm8KDoPTIrqB8h8WXLpr2IsUwNppkFwacd6A+dPhoQNMI1PPEITv+osFggSHvI+8W 9aqQxY9yjNe9WcLFBJGQ==; 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 1hxBE7-0002ry-DT; Mon, 12 Aug 2019 14:23:11 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCR-0001e3-VY for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DS/cAMqrpW/W+gmWbEwRKI67gsxNlbVsOf7+xO4THhEnmSPOJsmgJO/wIKomWmOdP77eWKktAH+blp+K+AWxY1o8koLfQ/bVMQhU2+k8+bfRVks++AjLLCWBBtfoPxVQT83zlGJSMDpvtlLWnqGg07u9BljDHtZi/iKwpugpLPyOPcREGYNoCM/I4IdqXB/cnzVxPYYiavAWAN62C5oDX2bvyW5/l03fu7sLz1ZvdhKW8mlR8X0WwF/W3Dm34VwpR2EKgL2asec8Ju/KIzMPTuftIP1KakklglDqQ3c9lIcSVvBkF62e2WyNaxg3FrQP1C55Bb7VcHiPCJjAw5zx/g== 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=+BL+wtbvGROgAklWb22NDPZKTCnaruZvxXIpdPOj7qU=; b=nA4Ypn+eNlhk7BAuxP3tdZMOKvr3zPCnDyo552vv6m/eUPgBqI2M5u4Bile48n2NG2phB1sj05wtZJWzHBxvL3L9or9OnVTqQJUMLdtqDWxDh6cpuoJBatTs7PxUKOaFo8ngorwZtGH1RoE1ymclvsSLMhJmECQfLtrSLdvweae7PqTz041sGNKwgTdvsQUnXZ2I9U6lQ/4DDVwaUEvorz0hyefsuCCmkjtYMqmvgBzyjrHeR4TkeerNnmSyg5pYz60LEtN2Vn1xozcX2TSe69oWyyNd1fZ7yCGAJoqUrM/rv162MWR9JEooyJc1EAq0xdnfZTBkiSTXwkwUmDhpSw== 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=+BL+wtbvGROgAklWb22NDPZKTCnaruZvxXIpdPOj7qU=; b=CvR8DBIJ2hFsVj2LqvvKg+Vq7slKp5gA1rfsb0mVajqCoQ5hPqeucPG15y1jhgXzaPJuDLJoXj0CyT63BmGRwUYPq3m+/lGpPwtb3yolEr0hc59ZljyQhEuzMH29nNPkytiRsxHEuxIv0eS7o7otoZtOMrIAOVwIfBjgrd7YWPw= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:20 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:20 +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 v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet Thread-Topic: [PATCH v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet Thread-Index: AQHVURk2kJQjWsnXNEOsBLkXxu0G9w== Date: Mon, 12 Aug 2019 14:21:19 +0000 Message-ID: <20190812142105.1995-5-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 31ac3b4a-0e7d-44dd-68a6-08d71f30585f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FzKQ/Fftq4KxRGuVKnimX9u45+0SROa36DGiGedmeQWtXj/tj6qFFHnryeG5x9ThRL2vOY9G6UVEwSXRQvX7hI8DwXSAMLm0tuaG+pgpMg+wFaXnbZYnqVTMrzz3dITNuxka2dg5sbX5jXPMA2sa3g3fpLYpBRZJ3L5hE2wUpcpdhnqyt/jg+hTzwTIYlz89wROMu15TIuL5TkMCvM3orcTW4PTleMInCVfUm1GI95cTS2Oyt25pnYFCtoVo3ncpGSTPaIumTAUKESWZRCjAHm4+CNBXkokR8pttJ2imRRiecjXJrmhxoWSKzmG+Q91csW6Yp5R9rIzdKjJ8ClMvlSnnqfYP+G1vXOV3WvmbW1piHB35iqaLodIoBO+moHksWuJ3z6JzwUYmBL2SK8q3xjsqEkxb37YvqhPa8FXAMRY= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31ac3b4a-0e7d-44dd-68a6-08d71f30585f X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:19.9692 (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: U50VP+opM85WXygZC2wJGT3ZsR85CZzVP3Oh9v5ejlZb6+NUg3tJSrl/TgoP6+U7VFJF9r6RaaH7yykEYxZuE2ZskkFyLmVjcZ+wFH/8a78= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072128_259169_4673B8B2 X-CRM114-Status: GOOD ( 11.35 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP Add sleep pinmux to the fec so it can properly sleep. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v4: - Added Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 52046085ce6f..a8d992f3e897 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -101,8 +101,9 @@ }; &fec1 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_enet1>; + pinctrl-1 = <&pinctrl_enet1_sleep>; clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>, <&clks IMX7D_ENET_AXI_ROOT_CLK>, <&clks IMX7D_ENET1_TIME_ROOT_CLK>, @@ -463,6 +464,22 @@ >; }; + pinctrl_enet1_sleep: enet1sleepgrp { + fsl,pins = < + MX7D_PAD_ENET1_RGMII_RX_CTL__GPIO7_IO4 0x0 + MX7D_PAD_ENET1_RGMII_RD0__GPIO7_IO0 0x0 + MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1 0x0 + MX7D_PAD_ENET1_RGMII_RXC__GPIO7_IO5 0x0 + + MX7D_PAD_ENET1_RGMII_TX_CTL__GPIO7_IO10 0x0 + MX7D_PAD_ENET1_RGMII_TD0__GPIO7_IO6 0x0 + MX7D_PAD_ENET1_RGMII_TD1__GPIO7_IO7 0x0 + MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x0 + MX7D_PAD_SD2_CD_B__GPIO5_IO9 0x0 + MX7D_PAD_SD2_WP__GPIO5_IO10 0x0 + >; + }; + pinctrl_ecspi3_cs: ecspi3-cs-grp { fsl,pins = < MX7D_PAD_I2C2_SDA__GPIO4_IO11 0x14 From patchwork Mon Aug 12 14:21:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089937 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E50014DB for ; Mon, 12 Aug 2019 14:23:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECE322811E for ; Mon, 12 Aug 2019 14:23:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E04792847D; Mon, 12 Aug 2019 14:23:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 839B52832D for ; Mon, 12 Aug 2019 14:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ikz9D6q+MJxu/4LKgW4k0vUq4rEFycJR8Sc4UgtjL/g=; b=ObfGPg74CxE3LX qciFgLCN20r3vqbPHakqmDlXG59yizl1dT+0jBGxkZLsWpDavgo4Ann4EzBiUFAjviQus/vR7tMhP UkSCJSPB82cEqi1SG3bZHfOfqElxo+q5tFIOixqjsMR/PcxFmNwQGVAVM9MjVdUih2TyK56vAZqVN tEXzZZ8gcw7kdgM+KxFnRSIe6a6Z0eKRnxiCUiboJvQ5c8mhDNU1R5+5XtGKeOlfK3s+gYoxRVcrn 79EQUlkpG/NtgjIYPs9EHe2Rz2EVfoGj6HG+XWOdZloEAQL0jFf4Y9ashwxGQBnJGG9JprQ2tY0x3 101L5qzF4K14382fYPAg==; 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 1hxBEQ-00037O-O5; Mon, 12 Aug 2019 14:23:30 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCT-0001e3-UU for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n6l1qihiyKSNmdpR/0jeN6IkCsHbx1FKkOtgX+JE4zNJix/yhlyfMNNpErXqeJG1aeTxBc2dvqc0QurvDwRreT+QEAYPRl3HLCRH/PKLd9i4RkixHDzg/7KXdzJUHfEhgFWImakCJD9vFiX3uwqihNR+eOdi45EHzri3Q11e3/2JveF1OKHIveUDPAgfMHLLETH7JQf2TIP8a6em2xaOxuF4+Csw440xfhPi2aDRhr7wO22SAp/YDznSClv/TPiuXzEpTbnJQDV7WOLYsoOb1kcGJbeDMjmhrdU+eS2UvS6M6fB8i31U1IQYxlT+AetEgVLKvWy33C4k/xPdhhiK/Q== 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=0vbSgR25oYej+vyC/BecXfhmGZndDAqL0BVgREiPctw=; b=arK30CI09fInUIyXM68fX8mVBljZ3y+uYRfVhyO0xsp6fzPRjq5gJDwJqz9cypEn5n8foxH1rKBJWQOFBujXOLHvtjx2CSkMuAHm/rOprXixdcs8OrKAG1wPGL3NizLrI49KZWy16ULNQsNp/BdWmQ/VjSuB2f2sv7yuYbcd6VdjtvcNodukibm4RKQluiosYM3/3ppjwZj/QgkfyxU772CYpjFVcfxCGqTx2DhxmPXqrelZWRLUbM6u6lzpWkEa7CsXc9wsMJgcBwU9hdpVbdPB7VYyjXWQvBoXYaHIX911CU2DI1MRZXpKxS4NTSUiyt3q4RkRMQYWFzNcK/SSfA== 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=0vbSgR25oYej+vyC/BecXfhmGZndDAqL0BVgREiPctw=; b=INoMzjSolVAqV8dfJeD8GEEahjtbagRgy38zKTGYxGsS7EnBU96JrgXPMNqMqqQrpiySnQ7myJ/GBK6iBxuIgttW+Ry0rUU8akjTeGsk6AeFOwvMRb8FPNoVwTURhYZBERWF8pR3Xk+DbU8sb9JHLDYK3Ohy4WS0h99L6jvpjLg= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:21 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 05/21] ARM: dts: imx7-colibri: add recovery for I2C for iMX7 Thread-Topic: [PATCH v4 05/21] ARM: dts: imx7-colibri: add recovery for I2C for iMX7 Thread-Index: AQHVURk2Uw5ESt/Pfk61M9kvOJGjAA== Date: Mon, 12 Aug 2019 14:21:21 +0000 Message-ID: <20190812142105.1995-6-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2d14e5e4-58d1-4734-2f5b-08d71f305927 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:188; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Nu/vkf1dbL5shZEEuvd48NVNc7c0bzlV8gWeiihxZI8HSsrVtCzQ6Hdk+lS72TV8gufmZs9mwChTE/olnDdSkXGWPMpx0hf8JGQ/75zcIrjuOrW0sSHYCoDy5zpbA6LYkX4Hlw3psH1ogFsI+89QX8wzk/lDx11H2E7YfroqeBvugszfqGglHVmWz+e7I8dNqeZYd5GcPhPeZE5iC9tlaqtF4KcrTCG02LI2Kp0OicJNX+/+v10gbj3d8wh3KmJUwZmIQiXNOIZSLUNiGVSeTWRevCYwpQDmyNYW+hA3Axi8lRp3mwmUJPScLCEku+siYOEUNCb6AEgkdKleNaaUhxKO42adKeV3K8NJ+8h6S6dI1aj3O7wFO8Gdl7EQ6tLsrSVS3NaQ8iUzVx8kSAprqlrJlPyjTch6no5svAEXspk= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d14e5e4-58d1-4734-2f5b-08d71f305927 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:21.4703 (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: p9u94HAvqzKKIZsfFP15tDaSGJeHE7njq4y9Y3XVd5XY0amHtQHAtI1AkfsTc46erMCo0AzkctJUs8wH3o7IulsfE8Zt1WrUqBP3CmYjPyo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072130_102655_C9609BEC X-CRM114-Status: GOOD ( 12.87 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Oleksandr Suvorov - add recovery mode for applicable i2c buses for Colibri iMX7 module. Signed-off-by: Oleksandr Suvorov Signed-off-by: Philippe Schenker --- Changes in v4: - Make scl-gpios and sda-gpios (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) - Change commit title to Michal's suggestion Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index a8d992f3e897..cab40d22d24e 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -140,8 +140,12 @@ &i2c1 { clock-frequency = <100000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1 &pinctrl_i2c1_int>; + pinctrl-1 = <&pinctrl_i2c1_recovery &pinctrl_i2c1_int>; + scl-gpios = <&gpio1 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + status = "okay"; codec: sgtl5000@a { @@ -242,8 +246,11 @@ &i2c4 { clock-frequency = <100000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4_recovery>; + scl-gpios = <&gpio7 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio7 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; &lcdif { @@ -540,6 +547,13 @@ >; }; + pinctrl_i2c4_recovery: i2c4-recoverygrp { + fsl,pins = < + MX7D_PAD_ENET1_RGMII_TD2__GPIO7_IO8 0x4000007f + MX7D_PAD_ENET1_RGMII_TD3__GPIO7_IO9 0x4000007f + >; + }; + pinctrl_lcdif_dat: lcdif-dat-grp { fsl,pins = < MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79 @@ -740,6 +754,13 @@ >; }; + pinctrl_i2c1_recovery: i2c1-recoverygrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x4000007f + MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x4000007f + >; + }; + pinctrl_cd_usdhc1: usdhc1-cd-grp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 0x59 /* CD */ From patchwork Mon Aug 12 14:21:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089939 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 304B014DB for ; Mon, 12 Aug 2019 14:23:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FB4828475 for ; Mon, 12 Aug 2019 14:23:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DEF32847E; Mon, 12 Aug 2019 14:23:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4B9628488 for ; Mon, 12 Aug 2019 14:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pWCdDyFPMo5WZ9+O7HfsGt47ecMx2GFI9mZRK5PS7ds=; b=uutgwcVJMIJizZ uwlkMNtm0tTqD5KrWon2nAMBQCuo+ZPkuqjsprRLuVi4GkN9yChZAsTsWep+Oq1CTdyv58C8eB/RS l+Zj5lLiRYeb20WoejcX5oVz1X0ZVlVr38JgZyMAT3zlIGVOR4JmNOqMlZccFQME4qFLSFBPVF7sF nBY08FIgkjzez1Tg+wC0qk/9pas8lYqJ/rItIcqLXLaqvGB9PYtyX2kHqJNBOm+fJnEAvQPg3q3AO 4p/arQHsxmJ7rtwXzAPa3YrkE/oyiAQC3sIGTsj3W/QCxi3pvA2WiredoMLEoNyZaSEDzJFWEGdsI 4X/3Z3S/makeH/ivK+KA==; 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 1hxBEk-0003N2-7w; Mon, 12 Aug 2019 14:23:50 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCV-0001e3-Rj for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DlK+arUDOV/84Lxy1+spe/iP1diRVUiaGVrOr73QGmwtsr2psUaNltE6hebQ1u3T3X44DHBM3ZSVZy9UuH/9fJNIq24xQ2eZNKi8uWLvxctl3iN6FCqxWGzcTyXjRot/4oVWDJfNfbBLee1mkgTc2kHMLlKvTjn3T+bOxGSeSxyUA+uO48iAS7IPbd6+5OuIfCI8ckEZdKOVqWz2wxnM8KDx1yXfq9qPk4RczUV4UkkC9YlNLR/KTMc2AxZoiq8V17ZKdu+OUAxfAx3G03gqYOfqebXwJO5zX+WOaq+xNI1PtQYVjcRg5Ex5jMjoDudoMJf28Uk4PMybVp5bm7Xztw== 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=B0BdRznFxAUhNxrspkTK7rwiM+GJQy59F2gJy2dJvFk=; b=k5OkZZHR8CiUxrU1WbQYTFYiqNmD7iaj5nP6ja0MCaj1H8WpgQLcKVoVmmn1i3KVWWTSQulZQGa0OOHLYf9doXWcIBLJw7CEsjJrAY5mRHbXcW93bcW9r35YnaWFbo4xcmlvbx4wgVhMTZgjQQ00nfqiOeqhVsTk40e2YpE5moEpw9NKn29WE5RGTKbIENalxDyV0po3wvn40n/gmSigssv97H0Lew7/xPiIDEaX8LUF4U0L/GsZCrGrLxBNz4r2qzPXHxGF0ucFlFDz9/5vL0BDxYl0FVTSOk2Tkr22ivin7KP6QU9H16TdEhDjWQTXVlsfNZbynYD14dyiEnXTfQ== 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=B0BdRznFxAUhNxrspkTK7rwiM+GJQy59F2gJy2dJvFk=; b=cXuOVtHnO0I8TIb90QA77ueAJ4ehRUuhP34PNWDlTDLQKdgJoC5TEkeo9PxKnfl7sdeUaqq3+UE198tCUUV/ERrznKA0ZiON9P1JZ0wwKeYK5BJeiYJP/ikxYChDpI4IF2+bwgjlKx/ZmRlxbYXOkJBwestxHlu0qLlmfRDOWvk= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:23 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 06/21] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Topic: [PATCH v4 06/21] ARM: dts: imx7-colibri: add GPIO wakeup key Thread-Index: AQHVURk3eaP9B74GN0+d3QWKMOWx0g== Date: Mon, 12 Aug 2019 14:21:23 +0000 Message-ID: <20190812142105.1995-7-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2405a16f-9c0a-41dc-1770-08d71f305a40 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: HEDVro1QxJZ41i8TOh3Jt+7VUKAUTar499Zd/0VBi0V4CRI1nPTU7Tsw6WqAt6Fh+v2bHG+FIMRWh+JCdU9TprmR+uV6U3VlzpvybPnvDFU9uN5+uOEZa5+A7J24d6lbXJNET3OUsGlHn3o0IW9B3Bx5bXQ0VgbeINWQzqK4lhvtPrPu0QmLDAgOwa9jxDz/UQOLhGe7ymZp2UiONnNagWOg50CO4BiQerP2AgY14qRaTAQomjC3T7dqSc3RHt6tnL3XvzRo0Snmj8ID/wHlnICHUomE3+TFahVScoOwRCe/iz10NBrLPPsEkJBWYuGCpDI/K0i9WblndvQcXvZYbu+bR9F7hJNDgiP1UP3JuhhYI+bRfYtTc2Im2bk/+994pMdPWyM9fQyawgzkA73M8kPhqXjKZiVdeQRDqdUotfo= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2405a16f-9c0a-41dc-1770-08d71f305a40 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:23.1504 (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: CPJxbupaE/jfbhCv/YZYMvQmYAK1peuORlY/sgA5oQYL++0V+nkl+1YRKn67kGrRyG82t7U4aj4+gcZEpIvofxVYEolygMLX/HEmk00ejLc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072132_171011_B950D05D X-CRM114-Status: GOOD ( 11.51 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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..d4dbc4fc1adf 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -52,6 +52,20 @@ clock-frequency = <16000000>; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiokeys>; + + power { + label = "Wake-Up"; + gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; + linux,code = ; + debounce-interval = <10>; + gpio-key,wakeup; + }; + }; + panel: panel { compatible = "edt,et057090dhu"; backlight = <&bl>; diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index cab40d22d24e..5347ed38acb2 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -741,12 +741,17 @@ pinctrl_gpio_lpsr: gpio1-grp { fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x59 MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x59 MX7D_PAD_LPSR_GPIO1_IO03__GPIO1_IO3 0x59 >; }; + pinctrl_gpiokeys: gpiokeysgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x19 + >; + }; + pinctrl_i2c1: i2c1-grp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO05__I2C1_SDA 0x4000007f From patchwork Mon Aug 12 14:21:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089941 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F367514DB for ; Mon, 12 Aug 2019 14:24:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E22682847F for ; Mon, 12 Aug 2019 14:24:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D675E28113; Mon, 12 Aug 2019 14:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 52511281E1 for ; Mon, 12 Aug 2019 14:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K++VHulsOkxVXYoi3Yv88h/+KsE2OFX1Iru60l9BBps=; b=HNaelYuGGAieKp g6+dPDQpUKXUqejioe1i467XXJhhvLKIPsLJFyYE8/BfNjNmbFHZ8ydJ8nLxs9Nh3MONWHaQXShJw aFewEFNvcqX5t978FobABkPjxPBGAX/btvjgG7Wxu7MbmXW+lgQg+jcXW8rW1Sp+9u/1+EF4GPZxZ kN1vq/xk9RUs6QryeZrT7wPsqJYJX5vd5EZx2PikKo4dExvgPaYHOS6TmjKt/JWHVmzWzJB5W/R19 WpVDI1oQpP4hV/stUMJN2eH3YzLJABJWBRws9jO2Xac8uvgXlvIqAvufZksupgErTkaZgYM5kHGv/ gJOKtOapunpon+zR4Rsg==; 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 1hxBF4-0003c2-CY; Mon, 12 Aug 2019 14:24:10 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCY-0001e3-4E for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DFjCPDUgG+rkqiRNDRa+W0nLTMpArtFQruZ57SQ2M1Y9UhdXIjrCGjmOxDphuQ2NvWDsgyxMVUnTkgqOQ3YAMtuNBJ6AxyT2yAljLR0R4spp9Mt+9dKaCltb64H790QW286xwksoc64dlS34Af93EeXCxE0twGu6z+A/HVUQKN3hg98S7jlNm8GJCc2rh4qzu7Bog+BSCL7SsyHlUJhbpL4n+ydTG7zDNSGbqPUBcl/CEBaNtJPHurwnc74ZX5xh0w3S+fBmSjjV8oH18JTMzmHqLBga/oGaKOAL+qhWbqumGEleC34euv6qAgQzh4MG+4s1AeLjVfBOfTVq5jcS5g== 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=w/g2NziN886IodlijNXpq1U//OiPvR5+Qnqn38oXtU4=; b=hhu4WndOcqJn0vlPoYAL8pZL3tjVBeMxkn3qvAOXsbOm9wgjFAq3+Fmu5IJca9tJb0i+EhjleyGizGb9QnjeoE3zR6JSQI76kNXXEV7ldENBd9joTlHkJ/Oea63UyLI251TOPQ9/WI4QXA8sPCB7Sh5p1k+wxOV13ksg0Rz3210I7T02okCyq1Ntxr53g1XvM4nbmGmajX/UV5UlUeecDm/y2TiKKWzXAGTshsIXOBf6lKLyNUW4NIzsVMqlKzVqRGSzvuiQayX/MFczm7mEfXvPBAoUFd9sRhEZ1lsk61vNR3xaTfz2haibLV6Io09xp21cEAuRzgXpCDt9hWezxA== 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=w/g2NziN886IodlijNXpq1U//OiPvR5+Qnqn38oXtU4=; b=r75kac6vaaRSRH+v6RGut2w1FO49i2C2C01KSX1qhXeFZSVVPKYJ0VZ+ybOEVWg9Ih4tvxk3hYTOIjYgGEw1fPgzoHvFToDE7Gto/BkfCBG95hEHD+DD4JeppMYZPIRTwTPXbSA1R2ISQJBtW1sygkYpMx67OgmpUM5eU3p7eJI= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:25 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support Thread-Topic: [PATCH v4 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support Thread-Index: AQHVURk5IAfU3hfTCUmCBg5Kg1vuIQ== Date: Mon, 12 Aug 2019 14:21:25 +0000 Message-ID: <20190812142105.1995-8-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e9fc4e2d-5784-41b7-bc63-08d71f305b76 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:741; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39840400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(561944003)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: znCSCfK+ACYIcDzDjzLdMiIBxMY4ERgPi8qaCETtUNgdjKidhLsPfMiYRI6Mf56nLNupWlvH294FzvU8qeNn4F/6Nu8ntUW0gmzcMpSJ5Xpq9u8R5+aal9m7NTfLcznrs4tvBfG2PmuLwPOqICaETxtdMbpRgV/5+LmC2qENA+mSGyLtU+NGMfbH8pDfzgnmaSuciD1YY5HPTHi25Ob+VqZhH8fer7NMJFHtKsUn/I6wdaYRGjl5G74xxN3i2P3JVyO3U6IzPjFkQM0lA2ehulqoQDp0kJhOZoh7/eSk1GN56gmiZuvJtGelTTrAiGYg2n6Wg0wA1IDOxjmncFUySN6bX7kE5tcndix5xbo0h/XhkvsEsrLeihK69SxJgQiTglQHr8qHnaDhkok5LO4XCQLmTBNccl9kC1YOFDAWjlc= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9fc4e2d-5784-41b7-bc63-08d71f305b76 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:25.1472 (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: 0b49vt0BhgjDIldZjCImlnE3nbdEgcwUwfZwllx6IeOyLcK7jU2S9NMz+U6SJJrTwD1gXu9iGlYMBasM3gGNgCgWuDfgXfu5l3obbEzH2eQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072134_532458_AEBB812A X-CRM114-Status: GOOD ( 11.71 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 5347ed38acb2..c563bb821b5e 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -326,7 +326,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>; @@ -671,6 +670,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 Mon Aug 12 14:21:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73CA01510 for ; Mon, 12 Aug 2019 14:24:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63B9328113 for ; Mon, 12 Aug 2019 14:24:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57D082844C; Mon, 12 Aug 2019 14:24:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C00C128113 for ; Mon, 12 Aug 2019 14:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wDVhFjhdnjaJituR8d0UxkG+jRAtdru9e3A6/rfgTKk=; b=mbWGuERbxdoNrN iUn/2IODY+7Ek0jVCy7CDD8+ZiUW64uALkFwUYwBbxyqZ2cv2c2aAFgr4rR0Oh/zNfL4j/o24Mj0a 8QkrBbHJiBT8IFm36GShXnYqlzjDOTiOTGNvVjaUkCvxRAtMgpRGXGYV7gNPPDgSVGrW5ZLdxfBKD MSPMZdP5CUFYOJcfG6PvQ+8YzaTqmxfk46H9I3r6SYirUIFVpjaD0d5DVItdVbiw3xTsy81buSNum 2YvqwxE6pBLXL5UFYSHZxBqZegZ3hKUtW/4RgZ/bnkaqiDMGQFt8Zt23mZNI2C7+VFCJTmNtsG8sb tQLXTo7ilgh1We7d/gag==; 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 1hxBFJ-0003q3-5S; Mon, 12 Aug 2019 14:24:25 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCb-0001e3-EQ for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GTJ5nNSj8q3s/t/duwSHWjOwCoDsn6NhpLNISNu4VJUJzH2ThIpnMmCpQjMqWowryhtn+qGQ2kWCv1gNZgmMYDow4yM4szdOl2PO5/TVi8Nyj2Pv4U7IH8ylV6s9yR5MxTDm27rxM6N8tGiaIDYr2grWNC2AlrwaO9CwJ2bSDlwxsKUYafelWftoytU0tvKJjzUt1teAhV7QyqZDEAGYLXN6WYi48ys7w1YzoCTrjKNFEpar46MGe/NSHSdgGs4fbVutWBEUoXYaK7yDDCmT2/NCsKQ1bdF9ttV1ylo8JiozfM2iszfaZPVcogR3cAgv9lvbi/1+F3hEAsoI5GXFYg== 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=51LYowuA4gXph0iNaVlmbfhXgs464Roo0xtuFENEwgw=; b=OvHifmzr9bNZ+EGh86SwHzdCvzSOe5HIKyCBddjGkj12aV/1HPkMTFaf7aB9f6zMF/Z8JValjPcBxQuXHWJzSDaO7mKDTbo7/ANrCVarsNV837dpzOWyP4a4tKUQy42TPbWcq1CtQ42pJ6Sg7sdQOq2dNP/6nkY6AAxLVpm3mBGcUs/jNHamr0CQ6Z/ixB41BVi0Yetc12yFSHtnwg0nVTKAkti7Kod7P8DfItgKhJTHgJQjvLTpGt5SCxX8WAterBCXIpxKc1xBRG0nPq7ysjnTO0+TxX2hxgrdZ+5cJkFciuA6MyJviUS98Aa6j8JVgG6MIrnVt/Sn6chyRjB4ow== 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=51LYowuA4gXph0iNaVlmbfhXgs464Roo0xtuFENEwgw=; b=tFMXt3YCGRn/f7RsC2nd4NICG4/0x/dHFEP3F4FQvhpqk9NaimnYV6bTuXM6QueTEIYlcFON1zX5IS7yg/sSyo3g+NGBP7bvSSGmcLQhE/YpLdBHeJ4NRvYyuB7UNNNk/klKzgVUe3I17XPM269gh4wF0iiOrScIVPENtKzmP+Y= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:27 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 08/21] ARM: dts: imx7-colibri: Add touch controllers Thread-Topic: [PATCH v4 08/21] ARM: dts: imx7-colibri: Add touch controllers Thread-Index: AQHVURk6y2j9GnmWB0SSfLkk7hRFMg== Date: Mon, 12 Aug 2019 14:21:26 +0000 Message-ID: <20190812142105.1995-9-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7a7f7d64-c504-4283-6c2d-08d71f305c8e x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:252; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: qf2zw6BubyhPU3Iy+Qr0e8ubm6eyZPGeMkNcYFbGfZ40fz4LC50CvwVAi9ubXhDDBWfzNmSW/AJ+beaqQgN+ae1lNVEqXNATARmk9iDOCv7+ebOvli0yO5yhLnkPpHLnGqulla3WEfVtI2gAR+ToL3Eisn1LGxNamWMJJthM99rmLZU50pvNc9erTbi8+1Cc43csTBTPNZ5d6E/L/FeRbJcxc42OxsTzipgBTIdp1+VCNdAfMEtdhH350av5j2x+zm46qwbDKIVxka73i7Bpy8sU6t4QL1ogCh6HlchWr8GjlYq4appvoGRy9326c6i9ood1226AbD8/AtncIb+zjmfX9yer6lgkn9LudovnXAXy8/meU60XQyAxqvGn4yKV3XjCEsLSkyHMOqfXV2zvr5d33PdophZY/DXjfyeNjYg= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a7f7d64-c504-4283-6c2d-08d71f305c8e X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:26.9702 (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: vX9i2fdAqy3iyg2WLENR4YL/Rh9gMkgoIvP4pkeDysirRHJw7EPRHsvOgzRmUXjwzg3/kmTIOHupAjUCQT+8BRRzKcrg19ELidPqL0UBf+s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072137_660852_E8817891 X-CRM114-Status: GOOD ( 10.92 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP Add touch controller that is connected over an I2C bus. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- 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 d4dbc4fc1adf..576dec9ff81c 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 Mon Aug 12 14:21: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: 11089947 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46DB6746 for ; Mon, 12 Aug 2019 14:25:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3792B2844C for ; Mon, 12 Aug 2019 14:25:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BCB62847B; Mon, 12 Aug 2019 14:25:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B978F2844C for ; Mon, 12 Aug 2019 14:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=juUrFFOLUn72uuyGcxi1R4IjV8TAxq/URE45c9h43gU=; b=cX/jQu3sFHt+bS rCAapAF4kweG1mdXEcMLcb0phBngkxrCvivblgOrQeHLbRnxsuDwj+qKYe+rh++cYbf5z5nMtcDbw sPzjk4Y3vijMdJkcfMxRC0zK9lUynTEPvU6tidqR+cXy+WGED4fPf0X6fbJjgs0G6pWe5eIctd8Yb rjwGwZDUc8btWbhlM/kQ6kAEoCy4xYdmjw3JbPN4e2aocYbXiHus5odah8FcLwDfh15Wz8IaZjQ6y OjcUWnKfPK1Uo1zZmmrJ/wr2/smqQj2fSTp1bYTe1JccfagA34Z4YbQqJRcBN+4/+VNKZtmZGzdIW QQXmteYmnmxGD0Kr4aqw==; 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 1hxBFw-0004L2-JH; Mon, 12 Aug 2019 14:25:04 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCd-0001e3-Bu for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hIRZ2hI2D9fjSIRYuPKu25lOwMgCxBfLLCuY1SxQ4iFSbmkWiz80KN3abpJ+R65jXQBakt1Ws3lD7Yxtja+TCNvhxvkitrbPIShQBYIFck/60SkRRyrXVPohmqdpVleZyuukYdaaxZPF7xB6c77UwjHQ0QHPVSHi0/RAwzHsR0xhnpSfycC/aMPjCkyTZgRjRyFzz8PeCpFWUt5jestiR5qmeV5a+rTyt+LbKx42CVpIppZfMXrvCVNSpPXQVVYEIBoQLjzaYUSg+I2DgJZ3/0tj7E075znbmOtM7KLbj6DA/8uC50PkKJA4bzpdAgKt/4BHIwf6FpZfE7xVHM817Q== 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=NDy1L5U6xp0iacLO8nad/HCH5CUuB3U5SC2dF2Z3Xpk=; b=f2QkTDNqTD2sbvkM60ViqiIq182YHE2voJt7BjBgxe+VFUJSGk2sCBVCbUHPZgb1zcOCHdPK1v0k8V49lYMKWoQ7mlZ4USIVgFidRmJPizKRWi8I1TqtAaMP5TuvZyqdISSjdFjnb+rwq27r2MGS4x6foV5kh4IZwQXmTtNNHZ6Na8ubA7P1wX3AFkcJ/VuK7w03oiPqjirW//j+v+ahVFMhw9IzMgJepqigrqwRabS0tU8MU3DWxeT27bKkVNEZ7RoioJp0hoG1qr8jY49ebyne/IVeIdpCLnDkoyl1973Pve9+5WKqQDElfxg3c8S9fQvH9kF5hyV+1jzFvKmvLg== 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=NDy1L5U6xp0iacLO8nad/HCH5CUuB3U5SC2dF2Z3Xpk=; b=gMKwg6FdM9zR5XVbGAEh3UZ4qmAvQep5UsMglZFBoYJULyvfIGTxr2H+fDZBmiutcp/cEVU1Uarsm26EDq5x9x9S0oX+Rf0c/MiNIJeoGP2pYeLGw7BXQdl8JZoRufgRA4gw8AQnkDleCq/+iKPsitDEP4Wl/666PCSVU8CJDL4= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:28 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:28 +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 v4 09/21] ARM: dts: imx6qdl-colibri: add phy to fec Thread-Topic: [PATCH v4 09/21] ARM: dts: imx6qdl-colibri: add phy to fec Thread-Index: AQHVURk7/55ROUuEwESnbBW0XYyw6Q== Date: Mon, 12 Aug 2019 14:21:28 +0000 Message-ID: <20190812142105.1995-10-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25b1b4bc-2a23-445c-ab34-08d71f305d66 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:792; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: M127OYan1f5pX4TD+C7ZN9ngrvUJxU2vhsBiTfyoOqB2Nrq6bBUxhhX3qcOfe/mNzg+a00EYyD1aAvhHAfFJrfAHdbgQOy6KoQFhsJLGVpiZqMvB5qo6Jn4au9YhFPHxgzNX9PI+GmBZcJDN+eWMByiaY2/riJca6iREFXARloUTlgDbeSwxgjoyAPqXTHmWN5fce6VXAat3ZTFLfKcPcjaMIAexhhMUQ1OJUmF2hadTAjViFiyLLPtIvVPnz/ALPeZCYz71ozq9ZXaUJfpLeM5eyp6CtQKYz8JYM9IxExLgat+TCaEYh8EFHAS6EUKWKgdfLkLPry/VaqMsWo6Xj3Ub4P8/W+C+wtIGyFU/V1n1hRmKcke34OsKup2ihMFTT8DtQwG0Aj8pka+jrUlF9Wf2riFNnPGZHDR0OHaU3fY= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25b1b4bc-2a23-445c-ab34-08d71f305d66 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:28.5863 (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: eUOvZDl0wv+Lob/rLMUdrJpyzO9aORm78HpyynG5fOTYdDq+w/adnJR8iFZtV3NnwrsyBoMyObu2z/qmRmvyeJzjaUkguEp2JA+cjvQyIQc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072139_886544_B156E719 X-CRM114-Status: GOOD ( 10.93 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP Add the phy-node and mdio bus to the fec-node, represented as is on hardware. This commit includes micrel,led-mode that is set to the default value, prepared for someone who wants to change this. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 1beac22266ed..019dda6b88ad 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -140,7 +140,18 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rmii"; + phy-handle = <ðphy>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy@0 { + reg = <0>; + micrel,led-mode = <0>; + }; + }; }; &hdmi { From patchwork Mon Aug 12 14:21:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5800F746 for ; Mon, 12 Aug 2019 14:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47A2E2846C for ; Mon, 12 Aug 2019 14:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B96927F2B; Mon, 12 Aug 2019 14:24:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96DFD27F98 for ; Mon, 12 Aug 2019 14:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MJNKmbtx/tlB5iiSVoN8cSHKT3tlu+5WPl9AXhOtxH0=; b=fjo3+0heG+ztek SwNdONi9bLdFMaUDuoEt/OHduDWtD6VaZvuvztEn0N4x3StsJDVDiozN56pbAgk7wN6FX06Wlpcmb 2QdFOk5Qj05Y8qTneRYoUyUtEASM3H9Pqv683EyszI/DcUkIrUKkws4dN5zclGcWS4kaRRowiC7ZU Px8usSU2oqe0gT0IT4LyIc/yM9tmPafqWHTUB13ihe4yWxcZQ0q8dAfugWeQf4t6TOjxE3Uri2wzV MM5mJnN235cXM9KmW3I1ke04bDkYdQ1VMgkLTg3Ll3GE0QgZAZ5caW5gQMIMi/tbNTS/jIq1Lfd3s qErPeqQ5XfL9BOTsWBGA==; 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 1hxBFc-000441-UD; Mon, 12 Aug 2019 14:24:45 +0000 Received: from mail-eopbgr130105.outbound.protection.outlook.com ([40.107.13.105] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCb-0001l6-QS for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QSxoFTT7VH1PUFzj1cC6sM8KG/EFzr4KOeQWPZG6TulVLyGDzKKUSNOnbDlYFpDq7AE/Oc0i5HTjGYQNgtKmAostSYmZ58U0jSaKV5+ZAnRS3ssUUgcfLRZzPSyCKbLyAlonkKrWn2a4pDnvebKJYTN+WlMfBq/ooQ1alhjVchjHDTGaR4SnsO8w/99bpbRcuLvqthTYU91751G2lAMD3eAER3K6G3bz3LDj2pfeVtFGdRgv77wMzjwIaVajXxeGukylAt8HW70Y3ngqUqAKuo20CtLGZjpyJsrU767LO7bjua0zjGBKOafPtkzvXXpwBGk+y+QQcq8cR2Bh6X30rQ== 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=XYxYVQUVs6EdAcbGY9vZo+d0IZ1XggSfUz0Indt7Qi0=; b=mpyCy2Yj6fWw3Gwjuo3IOVAUv7HA+TQ463nVneuNNpih1ggQ5Q2ipyfeSyOeqvjpFD6b+NqEL2nDO2013Ickr55spzerSZiql658xO6U+jjqkFj6gMIZfZTOSgYrr+L7z/k2qFNAftieR2krsbSAUdr+wMeu3xvBndUNDr6QN5n6ko50As1AK8wntT0BtgDoDzxUlsdyt+UvaGjMbJv0BTe/FjZebWB1mr/qoCWFkcXAVJbNQRaGJCExkumtLPH4OgHhxb+LDi2A1WEZXUxGqIOcnzmXpO5dcTx8cB4osaEia6gYOnjaI66UflE8jPgF05C06jpk9fxUVwWji7ZAoA== 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=XYxYVQUVs6EdAcbGY9vZo+d0IZ1XggSfUz0Indt7Qi0=; b=vC2w5dflWqbr5YguvFH6RXBhdR2tsjsUy7Nng2dbGYmu56jibpEsc9+S0Po4E1wMuf8L7vHB6wUd33sZEAhMpKQtW/GBxsnY2vRyp1avNmid3FsMX+J+/c0GUsPsK9VXDQPiUfiNsQ6f1YZnShAQXYqrKSlTEVuQ1kzV8P4SoL4= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3808.eurprd05.prod.outlook.com (52.134.9.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Mon, 12 Aug 2019 14:21:30 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:30 +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 v4 10/21] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc Thread-Topic: [PATCH v4 10/21] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc Thread-Index: AQHVURk7mreCb1Qy5EOccuHZ/IyKAw== Date: Mon, 12 Aug 2019 14:21:29 +0000 Message-ID: <20190812142105.1995-11-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0e0ff810-8e1e-40df-acd1-08d71f305e48 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3808; x-ms-traffictypediagnostic: VI1PR0502MB3808: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(39850400004)(136003)(396003)(376002)(346002)(366004)(199004)(189003)(71190400001)(2906002)(71200400001)(66946007)(478600001)(256004)(66556008)(66476007)(7416002)(6116002)(3846002)(1076003)(14454004)(81156014)(81166006)(8676002)(4326008)(8936002)(50226002)(36756003)(99286004)(26005)(386003)(6506007)(66066001)(76176011)(305945005)(25786009)(110136005)(316002)(54906003)(102836004)(44832011)(52116002)(64756008)(6486002)(66446008)(5660300002)(53936002)(6512007)(7736002)(2501003)(4744005)(446003)(2201001)(186003)(86362001)(476003)(486006)(11346002)(2616005)(6436002)(32563001)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3808; 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: HxWlxxtmliRMnVGOlizPz5Aa8wUDwlWL+Y22aMGp3IafWyKSY1NF+IbG6/mqlYmNFbEi/GFW2EAAwzVfCfA83vURO5YzqpoUWoi83nqAwxYsOVub4erWkjXbIBO5S+XbmDve9xynKKulbRJ1UE0lKIOyTRC9Nztm+fmjGpqOVhPjdCJ50jWkOF+Gj8Ak3zMKWYQFD/gSAh/mggOUgTXlfG8LnyIPRE2Sse1Gcu+hSYN+meeW8H/ZmFLA62F0F9QQou1uyHE7T6SFJRwsmk7B2dtj2DzMJGNUJRHLzonGIHgwdOMLXhAHy6GL8p0iy6InNaZ/9q3BAS2lPTRsce03OupnsDlU+/3QW+zJqZIBhMd5v4K03PC63ut96+l8KD4glqrYVesKkVjHovcWYCNSpj8N2N/A7fxY9uTlFeERZiI= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e0ff810-8e1e-40df-acd1-08d71f305e48 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:29.8815 (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: aPlbkxKddRgYeMkh7glmGByjMKMomqYQWezb4ZkUPM1UK5GMycN2Ea1xhLYOCEUvlWalW6WwuhHI4gUTqgNVcmDWrOu7fLH1Nq+osfOYfSM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3808 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072138_039820_143BDE83 X-CRM114-Status: GOOD ( 10.10 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 019dda6b88ad..9a63debab0b5 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -615,6 +615,13 @@ >; }; + pinctrl_usbh_oc_1: usbh_oc-1 { + fsl,pins = < + /* USBH_OC */ + MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x1b0b0 + >; + }; + pinctrl_spdif: spdifgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0 @@ -681,6 +688,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 Mon Aug 12 14:21:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089949 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7159814DB for ; Mon, 12 Aug 2019 14:25:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C0AE2847E for ; Mon, 12 Aug 2019 14:25:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5063228420; Mon, 12 Aug 2019 14:25:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA65927FE4 for ; Mon, 12 Aug 2019 14:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pEnMrtQGpFx7xUomes62tPVfoxfQE1gT2KdJ9jtAJ0k=; b=oXKqz67au08uOf GCJKEPSpGvgZrmtDUaqZrgvx8lyXKwkJ2rCIIYMbtz5klyBWfrl5H1oqI9ZGPEfc724LFZJXrB/bk 7LjqtY6krz5Liey3hh49ExIkxqILsmTKIZhtZtkgx443oJdgsVkBl5lV7hIIcqAmJkpnnXTbmc+lz pkRVIZNBTNHcAUAWs1BPDgk9+WWjMUyCs9eiyAYPkP2+aSbC1uERG+nt3n8k7lvlxQMzWEcMSGRVo ABRhviggDET+QE9uxVwqgQatQ1jECpTQy1VlGbkNj6Ln4Z5dmui5OaE7K6+DkVrbn0GWqhinwypvB EoQriYUk7EJ/Brst8zlw==; 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 1hxBGI-0005jI-Sd; Mon, 12 Aug 2019 14:25:26 +0000 Received: from mail-eopbgr130105.outbound.protection.outlook.com ([40.107.13.105] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCe-0001l6-92 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UaLzBebK2FvSwWvy1zNLO475hQ2IA8n2E6w3WiZ0h8q6ABlkEulbjXQTKWULUVE6sUBATkm/QlWs1JwgaTkd7quIHWGXzsXumccw0D8myW1Y4zbB/5vvbF8hzmg7f8q++OkSWObLmO8feeuYKbObjg25VGIns+f1BfaTx7syUxsoSZmp7XVqZO5IOICGknHNEq3g+5nKYkIvGvREUXFSZSHkGSV7+xbLlxuaz97pcyNfD4vQ+Yvd4WRzpgqoM+y+MAbw2h0MzlQjMiI8Om+Lo7heokIii4ZEsTP3TfIbYJRvQmunTpiiI7MJx4eGUUDFgXiyuq32ib6P7qzBq6rr3Q== 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=mCbbi+H9v/D6Xg57240XQERKEeoouzg6Ab/6Nyl33R4=; b=JTQs5XIuZLWfZXUYpo7cqRZi23CIg3HlqZBHP0+FuWPalhGktjZyO3OQadpPFMjmaQhUl1XbLDtZNyFis+6vi0AYwD0A9HrEdfGeAtTQmJrYjzCHMSC5E7zbHwHD9r5wg3KH/7Ygs6PojVY175/8nm7ySDhvn/CWnCWNtxA0mwx4C6XkqWMjASioFrk5AFHXEGWnuX7rgSyN5///NSG7ESurlapkOsKuPzEVe7LLaNg9WBrp5zpMM3v+847KwKDi/HEBkciqGD9wKzoMlDdfXXR8Q2kbuUyswMJFdNwVixiv6eq9384mwsysMghdoNhKD5+DuN8RuejIehyy5u4AKQ== 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=mCbbi+H9v/D6Xg57240XQERKEeoouzg6Ab/6Nyl33R4=; b=H/EQPOwFUKwfDugAEWcJbjrWXD4fyfPjsC+MQVIM54ipY5NoVNQ/XdxwRiFNtniR3NqfbBunRCBcidWRBtTPN/+Mf2WFKIQtRRm5zuR1pHXo4G3VWbbZOXofmzpmm81ZIeMquMpQHtOKejInKTqJ2nFwkdPNyK2aI2IbrvSjA54= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3808.eurprd05.prod.outlook.com (52.134.9.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Mon, 12 Aug 2019 14:21:31 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Topic: [PATCH v4 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Index: AQHVURk8tkL06lEcYEKQgOqHfUf7lA== Date: Mon, 12 Aug 2019 14:21:31 +0000 Message-ID: <20190812142105.1995-12-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2036573c-842f-4143-be73-08d71f305f3d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3808; x-ms-traffictypediagnostic: VI1PR0502MB3808: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:758; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(4636009)(39850400004)(136003)(396003)(376002)(346002)(366004)(199004)(189003)(71190400001)(2906002)(71200400001)(66946007)(478600001)(256004)(66556008)(66476007)(7416002)(6116002)(3846002)(1076003)(14454004)(81156014)(81166006)(8676002)(4326008)(8936002)(50226002)(14444005)(36756003)(99286004)(26005)(386003)(6506007)(66066001)(76176011)(305945005)(25786009)(110136005)(316002)(54906003)(102836004)(44832011)(52116002)(64756008)(6486002)(66446008)(5660300002)(53936002)(6512007)(7736002)(2501003)(446003)(2201001)(186003)(86362001)(476003)(486006)(11346002)(2616005)(6436002)(32563001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3808; 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: dsoPriTHhB6FAMePh00J6svE49UJPfJkhlY+XF+3VafHh4Y2vSF3/d4/GwJHcli96dR9G/wvjg6I4RxvZZSDoonQhFucB7KnPY4b7duvo7RZitw5CNYyje67uxfwOgydLrNFxaGrOJ0qAs04Yklzd0eQuWgZPt6zwnMPLmBDjwDmkhiv4oTfluaMR7B7bqVqMSOksRJsrcWW5g6uPdrhdNIHNrq4CRA2cOvRJHlSXZS3dP3KqcEADNHuNcClZw/KZPzatacJAyO6YX8zIjWlwcKyP7I4/lYnVZFA7mcZa1kImNw75n5sIiG5XvOLDw80Hp6s3gwg/7ry/WW/XmR6eJs2LLx0HYjts2PWzWKm8xa67lcLXQNIW+6+eMSzcbpHLw8NzrFUfsuxS0a0yb5UTmZN0wY4RFLKhWwFKDdndSc= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2036573c-842f-4143-be73-08d71f305f3d X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:31.5006 (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: aRvgSROUXk6MM7Bo8J9vGertwnB9QlPwU+/PFvHB32Za+EPfHQIdAe3JBkdJxFlybO5SjEdrdiNdh+dCkpe8y1GqDgPCop7mhwaFZlb1MDg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3808 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072140_858860_2070E047 X-CRM114-Status: GOOD ( 11.63 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Mon Aug 12 14:21:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089951 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A910746 for ; Mon, 12 Aug 2019 14:25:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECD7D2833E for ; Mon, 12 Aug 2019 14:25:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E090527F98; Mon, 12 Aug 2019 14:25:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BF7B27F93 for ; Mon, 12 Aug 2019 14:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Mpfc52lIHINBaAsd/jOHq73WYxJsIMdoEU/OHco1Z70=; b=pbNN4M45wQCfqz ceIiZyKqwxcb1uzgjGgGEebLObI3FKbbWxSvFKiqBmGaREcUMURmQs5xlVXR9vMCFBWZTjScz0+mE lf1O5jLA5rXHJv56QosX2x3QzhprQaj1OMH3GFcAdexECcFfDag9GUecsg84hFgoyY84cYcvF1Ew6 RMKwuT3r+G9eV9oGeMdmTCeOcqxvNeLlEjAVEhF8jxoFvPJw7IQag6wAi6wAlkE5uLmHOLTGoj77g GbZThoK4fgQP5Sd1IcT1jap9Cbcs0BedBVj9wTctXKhuTXKy0hlW1RZqyZN44iMzI0SlwDtCw99sX pVwNylJe7PBu1clb4alg==; 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 1hxBGX-0005wY-EI; Mon, 12 Aug 2019 14:25:41 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCf-0001e3-PV for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YLCVMnyFe3nRb7+gJ7erbudHA7WFbRIlCfOLyFygKhezHiC27quUvXRKW/+TA6H+e/EhcEPXbP3Ni3/J6dEi4CNcf1JpRircfCnYBHdBKriENjTc9wLjOgKHCJPpDcJwhLon46IHo5catCnkI3V7O5GKMQ/CgHSOV2dA4I/R3d2ykZ3xy7bm3cde2zV3N6a3oil5DgSDE3AwTQYdfcv0GiN9YxbN+Ybgy8iGUYP44MmeV9NAF2Jrl77V+rquM0vJnBkf42/13IyH2qoGXFDelWw4zlc+wGyFzWTU8pjWp2JlEICXYRYZewd8OorJuSiAsmvqgD9fz1gngK5w57xgdg== 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=ati69vc/IEtW6C7qm9hgCH0JoiIhxhuPHUQVbzz099M=; b=bVt5NVrqFJB+IzhhZ/26z7+x4jNU/m3WoJpF5+vyElQkFCIK4Oz49oPTxUGsNdWrwHSqcR8HDFgzqC4PKvM/5lPImqty5uoM3zmM4BllwR5g5QiZnMLSJiI4ygrhmrklaWEw8a69ZnmYkVcL6FnrY7pMhupfDz5sWgh1m2+PJHzLRz6rb3/LWXJSVlvDGSO6KWe/CbYzHU0CGydfrPINnB183+4D53+JPARaIt2WkfyFYmBS7UJ5wsfniAG4lL/h+Q9YuIsyp+U5gN6Vid46XrBn6AdJHNYoasdGWsZxww5m3l3/MjrOrtcnhkUftthAPwrplJkwSDDmiIBlDxlCuQ== 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=ati69vc/IEtW6C7qm9hgCH0JoiIhxhuPHUQVbzz099M=; b=FCzhPMANAvqmrBv7jvuCieKTSNaK5wpn2iTApdf0r5X52zmnfY8Vj5TTsDCh79n+rb3etUl+oibbZIzRRxyaPOHsFT5E7mcC6loKGSBlwfavgoXFi9y/OfTpk4r5tVGxNTEU8yCRNcgj+hSO0ZoSZ65BJIH6tAzG1C0G5wn/nTM= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:33 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:33 +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 v4 12/21] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards Thread-Topic: [PATCH v4 12/21] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards Thread-Index: AQHVURk9KiEmkulJgEy0xZA4FCn/Tw== Date: Mon, 12 Aug 2019 14:21:33 +0000 Message-ID: <20190812142105.1995-13-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 743f2c4f-ee74-4799-49b9-08d71f306031 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:741; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VyXoJXteNxvCL8P/kMSsN+hgQhSjCCUr17zrn6pwpaG2e/Zc4iKW+eMNz7rxbjxVgMeCoRPLVNeIeg9673ll4WoEFzq2ZPGN0y/JFJorqTtCc9zGrpTtDtz5SOfYl4rAnbhLVJXuz3g1H6RrJZh2+x9Tx4YcIlfilF1xBcpMs1fZMMYdqzTbonjfEIRfQEhwOVNCInRL7bViNLRvKBcyiPhNO58+wvAorx93I43yVDC4Rj4/rCRuM2yRPI58Lk6y8mSf5H3+3azDzeGZl3UusJ+NJ6BdWjPCpH84UOAZt2NCvNul/6faUAa+ELBxipv4gpQfm3K3yP5MdV/vr6Aqwt6ZDDXxGj/CRYFkC79eqR+oONqZA85/SKw5KpRgRS+Aigx1bxUsamXP/3e+O+P6vulsOkH2MEmt6z03eG+KCRg= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 743f2c4f-ee74-4799-49b9-08d71f306031 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:33.1127 (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: stiPfjP7xqrnTJmCUEqOsZgK4VCzwmvk/q9JyxAQYh2EJi88LAoWPOwur4oZbNT9J19ULL65DyT0NhNwGq/UI/RYP1JdY2ojV2WxdE8GbYI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072142_455119_4E65D517 X-CRM114-Status: GOOD ( 12.06 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP This commit adds the touchscreens from Toradex so one can enable it. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- 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..763fb5e90bd3 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: pcap-1 { + fsl,pins = < + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */ + MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SODIMM 30 */ + >; + }; + + pinctrl_mxt_ts: mxt-ts { + 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 Mon Aug 12 14:21: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: 11089953 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8163814DB for ; Mon, 12 Aug 2019 14:26:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 716A627F93 for ; Mon, 12 Aug 2019 14:26:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63D102847E; Mon, 12 Aug 2019 14:26:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4F9727F2B for ; Mon, 12 Aug 2019 14:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Thf+u8HISVdoH40pMqNU4pxhrMotk73OaHl/1HtDxTk=; b=Oq++NfWdta0z2V HyFLC/0L6GgPf2WpLKEERErTN8gqIiTA2zz+7tDO48mG0XfLKOPbIIDo7V80puGdurdYonfc24OtO E/EdXmu2DdwTFvtTgbd4nQ8CeDjDq74PnyA9TgW+/glZzm15IjCRCX6kS65r2WHMIuOSyx41GkqvJ BH0W6rRKJ6liKAboPDnQp4RJNKL5DXG3cpmOdjEqVzZJZa0tASEse69JA2KbX0yHChsllEN9eWlsq ky8sepgAwRR8xxYGliYfOb1aj+NFX1Os42jZ9/Xi4TtvetnUdPuUJUFUb5vpv70pdFuqTDiU7XxeW UpN4L23AAuj4OOJt93Rw==; 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 1hxBGv-0006ES-UH; Mon, 12 Aug 2019 14:26:06 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCi-0001e3-Bc for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YhKMHRcjV2W1+kY/mLKMonEFQML+mHJrPCg9H/yKrpZrnRo+qAmAtUhHeskJ9eCE1QHQF+0tRcwo45t8ObcVr8FTqfDCsHzaUrUSsPJX4HxnhC90UOlbqBVd1VSDDVYC+sOtXyJfeQeSiwUgrF5a9lMuvW45GjVwQlX0W6qgc69/oPTsKK1tMOTLw2Pv52ikmoweNHy/7rnSHiBnroNzI9rs5Py2setk6YWggnqMjOy2tkCFKZGbhMl6zZV/EoaxiiauK4R2GWpavWR3zwKUHGBr+XgnSGtKNvBlffAWOSR+tjy0CwLKDLCOlyiieuYgdODKyn6fr4V3rZvRgH5k+w== 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=haJ+RPuA11Fu5iwSQ9+pX6qnr+3x5lNecJWdNQOTrB4=; b=ahG71vLMv2X3DOr0YxADwBsdCGS+DlCVZQtIYYyn3L67Lo6G7NNRQxMA1smTnoaOjBTAww/opqBFZZtZ5IAYi3JtvDXJowsBRrIzEAoG17DOjZtNNtm6bqRFmp/cGxFAy6MWE+SeMKs5JmJjNtSh4ADJfa8SeRFPFe6TBD1Biz/v1BifUn4GOrmyRp1YYpLEWtI5odk6XUE2zQfNvygtzk2kl4VoI9kbM9cnoMSLDZPkPCcpisryOLJb1aPPmxN0Uq9DdOJ6Sb+k4A1FTXrwITZVjtRmvledpi0J/6k6FI0KMzxPwDhG/CSnW8W7mn+dKFytR5nXKB6qHx2lprWQTw== 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=haJ+RPuA11Fu5iwSQ9+pX6qnr+3x5lNecJWdNQOTrB4=; b=Zu9QQRtbvgn4dJLRFKDozGTBW5KrM+MJCCiq324Mmu7Nv02gnUU1AEPOA/40eM2Y5lhYVtuamDEUOz+cScubPDFR2kE/yO2fzGVHRkPummAcYQGcYu8sn27Nu7pvt4dx1mM/f4nSHIDqDSwGjv03yWGQkmrKwvXfRVkIVv0fiaE= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:34 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 13/21] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board Thread-Topic: [PATCH v4 13/21] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board Thread-Index: AQHVURk+uU2lGxrxjk+Uj7oHaTp4/g== Date: Mon, 12 Aug 2019 14:21:34 +0000 Message-ID: <20190812142105.1995-14-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b3b7de91-3310-4a12-0a0b-08d71f306116 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: epyvqD2rvs/R/5iBq5y30Xj1cbnn/GoeGP1/RjGiXR8wutxtEuvneekfD2ciZqv918o0YhppQ+4Y9QMp1oF48EBL8pbeJ8G+7okZKzShV/EFIFgDRbXb1bFWin7a+60cTVQypysx7KEHQdLJ1uI0exOBbBckLi/ngcrKNL5jlhfSFp/Rd+9OvIUNSz0t/O49o/dVGyuedt1i4bS6JDmenV5r//y0tGE8HylYx9bsku9qthsHhPLwyJirGgGmG00URNv/lXYY5bBoIoVsWL8HadWlWcL+ItDozeyQqHL2dmjDgTreLFhAvUNGCLJGAelXh17qKVoox6+ZzeSQ7Vs2ZEeadqQBZ9YXCAdpXCSnk4rTaSaG72QhVSW6jjWQ8z9qAx9MONbdIirDJNONiDCJ5IKN2heVwHOmaaAkAViqiXA= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3b7de91-3310-4a12-0a0b-08d71f306116 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:34.5888 (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: YWy2buv8TMoqMsnyQbSEKSsvrVCbPTXUQgsdH4YPG+XsgeQEf38t/hm5lVtNnyXOy9lFbElQLT6oCd+yb/lDTAButSlIKf+lOnAx0TDixCo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072144_610584_AC96CD53 X-CRM114-Status: GOOD ( 10.36 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 763fb5e90bd3..e7a2d8c3b2d4 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: pcap-1 { fsl,pins = < MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */ From patchwork Mon Aug 12 14:21: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: 11089955 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE2A1746 for ; Mon, 12 Aug 2019 14:26:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CACA527F93 for ; Mon, 12 Aug 2019 14:26:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B99D627F98; Mon, 12 Aug 2019 14:26:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6312528470 for ; Mon, 12 Aug 2019 14:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CS+0JR3lRGU9EFbma7yrIaHyIPVIo+8iodOkCOQbVrs=; b=nZ5R74NbsemH6p 2bkw6LMLtm7ACmXM1PY2hGKn4NjBYEeS2FfgEJ1xCED/6U6tEwhwyoH4Yt+vv0ielURgb44EmQPRD cNXUn/Av8wCTMH6Xpq9K2BALUblvi/ltaOTMvzqh0wTh+PM96htB73ffQlWmz8VDzp91ekJXT56oz Ae55C+2H9XtdjiOb2RipZHsHihS3LYi6jgCkvR6NNtu0JH4NNKZEMdAcYDBuldC6wAfWn54bWRAcc pW7wPjhH6gDJz4HXoNPYPfEd1mVCEM8DY10aqYS++qe5yaAS3lhHnQRIDqaeW53OZXmT16bWKmESY b4/jYqs2ktXhsUnG/ApQ==; 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 1hxBHJ-0006by-K9; Mon, 12 Aug 2019 14:26:29 +0000 Received: from mail-eopbgr150123.outbound.protection.outlook.com ([40.107.15.123] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCk-0001rJ-Mi for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fGMvz2pF1tKz71QeHnPaygf30VoM20XSCMN+pf9l2yjQLWpjn6nQpOVSGuN7bdqSpOqyKALiMs+vF+pmdmoaqbKk5JiHJtJE8yp7I+WjyL+C2Jh6FUWZ4J9vgsy5FejpzSR8iqVxSGChWIrSacmvopxAxxRn9ljgPM+l7eRw9PzN9eOX0qkzyAkx2aI8IpC2cKYBV+GyUQG51Eey/z/msFUVCL2KWFdFykaEOqBR99anHhG8Rqt+5oDpIl3Ji/03mBuV7beZWJcCNGCxsz8+vePcKiLweUQzeoPiIHgeV3ZK/IMH/lhQDstQGFFzmWXEGIWayxbJ3wqZbbI2c8UdFA== 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=SV//qlcwX0PpDGnwIbhhQgXo58Kpo+OjjMTA3aPCl7s=; b=J6K19tC0LMH85CaoAqYZea9hoaEb2rp02BMbHcfYuhRhmiKMx5wPW1wpI7lVNBPzo951zOum4cgKVD27ic3hlr737qAtF1bYv4Oi1oMOvinpeTg1wVWairW+g1wLcvTYNWVxWG5D8jHnoRjvXeSl03Lz37DC7On8LboWXQLu7ui5JBLTOUVX0jUVFa9jchRLBKlxqr3F3WPVoNl/1FlwkkEYNNZ/hoEXSJMvbHKkEMtza9jnSgoCgbcbtmmmEp+0IR+jf1FCRkMDBPEcFEwuSYKBVlhyTSP/aKypbPHCYJkcY2D0Jx6tpkRdIAjcrnA6d0M/e0/74rKShoPOCWtGyw== 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=SV//qlcwX0PpDGnwIbhhQgXo58Kpo+OjjMTA3aPCl7s=; b=vkkM87xStvx2Rbdi7j4MUzY9c5prjT4cXXW5Ys+dcx2AZAUHLfJqAHfmnYPVa9Lir0OlpqpPXKvX5u2NlEPRlPRbAnMgckSPJ09R7lz3xfaP2o9BTxyg1PYN3HHRXITto2ke7wydCujhHD6KsE4fxVk6a1a/2rrL0tE7R40b1P8= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:37 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 14/21] ARM: dts: imx6ull-colibri: Add sleep mode to fec Thread-Topic: [PATCH v4 14/21] ARM: dts: imx6ull-colibri: Add sleep mode to fec Thread-Index: AQHVURk/ykft4ua73EKmDHr197vAbw== Date: Mon, 12 Aug 2019 14:21:36 +0000 Message-ID: <20190812142105.1995-15-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d33325c0-f01c-4f2c-fa79-08d71f306233 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FxwGlQd5CvizkbYfuMQ491bQHzz7Rb8JXSCgYkFjw2tJ4gl9g0xTWnrDzVCqZu4lMUjNQYjV5qDemaDlFWqU3JVei0hvKYNbUH5uCQEW67FZUMYnPwFOZx2ct08vCCHN0dE7q3G2jnb6eHdabgnnKJ6Ea72t5ZsMTn+GHhDpgx8qYlmpa7TpeDJDHDK+fGneUh/pB/oN6NbpK1oaUVyjGfLu0R6vmkeE9KMEXQjfcIxVspPCAxzAwpmbahFWYnucoMYpPx3ZVt3nrPFnWATT2Jstx78x21sH1xTP8zrWYVg+FmFuAnlY7uZUNImf1yJz/n24ESWQSdhblASDkdchRIPi/8ho7usBREs1C9P5jG6aU44ifl9UhrCa/wwHmATR6ZEP0lA2cZDDO+D+HV6HMlfSE2o+9htPGZ58CUu5rk4= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: d33325c0-f01c-4f2c-fa79-08d71f306233 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:36.4688 (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: f9A+Bd86VEYs5YiGGo8ayCyH3oJ5lLmv3QjSR89UXRKQE6/GMvpSnVxdHy9ApcvrPcBIb/8fKp9QT+H6EZsyd4EOqLzCsfkxCmflFKYWGwQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072146_835138_21BA3C9C X-CRM114-Status: GOOD ( 11.18 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Mon Aug 12 14:21:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 408CE14DB for ; Mon, 12 Aug 2019 14:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F07C27DCD for ; Mon, 12 Aug 2019 14:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CB192846C; Mon, 12 Aug 2019 14:26:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 71B7427DCD for ; Mon, 12 Aug 2019 14:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nmiPjyskh9vfil0NpF4OofU2m3BD9nBcey/27N/LiQ0=; b=oS5yQW/pjqUcZB w5U/1yiwmhgflVKn1WLY32vHmYmbYDpttehIcEt+LtleUb8vDrqtN8bv8yMQIga7eMKxtoUEP/DwB faNalq2s/74G/WOM3HuxsbckxLUc7w5AjFdRaAiVpMW/vNZ1Ob6hc1O4tKDB9S0e3wAHdoI8eUifQ PN8CmVUg64uWqPtvgVAjtWaIwXfZZxK6ckDbRZog0IdPrr6tHc83hVOtQer3z2tkrNpivDRpxUB43 GY9zczd1tauSHOJaqjNLF49XX+CI/xRZtTqz95OeYtrRQNGsZf5RLbKsE3qEkmww1+1ZW2p8FV1a4 +H+FuoV1MN2j33Rld0lA==; 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 1hxBHb-0006rH-P6; Mon, 12 Aug 2019 14:26:48 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCk-0001e3-PP for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EpTXBmrVriF7wJZfRComhYkmwxWKh/lf5gPTnbWh0tGwy95tJHnenpF1g4/bFrIJf3fssYW6RDFTeG4rBuS7Rk+xl918uq9G4Hd+T461OSlOva8ErRAP4C1cjNvWoWCcwNxTLY3EmAtuPM1BtFtJ/0wAV1yHyVhp850O1Vj+F7kp6IovYGCt8uwjye2DQH9uhJAHtH9XPYLITOXJDLTzVlnx9KDN/x5UcQWXEAD1qcgR4w/ByVbeFO5ydQfdpTOoYiK1ENdA7P8srrl84RQThxLIsvBWaetf+f2yyDiAJR/mFPoB90/fGKU/sja+40gXUiR5G3TlI5ql0rQWicE0lA== 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=FWa/xHZsIFGQ+ba+M2ppoyAUYYK9GUj20s8s+K/o+Ak=; b=WBUWCEr6YcVOHeHVnUrLzpixQz8zZ5X4qJebujhLPmwGy9SCqv/OrUb3mWTeW6zpRcBrReZQVBh1rdgIQr9x6fmuLc3xqElSg9oBIdSFMWA8TygJea1oC4ts3D1dKB59g9pdEQiGHGQe+6y6uynpfgB43d3ta8E+d6lXlhMolNvxMo+B7FPRSZw6a1o5Ma45KVF5XqKo9tbg0XTKYNCXyJuHMHRGg+CiGnCt8siuf1rD0iVZhxhgFTi0M6O7/dH8oxCBMwsGXrgqH3zuIm5H7EOre/rkpaOLom9oaMBmlHJKiiGEv/0lebL370BcSgGxteWeYIwHfSc230IqW75DkA== 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=FWa/xHZsIFGQ+ba+M2ppoyAUYYK9GUj20s8s+K/o+Ak=; b=Vil0qKez2X3ffWq8ru6QCvtwU+IXuCW50+zh8OyglpgF7g95AAbB5/Lob9Oc9vACwq5W4pqG8RdhvTmWHjFOZ2iYmRhN6go7/oRSefYGR9xWLgAxmtxzcf9eCC6D+gHiZE0OCA1ctuoh3NfTTZ61SqIFB9p7jrMrmII41EFv22k= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:39 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:39 +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 v4 15/21] ARM: dts: imx6ull-colibri: reduce v_batt current in power off Thread-Topic: [PATCH v4 15/21] ARM: dts: imx6ull-colibri: reduce v_batt current in power off Thread-Index: AQHVURlBuMVOeqxvH0CXDzr0Xq36VA== Date: Mon, 12 Aug 2019 14:21:39 +0000 Message-ID: <20190812142105.1995-16-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 58d0bd7d-a2e3-45b0-e21a-08d71f3063cf x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 2Vu3/KTrkjap3yXkAaXkkVNw41QYNQhGtH2PJGq7RTsa2kk2z3Mwxg69ISozXt515iC2PEZlxBqMIPTMFh20r9SbQMdy4lJrlpNMpDD0BU3Re7qvnC4PJrw3wcZjfC40KA8Kr8RJx8CMagQVXBWWCDZWOt54R1xRGEoQ3CnlNZ+ujFlfeWK2d8LVKxm91vfGOh1U//+H2aZfNvgFc8h4VyhODyMqZUQej7NeoaU9xTeRXX3S1FEAAvDX04CBg8GyhK+twt1tTUWe6MkR33Q3Pkq4i/T2mXmCgwS/a9B5V5g0iQNEjHS7SRQIjuxj3INyd6hehZ/bnAREMTD87cHVcg5C80n0Y/4AhXrVPIey2BhAP38VpJOYG1DerA0hcTiQSuz+BLXepbNNoyLz2kmQnVhpzT6Apu7gbw9w+jZKqt0= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58d0bd7d-a2e3-45b0-e21a-08d71f3063cf X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:39.1712 (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: 74Yz1nqjlMEjnml1SNTzfrXETRH7U/PNcbh2N/AT4FjeX/9FX/7oFFqoVNA+50TqvKPePsC2GyRmLnoUZvyh6TkTLK9SB1Npcj5Pf1wIlN4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072146_848720_6B2F5FDC X-CRM114-Status: GOOD ( 11.83 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Mon Aug 12 14:21: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: 11089959 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0146C746 for ; Mon, 12 Aug 2019 14:27:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E38DB271E6 for ; Mon, 12 Aug 2019 14:27:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D69FB2847E; Mon, 12 Aug 2019 14:27:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 659C128113 for ; Mon, 12 Aug 2019 14:27:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xwxflEgO0RBxN5aAipBN97L+CCatJPDjMR1zlJFqcmE=; b=ADEWyVCD4/7FeG wWiX9tryZ5G1jLRHnQlj9Bl3x+blaVHXfPUA/IITeWBnH6BBcO7mWhIU+u+S7nNV1TuDaxD0jtq6j noc8vFwSlct2OiJNP5B47SaLBpkjcyfPHEdQZMZiWVn4UNIlqnx//VLCFPK9jcsf4Rt8hDNygyzjl V4unZse4BNusqFxcVY5RP+G9nft8NLLJqA7OeHa9K11rKDWk0jUgNZMRMM8JY8p1hD9hN1FNl66eE XVpQ1BqWI820nSl7jrvjUbfQSKICvOxO5DUyP2RzYYnVgXckyQsda3bUUB8Uoq/8uZUSdZY7N2me/ udbgRvRjQXG8nJUIrnGQ==; 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 1hxBHu-000775-8A; Mon, 12 Aug 2019 14:27:06 +0000 Received: from mail-eopbgr150123.outbound.protection.outlook.com ([40.107.15.123] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCn-0001rJ-3f for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l0QATL+RZ+uZfaFJTEK+OwnjMVSefBp0WLw9tBrTR9Zx6uzH+hAEmlD/VKjcmf4rlmfJTmuIMbU+JBiskV+JRkemYVpt45msLOcYbCH1+TdWJUmlh1TtXLWTcijYwLltfay71m5agXH3QVtivYFW5A/N25tLx2YrsUY2pk2wjzb5a/pAqmoaUFQiZCEM/dAQJHRxTpBr4Vb8WvXb8vNGV08xYzCNxXVTvYX5nRIGbabzZ3rZbbt55hfgoU7u27eQO8fiwFByiSpWrcSzbgsrMMjYeF4JHbhsAPyhvG5vi1H0johD6K/4E+rq7kIZ6rSGin6i5vNjIftG8B5ZCNrPcA== 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=6u+hyau+hoSzjk4+N2Y/RQDOqCZXmiSHVhKg4A9tagU=; b=l1HTuY4+KcYwT5rykpjb/lK2u+W55vhemodagWwZ+lO+ZKZYuaJDfrIGp8s0dxpIuTzjPgxpeuOrmojPHyo2ELKHtEs3T8x7XDWH/u/jXn7xYgwLsM2zQ8j0gege0IX5Fu07X9fcd9kq+2luVMsTlF2JyT4MjZjB+JEzYNcDdJt7YCw+FkzpiFKYsp5gOQJaX3L8CxVjbN010j1aAtECc8kdLnXmllGNM8eoSItWaPOsq1oj94rAPurFQs1g8mBo2W8/oMGJC14KvRUpVC0VwTOWa41MRuEUt68wrmFDQU4tiH6s5B/H1msIyi7M++iZkj+1IS5Co5BZgFA63epvcQ== 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=6u+hyau+hoSzjk4+N2Y/RQDOqCZXmiSHVhKg4A9tagU=; b=aa1Lu9H//YUC7EGnAKemqUunw5hEyQnJQhAe2be+S3JV62mHbpUR6sguqf7l3w/w22Bcqf5wp4Exm4mSh77UQFODBPxugaRWv+CO2RvFZrwwCHRjwlndfOKUHzyxYXFeN254GPN7ppbwXL2bX0HCFKmB8xVvJJZsVD3oI3iJymg= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:40 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21: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 v4 16/21] ARM: dts: imx6ull-colibri: Add watchdog Thread-Topic: [PATCH v4 16/21] ARM: dts: imx6ull-colibri: Add watchdog Thread-Index: AQHVURlCfEjdq9SVhUGuplq6y+p4Lg== Date: Mon, 12 Aug 2019 14:21:40 +0000 Message-ID: <20190812142105.1995-17-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aacf1369-ff17-4e2b-3269-08d71f3064a9 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: h8Vd4094eqwMiH+LUD7Z+UHrMp0M2Cbr+II3yMEQ0EllAQpentDNC4Q4PvYpZewJVpk1akWXDdIWT1uDXOCdQx29EClv4XDo4YCZkarb72K4BOORfshTSE00NDRK1/PgZbJACJmKzO8Tf3iJja3PioKCRBVXgONC353LP/skiRpypMSWCAinDffQ3AP7g22vg1fish8d37uZBGthiYE12iCUIax4/vLXWOxWmx8iOdWz87xHqTGAiONEX9ktNDeqntqMWz6DJpwKuUqc30RHYC5N8XXjwmW49m3UekMvhiRIUcbLvPZtHj3SOtWnmE+RXoKdkLyaC4rDvsIq0YS8KTN6J6inN1CA57U6/BybvpmwmZs35usJS6P99z+CpASb7vylFOsvu4BS0UNJmtxOz7dX+9BvAJE4weooFSaxozw= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: aacf1369-ff17-4e2b-3269-08d71f3064a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:40.6234 (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: OfHEc8+EoJgU6iIPRbdNP/hqSfzlIq2NwzZ5TdpLsT2piArKMq5Tj5/inXuIyTTEKvJELiAl2/WpR4Y5Ux8J1PCV3mUzEdnQJCSfCcjYeEI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072149_253915_550FD0B8 X-CRM114-Status: GOOD ( 10.69 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.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 Mon Aug 12 14:21:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 540F3746 for ; Mon, 12 Aug 2019 14:27:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 429272845E for ; Mon, 12 Aug 2019 14:27:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35E062848F; Mon, 12 Aug 2019 14:27:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B6F3B27FE4 for ; Mon, 12 Aug 2019 14:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o3IPRKwP8AZ0WEo0+KJZagpueimtjFdi7aJjHLpaduM=; b=ItYfEMT/Ws0m4T Tva2wPeiyhrUqtJxOFXYOZCBiJM19tYsJhg9DjQJ464iCRpAleeR7y5OXeDrYpx8K1NQq+diUfbQb qCZJmk3qbKcEAuB3as0554TYXTRqKknRbOajGdnEjJXssoj0UwvVagHJ1X3l65sM9gBEWLJERcN9F OgvxxxJ22L02VdQDxr3akdWL3wlRMwMaQX7ADjHS+aaw3pkGg6oyqVzVNPsN434srtAFJxgAEkB+X QyAdVlzXu+uqzSy+6f6PeLX5/qyKBblUW9+TUOyup76GgKwKjvurO4OIab/hf9Nlu1tQ8EjwfnPQW rETLNMdsDaDomAugPsmA==; 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 1hxBID-0007Kv-O2; Mon, 12 Aug 2019 14:27:26 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCn-0001e3-4Z for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C812ZtbApt+RGCKAPX7aN4oROgJkPA8GxVLNk5bJL6yazbrrF3md2jEoodYyxpHSu/VJMM7jqHxMSj2LhKNT9WnReDq7ojvNa49ZD4+PJWrSJtdbn+mssFX8Ur6By5+FFpYHqpGJAfSYrClpvYUThuuitMdRPRJtnPSTligCwogDimfMkVaiLDbjBYMYZ3FSj2pA2Lp6txZq6IRCXLSjcz36deZVC9iv9JnYUMCVCjDKX7qQL/v2rMHxN4HMkXASn7hyAp582s6IteDoU9qlb7aMXSXT/nHJp9e8T6OvsS6yYxgxsbpVuV6Su6ElkAtNn8zN0cUVmPLY/yZBA0z/ng== 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=gPkOseLBB1BoR6gCR072kWsNuiP2GOdelo3+ZSFMAw4=; b=DoXdFpnrXqJ4Y6CfbgcJ3/haRW8PaBBhJ3A4/8hkJ5kIn68eHrbPZQ9giWFOb6e59/rVfLia2+CRJmLC5HUNuMxxHoL/nDBzUElWzrYuziuv7H70Zsf+AiI6l1Ri3bphxjyDMlnEQpfWcLHVarveoc7Q+RmRZI9r4g8LKfBwOErvsbybcidlyXuQZV/zE8rxVrTimcnhm9jy4Aq+u4MXuYQDQJMfrBpFjyn4hTnF9YcJNr1DrEI+UJvLfkXIxUycvtBSTnjVgOz97FSfcGfvHKv9/yXcUJSDedSVgsJmm2wNLUFU/xCTVHoKZo53Kbqiqk9XWpV0Bgif5aqu8zPCkQ== 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=gPkOseLBB1BoR6gCR072kWsNuiP2GOdelo3+ZSFMAw4=; b=Q1LDICZWeA2V+1DIS4Kv1j3eMEfYLTCtgzaHDgEV4FPNUpWZuudib4hLcv8ojwblbv1TiHjvx1PrbQ4I1Ds9jrZAWBQdfmK7feQUY3gwrdfFJeSp10Y3aLQqesJCHcCCWqlranAm5TfnjHUdJguUByhBpVUonrAcGcCiIDpBAlM= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:42 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:42 +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 v4 17/21] ARM: dts: imx6ull: improve can templates Thread-Topic: [PATCH v4 17/21] ARM: dts: imx6ull: improve can templates Thread-Index: AQHVURlDPLPwUxcCdkKwWI1vd7kU8A== Date: Mon, 12 Aug 2019 14:21:41 +0000 Message-ID: <20190812142105.1995-18-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bcee2d3f-8969-4a59-f4a7-08d71f306572 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1417; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mzuktvfXb3+aLktiqhe53DY3E+hYg/L4y6fnLJRe+dQNvLo7IvyKjITMK1QnINEuhk+8Rqdm3ZXokH9SPFzuUlTQFfxzNlJCg3Uzr6FLhZi43s4W59WRB6Kh1taVbiIc/PydmZVIc//tB1cM1OhmQrMLARNWGZ8YFPQ86daYov/6UiXbtcQirtilD3/YPxRBeEx1rrHKa+GZVqW4IN7Drv5coqkVPoxATD4UeIVnMjcmmDC7ReRO28XQD73JZ86TsMYuByn7QEoZnJpUdFzaht4wd6fm1tuyelhzPXc0tIolzWJwpLyTh8w4n2ZIrqR0aAmoJmTCvpExN70myiLvRdE6sJ1YJYeIOjlWvGR6iZJ4Qcdi55C9+dPV+NBykG80kaYa+Y1b//T5X5sXBW6jtmtu3166oyGO2S/y6o7+NF4= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: bcee2d3f-8969-4a59-f4a7-08d71f306572 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:41.8977 (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: pA16Dw7NubCy365zcDkqO4lvgdwoHVVSUGcakAV0GE2olqkYNeM1LaJrd75CPY0P88H9FcCTsIT//fq2vCUdj+7IhOBrgF3vT5rwRx+66zc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072149_256934_00399BD6 X-CRM114-Status: GOOD ( 12.61 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Mon Aug 12 14:21:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0A8014DB for ; Mon, 12 Aug 2019 14:27:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F65B27DCD for ; Mon, 12 Aug 2019 14:27:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9378328429; Mon, 12 Aug 2019 14:27:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 30D2827F98 for ; Mon, 12 Aug 2019 14:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2BFgsC6DeSXZAAub0AzU3ioH6VvT0Q7tHlzT5iSiT18=; b=hqxSqAheyQnKwr /VJOFwpa+zwjckvwGhsvSbHOTgiN5mejGxXAiEjkTsH61wtDoVsqcK+BjhfANhO180ShkzZOO92Ru tdUISkb4uvJBY1D3ZsiRPhlfK9190ges2SP4totCpcfcXC91jN0i3Isf0++MaZT56JjZbDVJKrxdc GCf8IKBARu6yhP8l0xzl4psakeSlHYYxDijzHq5Pp79/Hl0MQhYhS0RpUq9FGOStJVXk3niq8dqOe jM178CeI/amg7Dp0hvpA9/vDvBo/eEc7bDk4ZkgtslufxiB02hMsO2o9sPZruOLqMivVLDLcbluvq iTl7K88TwnYg0CnpMFsA==; 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 1hxBId-0007jJ-HV; Mon, 12 Aug 2019 14:27:51 +0000 Received: from mail-eopbgr150123.outbound.protection.outlook.com ([40.107.15.123] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCp-0001rJ-Nl for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mvOqJi2Foz/bCe5OtGvaZ1qobUYHT/pJcKNtND2LUAD/t7wKXpQbS1i1M5AkQBm++n/xNxzUlUAv6oCgSVd0kfJzhXESnt2VET5+r88ayDlcFG8LmKr8hXChMbxMsjU4K5/gp09Dq2IqgoGZLTrbuZO8LSBqHVGspVs1nI8nHjzVouWt+5gy62v8+7fttvcqaVToArayQA8oTlZcZ941/mUitECl0x6VZGF1N7Acrphat3nfTsOffPcu/gf3TAmqWE6+BtO/VydzPbsFxX/5LJqmf3pnnFqWzwfrdMWy2rFloxQa05tnB/21gG8RBfPBAgBSVi73XsT02hDILfPvuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UYIogbjt7vqmDpSvr3tTKvgiY96KypHfQDcxZK88520=; b=ADZRyXnl2ord+76doy23lMadgwU5LQ+jwwF/2sWwpIIp0hkxjOVz6xKEjgzgTGSYrcV7fx5cgyb8KfPfMQECHlB9UoZI0n3qTlL2ubwpGaBne0TWjLA+//6PMUEY9/F/Akj1kWoDGHtBKCY2xd9qSM6eEc/Ef7sj6Rg/xKfKpYF7UzbY55NkFTT3y6YO1K29HBqixD+bEOUlpsWldQnGm6+h+QlO+w03UE5QyP303X+GtjFYpVD0ZiZxWqvHlXI5k8xEtn8Cv19fJ1lz0H8s9ZVOka8qs2cjq8+ivjgBASIrOBbjyd85Jr06CUsfdNcZdllCu5hZGfzZ4TMPcrd5Bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UYIogbjt7vqmDpSvr3tTKvgiY96KypHfQDcxZK88520=; b=OkSHvk3M7ZftLL0YfKFQ8myAhoSi8QN+1abiHj2wbx43P/1wzThkQYatRjXY9l2NJzJn2CkKpPC5GN1wlYlm1Xe9QQrt9ygGix1rEGmRA7UjReB1o4QBBc7+LlSIXRLVhTnjy6C+vEiA0cPzdM1Ejwk6bIzQ0dSENDkxXlgRDPc= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:43 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:43 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Shawn Guo , Mark Rutland , =?iso-8859-2?q?Michal_Vok=E1=E8?= , Fabio Estevam Subject: [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Topic: [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Thread-Index: AQHVURlDOpA22Elc00+cs8VUx0ImaA== Date: Mon, 12 Aug 2019 14:21:43 +0000 Message-ID: <20190812142105.1995-19-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a49099b8-3ba5-4ee2-606e-08d71f306637 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(4744005)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: beISZ5cZL6t8tD0OFMK/b42o9xapMrmlakIFvqv4d05TVUtzILXRvYL63lZJi778mHlPnu8l6rSVFlhGduWcCX2x9ot8FlUMKpjZV1T0xKveIFNFhziU9YLWtegSGi7NCUDgOyipNJZiir17BHnIQqAUQUf9Hevd/0JiBX040Qbq9pBqockkzgw4dDpwPXLJydoFeGEGw5AZbj5EsfQcwpqJhPdgq9yEb+lSuikMXeww37SqmIzxET1H+yfn6KGBTUqngQkJDPMrx90qqYm/eZ03TLEoY4zZCwncawXSjdV5tuLy9XA8erBrYRIgn7fEFCWwsGEFcUzeNi0sTLg98NEwUzNOE95Pf0eq8kOOyHZrLwTMI6IHmOEm0kIukLitYEorXBmBMkUtUWHUpsyHJqC003kQuZgUnmrAW4hTbRc= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: a49099b8-3ba5-4ee2-606e-08d71f306637 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:43.1819 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VeaDuSNPVg/5gutxLeRq4EmdCEUOtkI+l2NGfomkt3zyLEpVh/GhaNG+sNZLTvaFP29uM43f+6O9aEIjO3n8OOCO5yAVtfDmKL2A+0F5DM4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072153_551885_7653E693 X-CRM114-Status: GOOD ( 10.40 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Mon Aug 12 14:21:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD1E6746 for ; Mon, 12 Aug 2019 14:28:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B970627DCD for ; Mon, 12 Aug 2019 14:28:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABC9C27F2B; Mon, 12 Aug 2019 14:28:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F0A2283B2 for ; Mon, 12 Aug 2019 14:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XW1Axjfteinl2WUbYswlmyR5Ixq5q4ikJ6B1Q5V/Zu8=; b=KerOOVJ3OVthU0 HMvH7j4WdLesLY00tT2CuRUkl351oy0Opi0yLxt9tkcs3alJda/aVT70AU5HcD1rK2SnxpfuVAfOW /p9sdRwG9RY9xK1x80UyQIGktvlxpPkHeVPCGqaMqEWTdA/wOKg0kXG5tJe0rSo/BT3bapnVXqB74 e+VbeQk3baMXJ0t8/H2Z3cKp/ppmVAPE4P00hxBOM3Pt+S/SLjN7XLyM7qPNlUnA/QitY87J5Qubd djF+lMLBkH836F7+6Vxs6/K/zpUxyjABIydrsjJK8O8PvX9q1nBIXvP37Mmhg45nmM72zcB7His9z SUxlCwLsf9bGsPh/ZMqQ==; 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 1hxBIx-0007yz-73; Mon, 12 Aug 2019 14:28:11 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCp-0001e3-N5 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8mVhm3DPyA1jGH9keWZS39xiXy0redvFRSZ7XGGyUC24NUOEqGA+XyQSPdsgOaGA+h+AqDupjj81MsuGChvO1M8MlV/YFkOtC33y3jwhFMfFHnolaQuTzigDeZG1knEaV8NZcH/3bxqcWmUNpFJE5X0rn9haUS21mhET8w+SbzGKKjAIxYZ042vFWmsQAl0ibnvNNtMGFypYEamfzKTHb/I+Mbp1pqYjZWoBuHHPHDj4wtw6eebysbQNJzbpb7M0/4+ZPHN1dIr+2/vCS0SiznUuKki+gfoS8+5EtiWQdcHUHVmHQG0L1EcKL+VwD5XvMtRo9FDIKgdXzdNiMn4rg== 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=JjuROcQfVqzdJnbplx8Ufqu88hzjt8BvXyOZNmLKV90=; b=PAMRFe4tVcUN35AEJ/X1bYQmMyHO8ndHukcA4XGRjmFjpzgyDcOfshgFldthmePlCfcqyYH1Na/PI4Qy26eFQy2uiUrrq4LjA5ooTodbycjthssyXWqJtmMiCPm9YX4LrIR0W2uvq6CMAUQQA7yokCh0tVupM2CcY0yGeS45sVZXwhNH5e2cZVN9usn9O1AyEMG2jI2G9ux+BfAqc725vvrQBfwxlU3bN0X5Tw82KmU6GyewCesSJTVwzUmBraoHLsfqQvfn3sujzgG6noFLdn6puA11tB4sId5fWSJwxtsdrv+xkdjCPjGevOIcP7JVz3qoQ/Mwvy2LxmHSE42xUQ== 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=JjuROcQfVqzdJnbplx8Ufqu88hzjt8BvXyOZNmLKV90=; b=K+c236w3Ym9QWNeENI1DDSM/Huu23eiCUHb9XeDHdfhdf+Mlt8EjFKPGl9ZoiFT4QvpV5Jx74RRforLYCVMbeh4MY5lJSIbAlunoUMyMiUhZa2tF2HyoS1j051YBjz/sQ/ODmtVonl0E9BZl+479pB/JOcS1S6K78N2i7E8GQEQ= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:44 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:44 +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 v4 19/21] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Topic: [PATCH v4 19/21] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Index: AQHVURlEhvp4muOxlkOgL6J5rgvomA== Date: Mon, 12 Aug 2019 14:21:44 +0000 Message-ID: <20190812142105.1995-20-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f128eda9-3452-4651-15d6-08d71f3066fe x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(1496009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VRKvQNExDcxURudWtGPEN5WGA7sNgsBrwVEpAH7x6hAZz0cJmCHCgt1sRQX23OGXDTauA4BoF3ubCKqCLnCjHMWIA2IqqXNEO9F+yJFXstFXJOvKjpLW7qHJ9j2Dc1WYG3vyJ7oBBENm/OkSkxLzJE2/VYrmCmGTy2L6DDcwM/z8uJEwwsWC4k+3ErN2cn6d9XW15OJbGK5YQnDUx6HZIu5/BGMb8DDniHASAtCJTy9YcRoIDtNfboQ/Fk8u1Zqhkjz6vO4lqzjUJi3WSt4twDtSSF6LDHangAljA1tqYn8tPAUpaF429pXVOIjhZFd2hHvkq9A4W85Zd+knkZZfQLP5GDwAk6vrGpkvyINTeHN8+HhaFVojZwA1UAmXud40koqg+VDM/KVOJ4AAx9yCfvyea6ooPu8RLbcomKRtUFk= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: f128eda9-3452-4651-15d6-08d71f3066fe X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:44.4802 (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: Z1OB4eilPfaHVCdxID2PVjcP1SEXD/07RWIOGUicG/ZnU6uN/ruti5IIVMPx8QjYCuBRe4fVTlvIk6N13yHgwKHyM+ShzXWb1zqOOBohMec= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072153_541419_091FBD47 X-CRM114-Status: GOOD ( 10.98 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP This adds the common touchscreen that is used with Toradex's Eval Boards. Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov --- 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 + >; + }; +}; From patchwork Mon Aug 12 14:21:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D36B5746 for ; Mon, 12 Aug 2019 14:28:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C235127DCD for ; Mon, 12 Aug 2019 14:28:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B600F27F98; Mon, 12 Aug 2019 14:28:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5442427F2B for ; Mon, 12 Aug 2019 14:28:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=on1TshgSpCJuMo8PNNK7kShLAtKyVexR8HJOEKh/gbk=; b=qOMSxvsnkgWaCn 94YnQnstKpgoSAmqW+RHhZOEsAsUrLwqG63LftWymqdnoWw4o4NerAfwWojdU5ZsJWH1Hc2Ay2J1N mL0DyxM36PDoRlTn1vcTzVr3xTqN2r2n5a1eR6DVVDjogiQ28eWAFpGKGV+EVCKZ16m9QJ4CmkoGt IUd7CIGlMu9obsJ+oDbXyS1QSHtWthDjgSOOytU/W+781r5uYhOJk5LhuEKBQM5nzeUcfYNMD+v6C u5Mr8v4jD8EwSMdH++p99z72vR34l5ybm2lBdxxofmXquU29c8bXludMoKqbiCi3J/EQLz2TtDkvn ToJ6De6falS0MP4hilBg==; 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 1hxBJL-0008F2-D8; Mon, 12 Aug 2019 14:28:35 +0000 Received: from mail-ve1eur01on0711.outbound.protection.outlook.com ([2a01:111:f400:fe1f::711] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCt-0001e3-Fe for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LzJMiJ0TA6/WIotfTqK6ggqn63X7qPt7J8fRMcO51YgN7oJy5/Hze6jJ6rAqelPH7KI10mgx4TTBObc44dx2rWSw7jouTVn/IWtPT6F3mvAPVVl9Q9gDZvwHzQPmaOdABQ9Z0ui4Pot4S+KPOScRmWkE7Phqfzc0XhsXi1TVLXnrCrXc1AbCMmuwU6Gfqt7fOba5qSfWI/Oq12JTT8o/RFzIPshEkzAyhM4BLcHG1wah+D6uWyAFhsCxgus62vjIqrGn1Qjpm3PepIws20b0T8oR8gzkBRj3k+DvF4vWAzU/HJwEZs5T6F/UAp6OwcCz3F+FrjwNsp6Y9N74J6H4Hg== 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=jmMFf1xaDiXn9Xp9+Hwbl4j2YgT87jCUPpFjYuJi/Hg=; b=CmfLKfjStx7a3RbQCYzKfbZ8dv3TSt4sqheM3d0S/5oWE13Bb5X6BXa+Y2g98QtJa41f9CB3DIsutxYPw5/JaUDlgeovoogUPpAhJcOAKaVzoFVzkqmKTKPegq+Fo8+Wpb6jx7sT32zCjVhhxJsMfs/pYAwupi+S4YauLZvI4lKsvPKEtKAxbrxxXiQ3uDMrnRrV/mRREieg5JPPnJ6t9uff3z4lne2jEeS1J0Lmlrqj2Mu6GuBUPvfVdvhRZTh3+8D6LEJOtRhTzv00BnLLLGC6qm+EEx1AHZIY47h9AnAHBwbPAT7HOeUN768pC+ri0AiMIBfQi2MB4AX0hv3pPg== 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=jmMFf1xaDiXn9Xp9+Hwbl4j2YgT87jCUPpFjYuJi/Hg=; b=BeXViv0WWVvecUASh7htFSnqW3879oB/o4wRN63zm7NzuJdh7HpdevLBKi+Z1wvfqR4wyndQaM9aZwAulwukuhE9VHUwITMpwLMjmm2hDiyLLyme+M0pBO3vm++yeh/9pkB8/X7OTvTdAzUfBRlbcXuhyELZYegQZghjtkhxVQI= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:45 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:45 +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 v4 20/21] ARM: dts: imx7-colibri: Add UHS support to eval board Thread-Topic: [PATCH v4 20/21] ARM: dts: imx7-colibri: Add UHS support to eval board Thread-Index: AQHVURlFnRbeofYGyEy6mLRVDRVbVA== Date: Mon, 12 Aug 2019 14:21:45 +0000 Message-ID: <20190812142105.1995-21-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61fc014c-99a9-412e-0c88-08d71f3067c2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:196; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(1496009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: y/xOGY+sgTByHy+63+BRMGkxkiLYVz9hKGtVh9/ULH/xFojDGXfcrsXlVCRcgb9WA3KNLztvHdQ9ovm7oOKYSj6FrD46RbG5/vn0EP7cHJZuIe2xn7FYByEYD9ut+Bh5carUGQphkP4gOuURhPR84HuS+mU8dQCxssMjGD5kVm44Bh7VFL/VNxYzwo/ZDMR//0yXg2GHRnATCOV8A0RYgShO+QPQWepsJ/tsETXZDUUN+Of2qI5l9JudCNLZvcEK0t9wKSXaRTq8Mq7GlI0OHhSBCoKSect1emgUSTd47sJxj6fZiYWER2fgxvuryloidq/nJcuUZCgNtUGqRsBzLxfzmdRy5ZoVxiChZ/9ulTWp1EaOQDbSj0GGdbgOl9DBxxXHPLijKWnvXhn/TrxUuQyyhvqNFRbq2jVeRFJ+Mxg= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61fc014c-99a9-412e-0c88-08d71f3067c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:45.8144 (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: W0U8NWRNlQ12ehnFdsvyvLKIdlST48lxQeq5RHQ9ccl2Xtlp4hunP8DDpxJ/wVV8FeEByVSnYTL4FkUy6mSLEj/mycbJ5oLWHyxM6IAznU4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072155_737170_C4A823DA X-CRM114-Status: GOOD ( 11.05 ) 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 X-Virus-Scanned: ClamAV using ClamSMTP This commit adds UHS capability to Toradex Eval Boards Signed-off-by: Philippe Schenker --- Changes in v4: None Changes in v3: - New patch to make use of ARM: dts: imx7-colibri: fix 1.8V/UHS support Changes in v2: None arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 576dec9ff81c..90121fbe561f 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -210,9 +210,16 @@ }; &usdhc1 { - keep-power-in-suspend; - wakeup-source; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_cd_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz &pinctrl_cd_usdhc1>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz &pinctrl_cd_usdhc1>; vmmc-supply = <®_3v3>; + vqmmc-supply = <®_LDO2>; + cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + disable-wp; + enable-sdio-wakeup; + keep-power-in-suspend; status = "okay"; }; From patchwork Mon Aug 12 14:21:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11089969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5364A746 for ; Mon, 12 Aug 2019 14:29:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4237D27DCD for ; Mon, 12 Aug 2019 14:29:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3645E27F7F; Mon, 12 Aug 2019 14:29:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C365827DCD for ; Mon, 12 Aug 2019 14:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=5W3cTfUvxkPxWWwJ19qyI1dhuzH0I5h7OSuszeKFFGs=; b=DFvrUnvptL0NQc fwMHLbUwSxVWu483RqCKLZ8gQMqX+d4yJFJRdxwp0OyQZi7bHUn6yjv9rQKsJjEIh9NojBzyIFysf L8QhFXJqIm/Ba56bD3nktBtDfLojsHRL9GifJb0O2+1Tr28Q797THgUmHym+ug5TD2BA/Dw8P8eUe Oqi3vqkEql4CVDlszORHnNvVLDYK9FkTpQ2Bjyj//t4oAH6XcnjH8XtdCU/MerphRAc62ydrf8wvB nTImaldKqDNdvPlLtH/aiYjnQs8p3OTdhPQgjveCoi7gMS6y89yR3cn7/WRjs8IaCvGTM7qCCvt71 7bslj03TnrULuskvNmZQ==; 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 1hxBJj-0008S3-62; Mon, 12 Aug 2019 14:28:59 +0000 Received: from mail-eopbgr150123.outbound.protection.outlook.com ([40.107.15.123] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxBCt-0001rJ-FL for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 14:21:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ajKnqoIuUDjrJKvRs2WM598i2cBf1iELCC4sgo9gPaSRfWF4kPJF0rAU+YJIKWuV/ZNlVp0M7wePvdtz+lIhb7KH3LKJVyrmJVn34DwRR2mq7bt021PLBP7Y4uVmn9Xx1kuKFaqytOTS/yntRR/VJraKXjhsXwDj8TSHgu4+y4CaVGNdGL5cobbFDZjIwli1KhLTk5v45NYqkLRBp7QczLHAq0k6Y7gZG4j8RefXc91MrCK1IJijKtA1LXq2usEe95De56HAAO5ZjfOcqM32ihNyS3r0lVc9+PvBgZPg/pCziEs51ijXFUtxISHXrPLr3tAs040w0HqhSof8KwI88Q== 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=8tAr1GIzPqc9erXN+gVJpeUYVqBdlaXWfA3rv6//Yl4=; b=HyNrA+4Yv2QA+xK74IAXI07VaTLlFs5Lkje5HI6aJrx0RzGfjs0nQO82kddDVZMDOpBftn8pqvctJ+4JKahCcI+vWeu5JYlzRga9qWzcb4b7WSOPYAiFdd3/i683knswcS6tV5UnNti2rJLaBkwN9RnOFWDGmF645iDP+v1jikIH3dzGQloZRzK6vFa8x/3XFkbKj/HVfqtapI9LHY8DW+dFkzPFt6Q350wk0TYE8QYlaASHkW8/y3yiJXTiKL8hT+p2La65knnOd+7dEMygxKJlXIun7LVdDv7oEn4o/MWzrnJuvUClJOaWTEHd9KDofBzl7OdjJ/9xL+K7/OUTIw== 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=8tAr1GIzPqc9erXN+gVJpeUYVqBdlaXWfA3rv6//Yl4=; b=aXXrZdqdwPxmYAKbeOIC6e1TD8bxykK+iUs10OiYGMIzAYbMnX0BN9dN66N8y+OHuAytP60MmJz7EaQP6C4wjYlozbhFXcBBUmPKmZjZeQahwUqSk+nzeh/wmUQPb+zYGHHfIGPaIwzZSybQPWFgcX7A0RZq7srQ5Ce+4Omg6fU= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB2942.eurprd05.prod.outlook.com (10.175.26.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Mon, 12 Aug 2019 14:21:47 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.022; Mon, 12 Aug 2019 14:21:47 +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 v4 21/21] ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hw Thread-Topic: [PATCH v4 21/21] ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hw Thread-Index: AQHVURlGJmcIK6KxnkK60xS6fTE6VQ== Date: Mon, 12 Aug 2019 14:21:47 +0000 Message-ID: <20190812142105.1995-22-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bec61211-e0a6-463f-aa50-08d71f3068a4 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB2942; x-ms-traffictypediagnostic: VI1PR0502MB2942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(1496009)(376002)(136003)(39850400004)(346002)(366004)(396003)(199004)(189003)(5660300002)(54906003)(110136005)(316002)(478600001)(6486002)(86362001)(2201001)(66066001)(53936002)(6116002)(1076003)(3846002)(2906002)(4326008)(25786009)(66446008)(64756008)(66556008)(66946007)(66476007)(6436002)(8676002)(11346002)(476003)(2616005)(446003)(256004)(81166006)(81156014)(2501003)(44832011)(6512007)(14444005)(486006)(50226002)(71200400001)(71190400001)(7416002)(8936002)(36756003)(52116002)(7736002)(305945005)(99286004)(102836004)(386003)(14454004)(76176011)(186003)(6506007)(26005)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB2942; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: PBPUIGfqklvjJtYGZGEQwJPWAuE9bLNT6VJsspJvXhZKU5kYdEK8vwkIeHBVTXAOHDHJ+AIZJHwP1hTiC/9v2dd5iHs6iSEwaNdDp2t2g27Xwe90dJtU7PVQTs8fZ2BN9J6dHlYnQhzbRptAYuuwOaefDFzRdAbCgy+3dbsguGsnlU4MvQh76jY3ilNLTcFajfpGRvUaz+zeLIcH23QttsB7wGVOhsB8xJ7mIpGTzVpgFVyQFlxcZkF9G2NevC+SXS6oe/kCsRt8hAOw7v0MMWchbP7eMDqF6gcAd5Dq3xH7zRRkgPVyPh0tcIeBLp0BvzUNMC0oiRyHg9Hu/+KB3D3TiyWGL66y62d1G7SxZzV4U4SBsvDdFBUTGAB/by+/x9GZJ/i0f63BpDPVZhiUssfnthF3+9BHjD2RKhV4RKI= Content-ID: <5E152F845EAF2941B1550AFAB2D71F5C@eurprd05.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: bec61211-e0a6-463f-aa50-08d71f3068a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:47.2486 (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: p2bR9RbEdhp23xGRWW9hCtsM/ok4FJnG1wDF4VsTOcMHysaRAlbYpzwSaqyA3mrTE504HoFoi3QqS6NtlARNqnoiLvuT9+0kaMQrjsA+v+g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_072155_730875_84631AE2 X-CRM114-Status: GOOD ( 15.69 ) 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: Igor Opaniuk , 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Igor Opaniuk Provide proper configuration for VGEN3, to make sure it's is always powered which allows that rail to be automatically switched to 1.8 volts for proper UHS-I operation. By default it's disabled. With UHS-I enabled: [ 104.153898] mmc1: new ultra high speed SDR104 SDHC card at address 59b4 [ 104.166202] mmcblk1: mmc1:59b4 USD00 15.0 GiB [ 104.173923] mmcblk1: p1 root@colibri-imx6:~# hdparm -t /dev/mmcblk1 /dev/mmcblk1: Timing buffered disk reads: 226 MB in 3.01 seconds = 75.01 MB/sec Signed-off-by: Igor Opaniuk Signed-off-by: Philippe Schenker --- Changes in v4: - New patch as of the recommendation from Marcel on ML Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 43 +++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 9a63debab0b5..0241613b5e2b 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -226,7 +226,12 @@ regulator-always-on; }; - /* vgen3: unused */ + vgen3_reg: vgen3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; vgen4_reg: vgen4 { regulator-min-microvolt = <1800000>; @@ -394,13 +399,21 @@ /* Colibri MMC */ &usdhc1 { - pinctrl-names = "default"; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_mmc_cd>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz &pinctrl_mmc_cd>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz &pinctrl_mmc_cd>; + vqmmc-supply = <&vgen3_reg>; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; + label = "MMC1"; cd-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; /* MMCD */ disable-wp; - vqmmc-supply = <®_module_3v3>; + enable-sdio-wakeup; + keep-power-in-suspend; bus-width = <4>; - no-1-8-v; status = "disabled"; }; @@ -706,6 +719,28 @@ >; }; + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__SD1_CMD 0x170b1 + MX6QDL_PAD_SD1_CLK__SD1_CLK 0x100b1 + MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x170b1 + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x170b1 + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x170b1 + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x170b1 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__SD1_CMD 0x170f1 + MX6QDL_PAD_SD1_CLK__SD1_CLK 0x100f1 + MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x170f1 + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x170f1 + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x170f1 + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x170f1 + >; + }; + pinctrl_usdhc3: usdhc3grp { fsl,pins = < MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059