From patchwork Sun Sep 2 10:08:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965058 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42387V4Js3z9sB4 for ; Sun, 2 Sep 2018 20:13:26 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726592AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from mout.perfora.net ([74.208.4.197]:46593 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726007AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lu5Nw-1fo30z0i98-011Lif; Sun, 02 Sep 2018 12:09:19 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 01/37] ARM: tegra: colibri_t20: move aliases from module to carrier board Date: Sun, 2 Sep 2018 12:08:30 +0200 Message-Id: <20180902100906.25792-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:Vi2OWs/iqy8ZAJ/PHvYSTdYj0taKa24vWvtqjSvu1Zlt/xvmfxn 92z56Ei+6csQ4OF4BmBVYYOOw55pmOHvavsVgaGPlns82b5qCN/XLCjq87QIcCUrTh9Kfri /8KQ3xGxTesjtSJ9+Pr2SJ2Jws74VuEQuv6dt0OaBSBxsfpAPdjLWZ4h1llHBdDkHK3+68i VRwNygDj0PD3EOugfZ2Yw== X-UI-Out-Filterresults: notjunk:1; V01:K0:TkgL0K6bBj0=:68k1DTQnPbreONBm1MNf2V mJPMvKiJaFQy/42A8O5GhMyThwRa7wNBbAzDqYhyVNpodxJGeKjJzlaN0Mz26vHmwjBTEvw5F VzWMhqk9+5fffrv9SIHKo6yenZBiWELTu31rnCgALtRrjwXoM7e5JhRgLPiiT6jRaYQXkgp5n xsCxQL1+F1daeYlft+9ilG22jCUVJyT2ulDlKL3Nbm4F6H+m/gGLOnK99qtnUeuUCKNPOpCHy uFrMypRVQMG+7vXaZbjj1bRt3kxc+Trj6fMWuB2AWTd17UyyeqLC1vONgLO66Z0dzhFEBg7Nt UV6VfvukRbJ2gZEHsFqSpqdMxMS30lCfcsy6mQ9pxP/UwuDL/tSW5ugvV1jU3tI+bAFn6BSEB WJPU7UCxtQpi/TzHvxf9kkKm7U80Bif08tzfa5Qik8tR51Afag0UIYJAL1VsG6S8YSx3EQsW4 OeEyiVbTZQfgCG8++sRqzGC+IFzM9E0qbVD5AyrxCx7Itueq5YHoOBkHN0nN36itOpHT44RE0 Mpcl30P6MGXDH2jdCoi/Qp/KxcD2DGc+rqtrQfdZQYQ5jSqJADX7y0y0t2iLrhAmHvGXGQzyy rqH4sPMUDxuqXvXmY26DZW4W8TLdXAinc45wpEvUG4uy1ghW/C+JjwuqZ6z5vNzJPRx8d+RS5 49mT/8LuW5NJpgZvagyQf4DfnYzYtKHwG384f9DcPC6R9zyPc67zoFV7wsXS8lzs2SLU= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Move RTC aliases from module to carrier board to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ arch/arm/boot/dts/tegra20-colibri.dtsi | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 57f16c0e9917..496b96e229d2 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -8,6 +8,8 @@ compatible = "toradex,iris", "toradex,colibri_t20-512", "nvidia,tegra20"; aliases { + rtc0 = "/i2c@7000d000/tps6586x@34"; + rtc1 = "/rtc@7000e000"; serial0 = &uarta; serial1 = &uartd; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index fa1af2dc276c..e34ab4a76158 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -5,11 +5,6 @@ model = "Toradex Colibri T20 256/512 MB"; compatible = "toradex,colibri_t20-512", "nvidia,tegra20"; - aliases { - rtc0 = "/i2c@7000d000/tps6586x@34"; - rtc1 = "/rtc@7000e000"; - }; - memory@0 { /* * Set memory to 256 MB to be safe as this could be used on From patchwork Sun Sep 2 10:08:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965057 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42387Q12kPz9s55 for ; Sun, 2 Sep 2018 20:13:22 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from mout.perfora.net ([74.208.4.194]:49981 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MWyu2-1gSJmO48EG-00W9uB; Sun, 02 Sep 2018 12:09:21 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 02/37] ARM: tegra: colibri_t20: iris: integrate i2c real time clock support Date: Sun, 2 Sep 2018 12:08:31 +0200 Message-Id: <20180902100906.25792-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:2CrJPLq4YGQShkgZOhukgdIfBxmHPK8RaxfyV9mjceh4w3kJRB/ y0Qg/2f6b/5K7fx4l6tF7kdy7X1jkJMITtnnXyXxM3boM7ecJ80+tkdcNr2n8QS/W+Vepla YNs5r4I8ErPLQUBg3f4cbcqxYejdgvjaTHHd0JzB08LCJXe5/5qkTYHEdoAgZsVnP6mZTKs JAoNZCJTp3BSy2DcXd+Aw== X-UI-Out-Filterresults: notjunk:1; V01:K0:F8tsQhmAkUs=:/mPuNKoeaJGqNIznNgEjnZ a2cpXalr/c6vwN5xOBtAsMaFT+euDe5hpw4Ht7PFQuUSC2wn5Ko6WWYnDjnngHOKmrK2r34Me yx9Y2+u5392lXUIycvz4BQDpK2ZiXPz6HH7H/Nszbiir1N9kDmbHUz9AJNyiQGpnLBqO+hdIs PWX3AbE/WHN6LGIFtYjqe+kfgCz+smJGBedXqY66O8yN4d9F85BQPxg5BBjHB2AiPeCvexny0 +XihEJuu7BFT71Zp/4mAIXvzYdosU8mtZNef4L9b9z2m52d/6jE8MTAk0lCwYMRk7CQ4l0n3X 2UMejmt0Al7L8lUQiio+c2YhwS6r+aFSpw8XVRg86o1TkYWNRavoocTeJENiPtialV+7j5Uij CmuLhMeAUiUZTgei14iJBGwEVBZljyZIQ8kOStjkw/RV+TchpUr20IZV12nPl5UfraSHDgHF0 ZpkJ40HTeLsSCpnTjU9GKOa1HpzOK2/jUIaePD/HV5wTdKcnnbSuv31z7AfDEQ7Tn8UMBi15Z KMIzqxO8lP7/cWCkQHq83qPL45rhKtedUZnsXZyIzy2PZDJTzv14NDFGLCIG97h7kwm0/cEiF jO4fRYK3I5j2OiWbJGFwtg8XZz7FPlPB22WLxHv/+n7g6UrDkCEwjOTMcBDdaG2u6kSUEw0h3 orxJx35K9j5lfNo62R465lQ/gt12fFY8SVdcjLyRwQHRuwXWu/MuL1UKOgkOeXfWyyWU= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Integrate support for GEN1_I2C aka I2C_SDA/SCL on SODIMM pin 194/196 and the M41T0M6 real time clock on the carrier board. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 496b96e229d2..b6d05da8c93c 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -56,6 +56,21 @@ status = "okay"; }; + /* + * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier + * board) + */ + i2c@7000c000 { + status = "okay"; + clock-frequency = <400000>; + + /* M41T0M6 real time clock on carrier board */ + rtc@68 { + compatible = "st,m41t0"; + reg = <0x68>; + }; + }; + i2c_ddc: i2c@7000c400 { status = "okay"; }; From patchwork Sun Sep 2 10:08:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965017 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4238354h0kz9sBn for ; Sun, 2 Sep 2018 20:09:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from mout.perfora.net ([74.208.4.196]:36033 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MTylj-1gMZ9f3Kfx-00Qv6Y; Sun, 02 Sep 2018 12:09:23 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 03/37] ARM: tegra: colibri_t20: iris: add missing aliases Date: Sun, 2 Sep 2018 12:08:32 +0200 Message-Id: <20180902100906.25792-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:Sc+3WyJNCL8r4LXngrUNt8LQgQXdFy/8lsiLo6WI4RiwQTg1K3h yyCrj2L2FDmwFCYV1ojjPQpZ+l/ilIXDtB5WEAJd/oOvgKpAZfv9pTv0LVJeN/ZTFQ69UYz cYj4ApM9LKC6xEURU1PnhD5HK84S074pxVe1/aFlPReePpa+bS9I6PmEBtbm0VtpxBYJGap fnkJnexspGK/FoRpe4mwg== X-UI-Out-Filterresults: notjunk:1; V01:K0:yJ57BCTREmQ=:cNOiiyuxa5A1tU7STo9Ww1 y1ijC1c6OcN+5xfsOBs/KM09Yb13XQ1qpvjPD9QD3cY/aqp4lXSnAsEFQ5lbv2HM5xI22CYRB aF4EwSQ1AtDS72si2P4EyGVkfTRCQSZB28J4phVe5l9R/U+a8HGFChIjrAKZ/gqlVtsH2hSLZ 7OtUArVQIt39b7avOl9Tx7BiFgc21/40Ev45/e5QNO2msBZjdaihkUdGCerp2dcHG1jOir2sx adGqnzuDtwPZc7/jPe0OPOKB7+SZUNyQ99J/w04/82BVGHNWuVZwHivRH28xEFI28/5NCXFgn wsosWloIXPMjF40OrNJt1UpQHM9LRgPbUZJ+roiX5UeXNu3/ULB0ZQ6myh0IBq+7fm/RzK48q PV+iQ4tY4O4VdnrTnvUedNZOzrHu/TT90bXbV01EOiqzAWyXnNYgTMVgnfoJ0p1cL2K8ZcjOg lM39Di5znNR916HOZg2RXdzCoGDIHTORs61mpgQVPkyVqOEOEZTV7NPLu9NdB63KyJFQ2LVf7 norzVnXz9ZsaFseY8v1XjSRodWlHBJu/jBJPBR8jRsuwi0XAiyCl9KqoPb6qV37JKCyqssULd ra+rJ4QMQh03XWLd9n1zYcDKugXAPK9dxZGnLTF4VW4t/hO0iZdRokEi0cNNGg5oLYy4DZcJ4 Ttl/6E14pzJKRVixx/7XOmkq9MCSsmKggfNGUOYJ2rHeHh8JNrZJDO+nVZjeWrqmzzEk= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add rtc0 being the ultra low-power I2C one as found on the carrier board and the 3rd UART being NVIDIA's UARTB. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Fix commit message which was mixed up between "[PATCH 03/31] ARM: tegra: colibri_t20: iris: annotate i2c busses" and "[PATCH 04/31] ARM: tegra: colibri_t20: iris: add missing aliases". arch/arm/boot/dts/tegra20-colibri-iris.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index b6d05da8c93c..cbf1f4d76813 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -8,10 +8,12 @@ compatible = "toradex,iris", "toradex,colibri_t20-512", "nvidia,tegra20"; aliases { - rtc0 = "/i2c@7000d000/tps6586x@34"; - rtc1 = "/rtc@7000e000"; + rtc0 = "/i2c@7000c000/rtc@68"; + rtc1 = "/i2c@7000d000/tps6586x@34"; + rtc2 = "/rtc@7000e000"; serial0 = &uarta; serial1 = &uartd; + serial2 = &uartb; }; chosen { From patchwork Sun Sep 2 10:08:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965056 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42387M53kZz9s55 for ; Sun, 2 Sep 2018 20:13:19 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726006AbeIBO21 (ORCPT ); Sun, 2 Sep 2018 10:28:27 -0400 Received: from mout.perfora.net ([74.208.4.196]:40303 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726195AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MBkrR-1g5RTf2i6J-00Atci; Sun, 02 Sep 2018 12:09:25 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 04/37] ARM: tegra: colibri_t20: iris: annotate i2c busses Date: Sun, 2 Sep 2018 12:08:33 +0200 Message-Id: <20180902100906.25792-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:N5VI6ED0bgo1ychLu2RYpGLSF3MYxsdOwKDjAtU4mSl3S1iSyLB E2dKwxlIMCD9CmXmKpStLGojtONeHKRLbnDuag5so/fXv1ET9CTgZZfHDEgLKegEKKBL96w +ruOn4BpMQr1kE5glMM9DXpou+S2NHaiBWnf7NRKv5ap2ar76wSjP78w2sUFiVREJHEkk3C zystico2pGwH4tFkLOAzw== X-UI-Out-Filterresults: notjunk:1; V01:K0:m3os0d+0hlc=:OQuD1n4oKS6Re7Gb6ZGGlS 7sNXxhQLvqONQobeXt1xxezMjWKt1b0D7cvNc7fv2TbZh9bIivigaowCN/qywHIKBLDzOEO78 W9O4CxF9P50E8b3P76QI8DW0SzVYKyznhREHli1aB1aU/jc88XNsc8MCaI66qHC/gFnEiroQ4 LYaBfKgmmeF78exUeHQ135nnAr+leyR5nbC3Tg5j1C5z3LQG562/B9H7E1ftK5w1ph7SCT0EC QVyMlP7AQYQ9tCWh1wTLpb9bhjSmY2i6kHBoq1qWcY8HUvzycbAg9ivNjENQkdWO5VWh2GQPB 4kLBtAfZif6T8Z9mhWuPnqAihkZY2ZTKs5UKXrorI8LPfY3G6Oh+HcQufEe1HlI1gr4RqD+UN RG7f7qEAAnoivl8NYXt3teuE/fLDzb+lN9nfE/XCYulIGdPerJrps4ZuJZUzXS/xlWmeFXSjf QuAItDGdi+qYQyNKzKcGoQ5Ixa5mijsDBgLBdlGC3fxhPAEjRG/NE/yDk/z1DgofMQ52jf556 JBa29uK1a2LUhQHyT1EdNPt7RbMn4HIuYtpJuxQoLNucLlxF4Zis5E6pRBsQ/+Ux9geVpTAGO 3WZDZz6t4XY4noJXSU8+5LpYtTryro+qUbKiKOQCyZD4yXqI69DBqj9MBsz3nNnLROgqXvhFy Mf6nRxvbS9Seqt4oZhlfiBOD3TRrj9hLgnMuAFR5XeuppSacB+O8WX5HpUeAMqvaDGVw= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Annotate I2C busses: GEN2_I2C and CAM_I2C (I2C3) being unused and DDC_CLOCK/DATA on X3 pin 15/16 e.g. used for display EDID. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Fix commit message which was mixed up between "[PATCH 03/31] ARM: tegra: colibri_t20: iris: annotate i2c busses" and "[PATCH 04/31] ARM: tegra: colibri_t20: iris: add missing aliases". arch/arm/boot/dts/tegra20-colibri-iris.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index cbf1f4d76813..cc9e372a3b58 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -73,6 +73,11 @@ }; }; + /* GEN2_I2C: unused */ + + /* CAM_I2C (I2C3): unused */ + + /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ i2c_ddc: i2c@7000c400 { status = "okay"; }; From patchwork Sun Sep 2 10:08:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4238766F2qz9sB4 for ; Sun, 2 Sep 2018 20:13:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from mout.perfora.net ([74.208.4.196]:45011 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIBOYr (ORCPT ); Sun, 2 Sep 2018 10:24:47 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MPnbo-1g0Enk1ssk-0056rJ; Sun, 02 Sep 2018 12:09:26 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 05/37] ARM: tegra: colibri_t20: add local-mac-address property Date: Sun, 2 Sep 2018 12:08:34 +0200 Message-Id: <20180902100906.25792-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:mRtjbxPOI9lB9IcH8jzIDaVHePlJVbbocP9BlJJPQrnml5Hj3rM m9663xzHGcsx5UmFRGKhNRRRKcRHMLfsCQ+y0GRee8QeXMAYWkFCw1Jjqe2r+uecZ7vpawx Da4SmxgH+FzAz6vAdGsSMKyrWfRFdJRxLhzAnXTt3+dyC177SLUD6qWQ96w07KyKZjtUl7+ v+44JCQieMQPKTpaxr7Ag== X-UI-Out-Filterresults: notjunk:1; V01:K0:BiizVfONw1o=:ebjCU0AbXcGLL7QGHP7jKl GRNxGGZV/2YfG6zhNb+9w5A3yFy+iFsuDi9gvD6k6u5FTaJ+Iyd/p3j6is7sAsG8Nx0jPLxrx 6GXmDjtbC32YPDgDyemJ59JmhXsShnQVRKnjEbva524x3EgchEL1QFP0bBn3uWxZZ1FySsDbx C/TRkz4lZeETEifZBGMWcq7Pq6bMG9l2HBjq/kyezLj1vlnbp6Fyh3XHkxTi38V0G0xZDAXpH BTb5iaxItsVK4hyZeL7uUJf3yzTDrpc7u3wXby4Qi7ZjCkNMjlR79Nwhz+vEI9t4cnDXcF47h Z+eUm9sQUXOhg/l+T95jbjc3HLHXS5qXTIQp2Z9W/3rhfpcaraFO2FpwUGHPoICep35gU4yo2 CskFDbZn+ZBpxak6TQ5aJzK+RzKVqPeStnYR8ZeEl0wWHwmqckyF6wFcEcweMDKZbW4tpHKY7 NHg4thAe5vTCRCd6jgkuxs5c1KDM01NI+Kxs7wBvgUkq8lX3GVqawBJlxlaHFc/+q2UKgHG3F U0D6hODcwS4XsrPxLLGX/lEJ0xUeOklQayLV5OoJrONCybnhZ7JVKz6gt1DLzsfpkl8ZgtO+k OB80S+vMXWcgUzXp68gzb2/KR133KPzZfW9THNoIxfg1DD/pKM1IBAjGHU3jyvUsJriBoprGy 0spfWmJVsTkEKcHyDoSoPeWwHFR86fKFfEZYy/9Lm1zTPVSYA6ecShqOMJQgsNicTmV0= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add empty local-mac-address property to be filled in by boot loader (e.g. U-Boot). Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index e34ab4a76158..ad816fa827f7 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -482,6 +482,13 @@ status = "okay"; nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>; + #address-cells = <1>; + #size-cells = <0>; + + asix@1 { + reg = <1>; + local-mac-address = [00 00 00 00 00 00]; + }; }; usb-phy@c5004000 { From patchwork Sun Sep 2 10:08:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965018 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42383C3PT7z9sB4 for ; Sun, 2 Sep 2018 20:09:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727320AbeIBOYt (ORCPT ); Sun, 2 Sep 2018 10:24:49 -0400 Received: from mout.perfora.net ([74.208.4.194]:54017 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIBOYt (ORCPT ); Sun, 2 Sep 2018 10:24:49 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LkRO1-1fK3Qh1EYV-00cEc4; Sun, 02 Sep 2018 12:09:28 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 06/37] ARM: tegra: colibri_t20: reorder host1x/hdmi properties Date: Sun, 2 Sep 2018 12:08:35 +0200 Message-Id: <20180902100906.25792-7-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:62iGRMyDyym8n89QcflXkS5CDneheH6iJSW40xSk3FQK140P9hU wzxDtlZkHE/t3T/xZPpVQOFB8ka/ZaJCtYNW0Cmhg6z4TU5P0wz+tPSxjItcpcVznfkGP3l Fcua8M78bbXEqZMyVWkSMc1ghVtZrLQvLp316l80CuZpJ3UakpENUxOhk6QmsvbLe9CiS9o +3RT47bxJETGzGms51Pdw== X-UI-Out-Filterresults: notjunk:1; V01:K0:qwtyShX0G6o=:jbOnc5bgAFd8J7+V/PbBG1 RUXGlLc3bCN4cxNYr/kuTEfVhkTtTjqwoM1H9ULw3q5lr+rGGcIocJdXOZlDbIxDqAvhzyYJG wPKVVn3d93V3mC6BxeV6L3r4HrgItTy4IjspzYE9oktcliz3dU/2spvT4IOpfycNasmuUjncz JHuu2/hk6ts0HKIs7R5zaXJJCayT9gCWjNd1KXt4NDTfKUYagH0KNhA31gp1blJOe2D/TXBsQ EXM9KtK574dS3uD+ILAM0ReZuk/lAxgK15rCpeg6txxLhqDk76U9xI76klg9D2DirQekRm+sa 1EL15XBLlJ1pGmS01p40uesDYE4zRhsuP4NABBv8NGpprJeMB/gh0f3vR5VnOnFr0f0tc96Xh ucwqacJo9UznbV+2UXrVt2UlFcc5FyriQETkVC5H/o8HpmCUl9yUBLlaXsqEUnoJ2ANTh4gep /EKNPWnXeVLxcBPTqHafM39m2+Q9RYVwAqzdyk1NfySfwzTV6k/0n2o7WbBiA7vXeuz2fTYL9 dAH0M80fWyQp8aBg7w5lP0KbvMpFUqTTR9TuIj8SWvwsCKTOgpfo0lst+IzVAu+IjOowpyAZk eiw1sWZIBGLu+ElJP4fYWSBRUbgkeIODb0WpC/Ohw1POIqfNIoWeqfsy90jc/VaRu6NmOp3sw n6wozbRj374eIEC2o3cdJ+WHsouMJ2p4t2YQXYNqVZKHwBld57gbmG6x1+RLHwWbaV1g= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Reorder Host1x/HDMI properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index ad816fa827f7..c060b58cb490 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -16,12 +16,11 @@ host1x@50000000 { hdmi@54280000 { - vdd-supply = <&hdmi_vdd_reg>; - pll-supply = <&hdmi_pll_reg>; - nvidia,ddc-i2c-bus = <&i2c_ddc>; - nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) - GPIO_ACTIVE_HIGH>; + nvidia,hpd-gpio = + <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; + pll-supply = <&hdmi_pll_reg>; + vdd-supply = <&hdmi_vdd_reg>; }; }; From patchwork Sun Sep 2 10:08:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965052 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386q26rhz9s55 for ; Sun, 2 Sep 2018 20:12:51 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727364AbeIBOYz (ORCPT ); Sun, 2 Sep 2018 10:24:55 -0400 Received: from mout.perfora.net ([74.208.4.196]:52281 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIBOYy (ORCPT ); Sun, 2 Sep 2018 10:24:54 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M0SMt-1fdMxy0CNB-00uRxG; Sun, 02 Sep 2018 12:09:31 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 07/37] ARM: tegra: colibri_t20: iris: use no-1-8-v Date: Sun, 2 Sep 2018 12:08:36 +0200 Message-Id: <20180902100906.25792-8-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:ATbCNSWWxOLk+/u0AP2n9VnC1xxkAcjPhbXa1fGbYQExntTAU/S p6dIFPkeyDX4RqEHFQHWdN3Ym1xcvQXoVRZ+cThGEOJyWDnAlZPr/m+TQLOHvY6VEFi0t+q Cws2Zobwai5jjVb5O2CWkmPUMzjZGScyp1MuEWL9hTPRRVznDuVJurcQ0LXCR3EjjClrKuK ikS9Moh6yHveBth99/PaQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:RwGEPPjG5UY=:s8D2fHxi/jUWB7Yb4Tg5qn BdZdMNHKrWISv+MDDrClRXUotDxdPEU++uvlmuNVc47EEEpvFCv6spaCaiQloIqJWU6DU/M+C 2R5uqQ/HgIOyZckdhWXO3Nk1SEax5D1c6ib+82g3u/l0bBwy5nUUecGjcQ2KvJiX0il1+U5ZU DCKTaDf48MaqXEOw5bplHjDULv6Tm0/M/AWapMlg5aqr+LVN5olL6arLTt+GGOUuYfM0SiRw0 N9oVgyZ8d/9i4NrZp4ZnyYAzU9MA3+xcJVeZsgEFr7xtqrkLsMdYAkU5QR2w3xiBU9vc5VwUq wuX9iphJXeKxEAug12/deVFI8ThIxRC4VKJeNCjXp8wICwq5/JjJFPb+uNagJmAFlH9M/ug+A HsAFe8mVOwtonBC00HABVbYthJToE7Ppw6CQwyTewNZYKcgbt/qXmmjrjgrxErc1FFLXDB5jI i34DV43D3msEywMnLRHuIlzqwGMbVKXymKKjk9wxGcawwagFr+Q8QopSUp3+mbf9+edBGRCZm 1qN9KGnu2sjjFs5mcDo3TOG37fwN9rK3wXmrrcJjzkCALoC/0F9BM3GyuhaBfeBHLuw1vnPRT XrVumy1HUEcStkeiq/a48hRIgckTdhU4KlWCUFKsNFSx5StMdzfRfLn36twe7j9UYPvMIaYj3 QLf6RHvqiI7xPnk+P3AiqIDJDXwAKmewY9vFRPRz5q+SUQbiEPh2n5GAu5ckoXPaNfBQ= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Use no-1-8-v property rather than vmmc/vqmmc supplies and drop now obsolete and anyway non-existent vcc_sd. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index cc9e372a3b58..3d430fa93e8c 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -101,8 +101,7 @@ sdhci@c8000600 { status = "okay"; bus-width = <4>; - vmmc-supply = <&vcc_sd_reg>; - vqmmc-supply = <&vcc_sd_reg>; + no-1-8-v; }; regulators { @@ -116,15 +115,5 @@ regulator-always-on; gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; }; - - vcc_sd_reg: regulator@1 { - compatible = "regulator-fixed"; - reg = <1>; - regulator-name = "vcc_sd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-boot-on; - regulator-always-on; - }; }; }; From patchwork Sun Sep 2 10:08:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965050 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386c0dLMz9sB4 for ; Sun, 2 Sep 2018 20:12:40 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727389AbeIBOY5 (ORCPT ); Sun, 2 Sep 2018 10:24:57 -0400 Received: from mout.perfora.net ([74.208.4.194]:48293 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIBOY4 (ORCPT ); Sun, 2 Sep 2018 10:24:56 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MZF1O-1gCylU3gyq-00L7Gp; Sun, 02 Sep 2018 12:09:33 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 08/37] ARM: tegra: colibri_t20: regulator clean-up Date: Sun, 2 Sep 2018 12:08:37 +0200 Message-Id: <20180902100906.25792-9-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:R6LwcoO0MArNKgFsvF8Z3pqyO9Bf5KC6ngluFs70SO9ZsUHpgiK nZe5fWX31y++lMzt2G96WgqZZQRiova/7wvqpxijviH/uRYhVJd5MClPoc7XMRu5EdodvYW EgcTnTP+E37A1xfn0/+KLNR1liqu5O5lxxObfWhlM96yIJUM7VMuNJ0ly9Efs5nChScF0eS U61YWSbjdt9GF5DjWblGA== X-UI-Out-Filterresults: notjunk:1; V01:K0:PHjGxll6FWs=:L0qy3YuznGiu2OY5OvB4Xh 45sm5V4OQXqJj6qYdzGzFhPYAAavxmrMaYjw+eeZDKASVa4xYP/L7Mfa9RbLONUZgeJeGKQpT kepr6wKKpgSXF8Mv3Z98TKFsYj5WnANDBLsYsZE5OiDSorpLTIQVi5AjEAde6lcoBzAYUwv2L oo8ygdjdnrWrwAjAkmo9n4EJg+3B2i0C3glbi0DrWzs1fqsGpI5jvSYe/ogdi3VnSQ0AW73bl wtiGxh2vDh+A/V+pFdTN1/mTJojl6wbXxq9LJOsd+BM+All0i8xD+4sId/lNbwBIsPZ2ongNl WGUBI2Dn5W10PwBgvaa1tu1feLkLUv9ayDCS1Cdj2IEOKEglonkWl/FPP0djSM9NPIRv6EwBi FlseJEsAkScsewr6neudLjULEfN2GsklXiJqNWrKH0A7jNLojtxuatT2El7NzdFAt5MdLy5/X 2M6jteCKVOq/2ZDpvivcEnUtUqpWjpqnowzzU9wzyOsuhx4TNfw3Vr8oY+yGl8v8lN5Yz1Uuk w5FNSxqmBbtLTmg2Xu/VeO6/wQRDmLsihuLugvRU/myAXIPL29sqrBA1N3EqC839ZrPDcuEAO OzV4dyzZRAzzTElmAq1EOjvxI4XoJXIp/GZ630olH11InztZE9o2ArK7kgrO/LUeTeU6VBsPL vxdFnyqQP6QNUN5lRT0nfRUfuo2L6dkCXCvgvatL2tRt+DD6b1QNxm8wCAMQ1opDSDk4= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Just cosmetic regulator clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 20 ++-- arch/arm/boot/dts/tegra20-colibri.dtsi | 147 +++++++++++------------------ 2 files changed, 66 insertions(+), 101 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 3d430fa93e8c..6f89a417b0f2 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -104,16 +104,14 @@ no-1-8-v; }; - regulators { - regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "usb_host_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-boot-on; - regulator-always-on; - gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; - }; + /* USBH_PEN resp. USB_P_EN */ + reg_usbh_vbus: regulator-usbh-vbus { + compatible = "regulator-fixed"; + regulator-name = "VCC_USB1"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; + gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; }; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index c060b58cb490..1cf64f197c08 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -19,8 +19,8 @@ nvidia,ddc-i2c-bus = <&i2c_ddc>; nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; - pll-supply = <&hdmi_pll_reg>; - vdd-supply = <&hdmi_vdd_reg>; + pll-supply = <®_1v8_avdd_hdmi_pll>; + vdd-supply = <®_3v3_avdd_hdmi>; }; }; @@ -260,49 +260,38 @@ #gpio-cells = <2>; gpio-controller; - sys-supply = <&vdd_3v3_reg>; - vin-sm0-supply = <&sys_reg>; - vin-sm1-supply = <&sys_reg>; - vin-sm2-supply = <&sys_reg>; - vinldo01-supply = <&sm2_reg>; - vinldo23-supply = <&vdd_3v3_reg>; - vinldo4-supply = <&vdd_3v3_reg>; - vinldo678-supply = <&vdd_3v3_reg>; - vinldo9-supply = <&vdd_3v3_reg>; + sys-supply = <®_module_3v3>; + vin-sm0-supply = <®_3v3_vsys>; + vin-sm1-supply = <®_3v3_vsys>; + vin-sm2-supply = <®_3v3_vsys>; + vinldo01-supply = <®_1v8_vdd_ddr2>; + vinldo23-supply = <®_module_3v3>; + vinldo4-supply = <®_module_3v3>; + vinldo678-supply = <®_module_3v3>; + vinldo9-supply = <®_module_3v3>; regulators { - #address-cells = <1>; - #size-cells = <0>; - - sys_reg: regulator@0 { - reg = <0>; - regulator-compatible = "sys"; - regulator-name = "vdd_sys"; + reg_3v3_vsys: sys { + regulator-name = "VSYS_3.3V"; regulator-always-on; }; - regulator@1 { - reg = <1>; - regulator-compatible = "sm0"; - regulator-name = "vdd_sm0,vdd_core"; + sm0 { + regulator-name = "VDD_CORE_1.2V"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-always-on; }; - regulator@2 { - reg = <2>; - regulator-compatible = "sm1"; - regulator-name = "vdd_sm1,vdd_cpu"; + sm1 { + regulator-name = "VDD_CPU_1.0V"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-always-on; }; - sm2_reg: regulator@3 { - reg = <3>; - regulator-compatible = "sm2"; - regulator-name = "vdd_sm2,vin_ldo*"; + reg_1v8_vdd_ddr2: sm2 { + regulator-name = "VDD_DDR2_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; @@ -310,80 +299,68 @@ /* LDO0 is not connected to anything */ - regulator@5 { - reg = <5>; - regulator-compatible = "ldo1"; - regulator-name = "vdd_ldo1,avdd_pll*"; + /* + * +3.3V_ENABLE_N switching via FET: + * AVDD_AUDIO_S and +3.3V + * see also +3.3V fixed supply + */ + ldo1 { + regulator-name = "AVDD_PLL_1.1V"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; regulator-always-on; }; - regulator@6 { - reg = <6>; - regulator-compatible = "ldo2"; - regulator-name = "vdd_ldo2,vdd_rtc"; + ldo2 { + regulator-name = "VDD_RTC_1.2V"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; }; /* LDO3 is not connected to anything */ - regulator@8 { - reg = <8>; - regulator-compatible = "ldo4"; - regulator-name = "vdd_ldo4,avdd_osc,vddio_sys"; + ldo4 { + regulator-name = "VDDIO_SYS_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; }; - ldo5_reg: regulator@9 { - reg = <9>; - regulator-compatible = "ldo5"; - regulator-name = "vdd_ldo5,vdd_fuse"; + /* Switched via FET from regular +3.3V */ + ldo5 { + regulator-name = "+3.3V_USB"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; - regulator@10 { - reg = <10>; - regulator-compatible = "ldo6"; - regulator-name = "vdd_ldo6,avdd_vdac,vddio_vi,vddio_cam"; + ldo6 { + regulator-name = "AVDD_VDAC_2.85V"; regulator-min-microvolt = <2850000>; regulator-max-microvolt = <2850000>; }; - hdmi_vdd_reg: regulator@11 { - reg = <11>; - regulator-compatible = "ldo7"; - regulator-name = "vdd_ldo7,avdd_hdmi"; + reg_3v3_avdd_hdmi: ldo7 { + regulator-name = "AVDD_HDMI_3.3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; - hdmi_pll_reg: regulator@12 { - reg = <12>; - regulator-compatible = "ldo8"; - regulator-name = "vdd_ldo8,avdd_hdmi_pll"; + reg_1v8_avdd_hdmi_pll: ldo8 { + regulator-name = "AVDD_HDMI_PLL_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; - regulator@13 { - reg = <13>; - regulator-compatible = "ldo9"; - regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx"; + ldo9 { + regulator-name = "VDDIO_RX_DDR_2.85V"; regulator-min-microvolt = <2850000>; regulator-max-microvolt = <2850000>; regulator-always-on; }; - regulator@14 { - reg = <14>; - regulator-compatible = "ldo_rtc"; - regulator-name = "vdd_rtc_out,vdd_cell"; + ldo_rtc { + regulator-name = "VCC_BATT"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; @@ -513,31 +490,21 @@ }; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - vdd_3v3_reg: regulator@100 { - compatible = "regulator-fixed"; - reg = <100>; - regulator-name = "vdd_3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; + reg_lan_v_bus: regulator-lan-v-bus { + compatible = "regulator-fixed"; + regulator-name = "LAN_V_BUS"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>; + }; - regulator@101 { - compatible = "regulator-fixed"; - reg = <101>; - regulator-name = "internal_usb"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - regulator-boot-on; - regulator-always-on; - gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>; - }; + reg_module_3v3: regulator-module-3v3 { + compatible = "regulator-fixed"; + regulator-name = "+V3.3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; }; sound { From patchwork Sun Sep 2 10:08:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965051 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386m4B7Nz9s55 for ; Sun, 2 Sep 2018 20:12:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727295AbeIBO1z (ORCPT ); Sun, 2 Sep 2018 10:27:55 -0400 Received: from mout.perfora.net ([74.208.4.196]:59505 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727357AbeIBOYz (ORCPT ); Sun, 2 Sep 2018 10:24:55 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MJV9h-1ftOFR2j5n-003AuW; Sun, 02 Sep 2018 12:09:35 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 09/37] ARM: tegra: colibri_t20: add missing regulators Date: Sun, 2 Sep 2018 12:08:38 +0200 Message-Id: <20180902100906.25792-10-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:8Lal8Tu61boKioVqeCyCu74CsD+so6DpS51tQ/mQ8FBaXYWqMWP 2IqbV+4D9BXKsqeHUMxfLPoW7oyfSLCHOQn+5qwAOFhRS/6LdO5LSVU1GGrJszIvM0h8yq2 /jEZzE0WSY1XmWPmW0F3M1dZSiwn7f4TxGbDYb2ACWI+3B/CQqcLbe7x/qGxi+oWFCwOhXA r4QAcWiNr70TTqR63uBBg== X-UI-Out-Filterresults: notjunk:1; V01:K0:axr7QiYHNqs=:HmTg0TjaqYoOjtHh28UYjx dXW8tGRHFyPdKlvqVba/BgeGA0vhp5gRjDvDlFcWoWZuOCxWT88aRrhZflvq3tSOwypjdMPMd 6LZf418zzK9jO4miSQkoWz46B2GouljvDyQL1N6f0P80ZdyXTlV9H5ezpjEi7RuErcvcUZ/38 9EWFUUAB7uUS2491tgmI+M3IYhdIK4Y6lErIIMS4KFGBpwDror7opGBSClfxtQ/mX+4Aek7d4 VcLBhQPaO/y0WV2H7L1xcKdBsMQSqXZGm7aEYiBuIOPunU4FzJKZWL2VTaUOr7WTzf7eJ3p7f bt12MXpcZuDUSfAwtMIQUIjQmmf8QFoUmOwsCapj47qlQfjOA6EC9xR1y5eNC7aT4TYfdqNOy l5Hxpm+fLuKzR6idFbuPg/y2AEsFy+/9PM2xIdo6mD2i9GLrO0YZDxqCrBEyo6uaIO4jn8K4e IV5hxfh3sxI5QSVrfUpJpZklBUbT3EuQkuvTWYRpD5EJ5bJ8DwM6UWHqmLZ8rwszjTw3rDoI4 dKtx7mg6rMkgsJy4GuWOON+fFkA0oQ1KHhS6cWi//10Xw3zuNSsrqaxvybZsP8sKKcTAGueOu 7/ozyva/blcIYK6U1A5TuqeaW36ITbByTPeFxLZBrBFiDvjVQY3GKej5BjMvzFeOwZoAt9Hhq ZD5pp2jjL3CYmNtFUoWQdkcOeA9vYgDavhhK1Ro/xUU7yKQW9mI3n5MXVYlLh2PcJY04= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add missing regulators: - reg_lan_v_bus being USB Ethernet chip vbus supply - carrier board reg_3v3 to be used as backlight and panel power supply - carrier board HDMI supply being reg_5v0 - reg_usbc_vbus being the USB vbus supply of the EHCI instance 0 Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 28 ++++++++++++++++++++++++++-- arch/arm/boot/dts/tegra20-colibri.dtsi | 1 + 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 6f89a417b0f2..9f0a819c68f2 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -23,6 +23,7 @@ host1x@50000000 { hdmi@54280000 { status = "okay"; + hdmi-supply = <®_5v0>; }; }; @@ -88,6 +89,7 @@ usb-phy@c5000000 { status = "okay"; + vbus-supply = <®_usbc_vbus>; }; usb@c5008000 { @@ -96,6 +98,7 @@ usb-phy@c5008000 { status = "okay"; + vbus-supply = <®_usbh_vbus>; }; sdhci@c8000600 { @@ -104,14 +107,35 @@ no-1-8-v; }; + reg_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + reg_5v0: regulator-5v0 { + compatible = "regulator-fixed"; + regulator-name = "5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_usbc_vbus: regulator-usbc-vbus { + compatible = "regulator-fixed"; + regulator-name = "VCC_USB2"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <®_5v0>; + }; + /* USBH_PEN resp. USB_P_EN */ reg_usbh_vbus: regulator-usbh-vbus { compatible = "regulator-fixed"; regulator-name = "VCC_USB1"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - regulator-boot-on; - regulator-always-on; gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; + vin-supply = <®_5v0>; }; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 1cf64f197c08..5e98f225322b 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -471,6 +471,7 @@ status = "okay"; nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>; + vbus-supply = <®_lan_v_bus>; }; sdhci@c8000600 { From patchwork Sun Sep 2 10:08:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965047 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386L1CNQz9sB4 for ; Sun, 2 Sep 2018 20:12:26 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727477AbeIBOZD (ORCPT ); Sun, 2 Sep 2018 10:25:03 -0400 Received: from mout.perfora.net ([74.208.4.196]:54481 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727449AbeIBOZD (ORCPT ); Sun, 2 Sep 2018 10:25:03 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M1HiQ-1fcY1Y1lfc-00t52h; Sun, 02 Sep 2018 12:09:36 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 10/37] ARM: tegra: colibri_t20: annotate usb ehci instances Date: Sun, 2 Sep 2018 12:08:39 +0200 Message-Id: <20180902100906.25792-11-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:YyRneP7pvhXRiCNe1PMJY4KpJChrbVvukGdNHb0ovinHjsVZE9/ NM7qXd6Ra8skBrGY8nhIW3rYJ7LHG//NTFsp2dZp/d6/tO041NcAmyYuaqfvbk1wrsOH1D6 7PRpuRiAzb8kRaeRA43HIXepBQsgx/vd1NG0f4odAJvKb3iemgxvAS2e/BwdpdGu1tWsZVg KOEdMRvfX6W1SVNbpe2rQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:KUSTm6CAfPc=:9+uJY81xSf4SOBR17BOmZt rap6TApQmtecv/8QvkLUTqoyGK23uGUqAewl1wNWO+9RmeJKWhVbQCP4ZhDCtJq4LkvfQI3Yv n3F2euAoI9z/3hU4tjbTNzmi/29aGbQjFtEp6HrbG5/DAET62m02O4eKkwCEjt66l+3j66dVz gOkggR3aG9JWTT2aCidxLp19tZjHW5iOtiZ7nvDJQINIIJHDpDRb+81PPZQpJ/1PrMLVM9SO7 KUHtcLKYrm5IJSQCQcIIrcTDadd8u1Q3BXi4pOMfz1hXn71gBu+lNp3aXKt87XNnqMk9wSFYA T6XiBz6jguiCGH2U1aCwwuonf5xSdeWIW8WdYwNbsJGfcJBmVCVnY9etBxa0saADSwQATN+yj autyAQFIITJMLzUPF5HOGu8QvIhfxzZF4rkA1MeNndXAz0NbMJaTdrFsDkYGL8vRRYkuzUS97 zHTTYw6dE1kOgklqMNltTqd35schC5s8MHzezgRuTAkOAOa4b8t2NQC55EWitLDbfimsPkSqP e1rF8JOcK2gsjelsYNtrofnGQHklnXRRYmpzG6+bCkVB5NecJutN06FP7DBoOxGdMMoqudV0j GuARFilj4C44sOwRanyZTIODCKcpSm0dYnUfO3XgtcM59fmomIAhKwYHEc3KTyUim4fTt9RHW Pb/izHvgTwUmrSkvTUrfsSSU+Vj9MsyIF4OerXPtqJsUXF32UaCM+7VAEtEctSPftGp8= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Annotate USB EHCI instances. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ arch/arm/boot/dts/tegra20-colibri.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 9f0a819c68f2..194f40646a83 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -83,6 +83,7 @@ status = "okay"; }; + /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ usb@c5000000 { status = "okay"; }; @@ -92,6 +93,7 @@ vbus-supply = <®_usbc_vbus>; }; + /* EHCI instance 2: USB3_DP/N -> USBH_P/N */ usb@c5008000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 5e98f225322b..77e99caf5606 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -454,6 +454,7 @@ }; }; + /* EHCI instance 1: ULPI PHY -> AX88772B (On-module) */ usb@c5004000 { status = "okay"; nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) From patchwork Sun Sep 2 10:08:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965046 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386F4sSYz9s55 for ; Sun, 2 Sep 2018 20:12:21 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727496AbeIBOZE (ORCPT ); Sun, 2 Sep 2018 10:25:04 -0400 Received: from mout.perfora.net ([74.208.4.197]:54835 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeIBOZE (ORCPT ); Sun, 2 Sep 2018 10:25:04 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M10Kf-1fcok115Rv-00uzv2; Sun, 02 Sep 2018 12:09:38 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 11/37] ARM: tegra: colibri_t20: remove phy-reset-gpio from controller node Date: Sun, 2 Sep 2018 12:08:40 +0200 Message-Id: <20180902100906.25792-12-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:TlNotpAoTeJRxtX6Kq98d+BXvFAaRdIeQQD+XmN8bu+PhV/Kf2R lHfA7a/pUyu3FvYvbmtciUMMgyN3gxedX22voZrbLCsO2M1n7bLKxnCnoGxBa4JxLHhWR2b +Zf8XBqtRd4TUERD/MJdvUp5vIyvvHurtgLtXZVpAeUb5lm9Fwbqf/WvC/67l+DTg2hkcB4 2+oKGWDcnk7Z7Xwd+ODLg== X-UI-Out-Filterresults: notjunk:1; V01:K0:UaRQvyZpvd0=:jCCHR45AvJt8Mkqo9bvooB 6e26wncRWcpB4zZf5R1lDxhjusbWP+nZlavV5EgiG5eK+Y7twql558imkP/RaFmfjWE1lv/yi LL/ozYjIIP419YoewSWhO0qOV74zDMdjWI6jftXvRLJ1G24NfyaDpb8pcUHwt/B7QLlMNdsw2 4Ub/c4PEK+7aFI8I+EnUNv7gBrwObt3KxH2jShGbeZGPufNXzvi25fr8XIQC5axBH9Z3N7LdD oLlraSk3oAL/4oSikpZ3hk/bLTLnfnApwHI1Z3wKcjZm3rRR72lBjt9rkcImiibfpYyTZjZMY Z7P3DzNbXDeVAV75zfXeZS9VtcfdfoSOKXtTZecMXhnOnpPB2oi+46Ddpwt5bfXfGSioIrpD+ 0MKPSq+cuNcXaF8CO9T8WtYD/20Jf0/bNVnw9xI65h+vvtQOTOkrJ+2nkwI7acu2mwuE1sFiU lJxYOlOCZSJf8C8a422NkCpYjTooPCTf0XmClq0ULbNOye2/mvLNe8djrn/fEHV0MscpZpYYi kfp/vjy52t74tO5/d5x/xwRf6R0sRVjjxj1U4g3yrnuPoNhHs1qxdCVubdrE2Z/xyD0a+gFKt OIVQY/BwGghdN6Bhc0QyHLTGisDFT+9KRLbqWA05hgIjRa1ZtVDPFCpwwsrome6LXN2K0tXnw TImsBPDeeNLlBeXi8hQtnPsyHmbDVZjqNt8g7LVpSK114cHu7RMzc7nM/v5319uuu10w= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Remove the phy-reset-gpio from the USB controller node as it is already specified in the PHY node. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 77e99caf5606..06d0be29c0b4 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -457,8 +457,6 @@ /* EHCI instance 1: ULPI PHY -> AX88772B (On-module) */ usb@c5004000 { status = "okay"; - nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) - GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>; From patchwork Sun Sep 2 10:08:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965049 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386X182gz9sB4 for ; Sun, 2 Sep 2018 20:12:36 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbeIBOZC (ORCPT ); Sun, 2 Sep 2018 10:25:02 -0400 Received: from mout.perfora.net ([74.208.4.194]:46511 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIBOZC (ORCPT ); Sun, 2 Sep 2018 10:25:02 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lop6D-1fOR9r0MkV-00geSu; Sun, 02 Sep 2018 12:09:40 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 12/37] ARM: tegra: colibri_t20: indentation/line-feed/white-space clean-up Date: Sun, 2 Sep 2018 12:08:41 +0200 Message-Id: <20180902100906.25792-13-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:QZg6sD1H+m8MJlOwS2jTzzhDT1Tb1NFiJCnS/i4LAaFiT0aSIl7 UM3sMqEJ2Q1zl9s7eaChGb8naA8Bqx43z536OOBIq3i9Y760CCX/ptHk8w9VYL9aXzF/3CQ zGwCuUm2lAOZYvK5j8tPCtkdPe0hF2GW5fc/f4C8eiYIJcQkKPIkz93tJ2IZTj/1gGAi/yP NRVGddmZpzEM2JwA//9Uw== X-UI-Out-Filterresults: notjunk:1; V01:K0:NYaOf9iArAc=:Wwmf/VFOYniVFuEEnU/F5y WzalLqi7aXB7iwdYhWlHfrzyTrwTgx/De4/zDVspmDEoRM7QOZKmbaEdfW0ei7wVKOmTqUziF LzzQKLrLBtKbGrLYN9NodPIv1Hg9q9qso2Q29Wx9hBveQzM0Qkema8l6oEQBfPRupYudbmMXp 4oiolNsOsHSQS5Z1MVinuJ6qm7YELvJqtyk8B46FnFSbw4NVqGGJtU8bNVaMSQXhiuzXi0k15 UGXZyqHJIdfkPerfYqNigS3NpsabRnnLAKKbZRVchIT6PqEi1hrMJHIfs2OTSWGkq78f+BqNZ MV2hG9V2/BrkkNl7hjZy+121EsPx4lf7EbdXYPDGZj9El7/6k2MxpCxmvU+qxrvnbajC/9Itb 31ga1LVqhQ9R8f0c0nvmkhVYZBuJfMWyUxlok2pJFrPIEXvwQoLkPzhSLaDQNF8zja+p+Bit6 w5HKA8OOoo/OUCaXVRi5cgcEMUOcPL+BzX1C7jxHpXtwH0uujqTLyjKKSpZGqnqsBJelq1OZf Abeq58LuSNl3rh2mzf0D2tqbIzTJGMD8zhogwCrKlAqlSeL4sSK4ECkaMydvH8BDZJpcBwf0U Y37SpBa2gzvHE33pURSzZFIpAX5qVWqIMbc7t429jpk+3Qe0ABtUm+84GoIUktufrk7vR/lJc bmox4qw0P6pDZJRSU5Gh7XFBomH4g2DZW9e8TDey+avRvtzSCTsN3lVNCXRHDJMToB7w= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Cleaning up indentation, line-feed and white-space. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 06d0be29c0b4..5559008efc5f 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -206,10 +206,10 @@ ac97: ac97@70002000 { status = "okay"; - nvidia,codec-reset-gpio = <&gpio TEGRA_GPIO(V, 0) - GPIO_ACTIVE_HIGH>; - nvidia,codec-sync-gpio = <&gpio TEGRA_GPIO(P, 0) - GPIO_ACTIVE_HIGH>; + nvidia,codec-reset-gpio = + <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_HIGH>; + nvidia,codec-sync-gpio = + <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>; }; nand-controller@70008000 { @@ -254,12 +254,9 @@ compatible = "ti,tps6586x"; reg = <0x34>; interrupts = ; - ti,system-power-controller; - #gpio-cells = <2>; gpio-controller; - sys-supply = <®_module_3v3>; vin-sm0-supply = <®_3v3_vsys>; vin-sm1-supply = <®_3v3_vsys>; @@ -468,8 +465,8 @@ usb-phy@c5004000 { status = "okay"; - nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) - GPIO_ACTIVE_LOW>; + nvidia,phy-reset-gpio = + <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>; vbus-supply = <®_lan_v_bus>; }; @@ -511,16 +508,13 @@ compatible = "nvidia,tegra-audio-wm9712-colibri_t20", "nvidia,tegra-audio-wm9712"; nvidia,model = "Colibri T20 AC97 Audio"; - nvidia,audio-routing = "Headphone", "HPOUTL", "Headphone", "HPOUTR", "LineIn", "LINEINL", "LineIn", "LINEINR", "Mic", "MIC1"; - nvidia,ac97-controller = <&ac97>; - clocks = <&tegra_car TEGRA20_CLK_PLL_A>, <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, <&tegra_car TEGRA20_CLK_CDEV1>; From patchwork Sun Sep 2 10:08:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386V0PV3z9sBn for ; Sun, 2 Sep 2018 20:12:34 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbeIBOZC (ORCPT ); Sun, 2 Sep 2018 10:25:02 -0400 Received: from mout.perfora.net ([74.208.4.197]:53427 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727420AbeIBOZC (ORCPT ); Sun, 2 Sep 2018 10:25:02 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MEE6I-1g7Mc93c2y-00FbWN; Sun, 02 Sep 2018 12:09:42 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 13/37] ARM: tegra: colibri_t20: update sound nvidia, model Date: Sun, 2 Sep 2018 12:08:42 +0200 Message-Id: <20180902100906.25792-14-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:L21kXrJ4RENzeUQxCiY/FYHtvPJzmMn+rWiY0d5SsoRc2lIWzuD qrjJaxjJfEyh94ukuTSsHhzU3mUyCicyuU+sE9PBxY42H7pHtEVt4/nM7wc8L089+UGbJI3 1Du3rGy1ChZ4SM0+G1esceYHetO1aCdGD4uK0L1LWxaV2sM32xHwNhkCn1R2lnyr2seHV0f dcB8BD5tI9kPtPYTfk39Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:UxCt/eWO04A=:1QWpC/OlZ8rhpnJ6QDUIEx NFyABiqq+XCaO0IEaig33cccY35tUcTx0rTDlZRcCZ481M46c5qAonv3cWTnxH9kJsla3sJha P4gdAk0y+av+SEyqZjBRva/as2Lot3z/NBiNybp3G2JC9dpLF/ONzaHX2CHNUaZLWDVWbuypJ y0EjjPAHkkRJy18GOxQeftveSniFXeHxfTdEFCtNJXNiBVkV9ChMp8TVFtVFsAFQxvoJ9s/g0 DKcmGd9v1vmx4MSfqQ7anoV7a0k3oBnzuH0MWvIbE7TG0qE7pyylH+pydyIV5cXFdYM/Fkr9g 13AGAdWwA4EgTVL5fhLEMN2hQg80w721cGToKHiEG+wEm4tm7tqoItsY/aJU0wr4cBLyWS7+d JzUbyE/UTe2g8nxADzctoW65l+PZiPLALMRkJ/+Cl9mSBebIm/uz356VQRwERyoes/KMjTte4 aybS/36trfHRvrPyQpMhgwCmynXilxY42+7R6o/2EEhVhU6K498ZHOq6JyGVLIe6T6pX9QrsQ VRPJCnCPu28Kl/9iU2SKME1n+AX19s38GHo/tINTQqFlQ5U9nAnlXfL9JGEz5cud5DMbNKKOo 1u0fTG1ZOgNjkN+bzvrMZ3FZqYI0mHkTEtZf51AIgXaWsUG8zBm0rxu2BHh0tiRwTgCmvLyMk 0wG49iF50hBphLB//LN1zyxabQtm6FBN5QMWrpPogjvWkDTPFzjku6iUQMtnXWYQEOOw= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Update sound nvidia,model to be more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 5559008efc5f..ba84184e09b8 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -507,7 +507,7 @@ sound { compatible = "nvidia,tegra-audio-wm9712-colibri_t20", "nvidia,tegra-audio-wm9712"; - nvidia,model = "Colibri T20 AC97 Audio"; + nvidia,model = "Toradex Colibri T20"; nvidia,audio-routing = "Headphone", "HPOUTL", "Headphone", "HPOUTR", From patchwork Sun Sep 2 10:08:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42386761Ldz9sB4 for ; Sun, 2 Sep 2018 20:12:15 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727524AbeIBOZF (ORCPT ); Sun, 2 Sep 2018 10:25:05 -0400 Received: from mout.perfora.net ([74.208.4.194]:34161 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727449AbeIBOZE (ORCPT ); Sun, 2 Sep 2018 10:25:04 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LfRRn-1fXkoY2pCL-00owCo; Sun, 02 Sep 2018 12:09:44 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 14/37] ARM: tegra: colibri_t20: pinmux clean-up Date: Sun, 2 Sep 2018 12:08:43 +0200 Message-Id: <20180902100906.25792-15-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:G0r4HRny+T17/aP0J6dR4dywZjbRE/6Jlj9FFvIREeSxJxUmKoa 5Mpp1Uuoy9CL4URiVJyJgfQoZ508CD8LUfjYbqIYGqG3LruDbCedrWhnmM0RdBOkHx4+2nJ JGfXQ29K2oT4qo6GKM6DFJd/XYK2URe28x+8KcuV6aYOWWveJ5g2T5+ce9MwnGMBVDxLodY 1ZNxlmJVZrCFwACrORDIQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:Umgui8BdJxI=:aGSPfyw0hqDoMONSLQU8Ny QdoxQ/o9J3F09ANhaviaVLcQtXEn1QrUlNh+n2LBbC3y6ugRZJ9y/Az0ngVZ1Ug3djyW2Hu7d zNb49QFOc8UQ72yRaJdSPKyDTvoeoztvm/rxiBOY/9L5TIYeIHAs7eAMDsurgjiIuzQEn8nnC 7dkxurFtLQIoqdwPB7mFCv0BPx4P8bjv4T/PHCYrXGdL0Hp/jxdPgSM0dQkLuGQrSybwMUvGa K4SuCfhVq3dbGT+KexTeubiV7QRjazpsTfe1DMdhSwtI04dnGldYJF4nwjU5MqXn/vG4Dc85H SvHBpyJ5MXN9EtAL8e1vCPzNIgPNQ9vAtpJvX/Zm0JjjECaPIN1Ll+KBZueXyIl69402MeMZC LsXcoGYNg3pREPIK9q8mVlDFNF1sXU4PYexKm/7HewV/4R5BuYI1mNWhmEMalkgEYHKV//pX+ CSzMyy1tL0YpkWcX4zWCyOU8acTGLSeimYj/hDjW9v7gDJzCA4m9vJr9Rm7zsWYwkEBjcgdKl 9C6VK365SoQ5L7xZfk1QgUt13oFoZqezZkE2qqj7V08i5BdRyvvOBVjGlQPsbNjhat+bcQ1Bt KDT2yjKvBQmVgeqSKSqJaVJ3g+yKeoq8OogW4ro9b3Sxc7wJhA0P/YvuZZE+uPFpWUG1Q8hjP EMnYI8+24SSU9lznsyJkZnmNyCKHNQAVcD8pY/lPRbmpITZb52hjY0Nx+mNte5NUiTh4= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Just cosmetic pinmux clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also replace underscores in node names with dashes. arch/arm/boot/dts/tegra20-colibri-iris.dts | 10 +- arch/arm/boot/dts/tegra20-colibri.dtsi | 287 ++++++++++++++++++++--------- 2 files changed, 202 insertions(+), 95 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 194f40646a83..e026478b58d0 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -29,23 +29,23 @@ pinmux@70000014 { state_default: pinmux { - hdint { + ddc { nvidia,tristate = ; }; - i2cddc { + hotplug-detect { nvidia,tristate = ; }; - sdio4 { + mmc { nvidia,tristate = ; }; - uarta { + uart-a { nvidia,tristate = ; }; - uartd { + uart-b { nvidia,tristate = ; }; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index ba84184e09b8..dfe237cea14b 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -29,175 +29,282 @@ pinctrl-0 = <&state_default>; state_default: pinmux { - audio_refclk { + /* Analogue Audio AC97 to WM9712 (On-module) */ + audio-refclk { nvidia,pins = "cdev1"; nvidia,function = "plla_out"; nvidia,pull = ; nvidia,tristate = ; }; - crt { - nvidia,pins = "crtp"; - nvidia,function = "crt"; - nvidia,pull = ; - nvidia,tristate = ; - }; dap3 { nvidia,pins = "dap3"; nvidia,function = "dap3"; nvidia,pull = ; nvidia,tristate = ; }; - displaya { - nvidia,pins = "ld0", "ld1", "ld2", "ld3", - "ld4", "ld5", "ld6", "ld7", "ld8", - "ld9", "ld10", "ld11", "ld12", "ld13", - "ld14", "ld15", "ld16", "ld17", - "lhs", "lpw0", "lpw2", "lsc0", - "lsc1", "lsck", "lsda", "lspi", "lvs"; - nvidia,function = "displaya"; - nvidia,tristate = ; - }; - gpio_dte { - nvidia,pins = "dte"; - nvidia,function = "rsvd1"; - nvidia,pull = ; - nvidia,tristate = ; - }; - gpio_gmi { - nvidia,pins = "ata", "atc", "atd", "ate", - "dap1", "dap2", "dap4", "gpu", "irrx", - "irtx", "spia", "spib", "spic"; - nvidia,function = "gmi"; + + /* + * AC97_RESET, ULPI_RESET, AC97_INT aka WM9712 GENIRQ + * (All on-module), SODIMM Pin 45 Wakeup + */ + gpio-uac { + nvidia,pins = "uac"; + nvidia,function = "rsvd2"; nvidia,pull = ; nvidia,tristate = ; }; - gpio_pta { + + /* + * Buffer Enables for nPWE and RDnWR (On-module, + * see GPIO hogging further down below) + */ + gpio-pta { nvidia,pins = "pta"; nvidia,function = "rsvd4"; nvidia,pull = ; nvidia,tristate = ; }; - gpio_uac { - nvidia,pins = "uac"; - nvidia,function = "rsvd2"; - nvidia,pull = ; + + /* + * CLK_32K_OUT, CORE_PWR_REQ, CPU_PWR_REQ, PWR_INT_N, + * SYS_CLK_REQ (All on-module) + */ + pmc { + nvidia,pins = "pmc"; + nvidia,function = "pwr_on"; nvidia,tristate = ; }; - hdint { - nvidia,pins = "hdint"; - nvidia,function = "hdmi"; - nvidia,tristate = ; + + /* Colibri Address/Data Bus (GMI) */ + gpio-gmi { + nvidia,pins = "ata", "atc", "atd", "ate", + "dap1", "dap2", "dap4", "gpu", "irrx", + "irtx", "spia", "spib", "spic"; + nvidia,function = "gmi"; + nvidia,pull = ; + nvidia,tristate = ; }; - i2c1 { - nvidia,pins = "rm"; - nvidia,function = "i2c1"; + + /* Colibri BL_ON */ + bl-on { + nvidia,pins = "dta"; + nvidia,function = "vi"; nvidia,pull = ; nvidia,tristate = ; }; - i2c3 { - nvidia,pins = "dtf"; - nvidia,function = "i2c3"; - nvidia,pull = ; + + /* Colibri Backlight PWM, PWM */ + pwm-a-b { + nvidia,pins = "sdc"; + nvidia,function = "pwm"; nvidia,tristate = ; }; - i2cddc { + + /* Colibri DDC */ + ddc { nvidia,pins = "ddc"; nvidia,function = "i2c2"; nvidia,pull = ; nvidia,tristate = ; }; - i2cp { - nvidia,pins = "i2cp"; - nvidia,function = "i2cp"; + + /* + * Colibri EXT_IO* + * Note: dtf optionally used for I2C3 + */ + ext-io { + nvidia,pins = "dtf"; + nvidia,function = "i2c3"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; }; - irda { - nvidia,pins = "uad"; - nvidia,function = "irda"; + + /* + * Colibri Ethernet (On-module) + * ULPI EHCI instance 1 USB2_DP/N -> AX88772B + */ + ulpi { + nvidia,pins = "uaa", "uab", "uda"; + nvidia,function = "ulpi"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; }; - nand { - nvidia,pins = "kbca", "kbcc", "kbcd", - "kbce", "kbcf"; - nvidia,function = "nand"; + ulpi-refclk { + nvidia,pins = "cdev2"; + nvidia,function = "pllp_out4"; nvidia,pull = ; nvidia,tristate = ; }; - owc { - nvidia,pins = "owc"; - nvidia,function = "owr"; + + /* Colibri HOTPLUG_DETECT (HDMI) */ + hotplug-detect { + nvidia,pins = "hdint"; + nvidia,function = "hdmi"; + nvidia,tristate = ; + }; + + /* Colibri I2C */ + i2c { + nvidia,pins = "rm"; + nvidia,function = "i2c1"; nvidia,pull = ; nvidia,tristate = ; }; - pmc { - nvidia,pins = "pmc"; - nvidia,function = "pwr_on"; - nvidia,tristate = ; + + /* Colibri LCD (L_* resp. LDD<*>) */ + lcd { + nvidia,pins = "ld0", "ld1", "ld2", "ld3", + "ld4", "ld5", "ld6", "ld7", + "ld8", "ld9", "ld10", "ld11", + "ld12", "ld13", "ld14", "ld15", + "ld16", "ld17", "lhs", "lpw0", + "lpw2", "lsc0", "lsc1", "lsck", + "lsda", "lspi", "lvs"; + nvidia,function = "displaya"; + nvidia,tristate = ; }; - pwm { - nvidia,pins = "sdb", "sdc", "sdd"; - nvidia,function = "pwm"; + + /* Colibri MMC */ + mmc { + nvidia,pins = "atb", "gma"; + nvidia,function = "sdio4"; + nvidia,pull = ; nvidia,tristate = ; }; - sdio4 { - nvidia,pins = "atb", "gma", "gme"; + + /* Colibri MMC (Optional 8-bit) */ + mmc-8bit { + nvidia,pins = "gme"; nvidia,function = "sdio4"; nvidia,pull = ; nvidia,tristate = ; }; - spi1 { - nvidia,pins = "spid", "spie", "spif"; - nvidia,function = "spi1"; + + /* + * Colibri Parallel Camera (Optional) + * pins multiplexed with others and therefore disabled + * Note: dta used for BL_ON by default + */ + cif-mclk { + nvidia,pins = "csus"; + nvidia,function = "vi_sensor_clk"; + nvidia,pull = ; + nvidia,tristate = ; + }; + cif { + nvidia,pins = "dtb", "dtc", "dtd"; + nvidia,function = "vi"; nvidia,pull = ; nvidia,tristate = ; }; - spi4 { + + /* Colibri PWM, PWM */ + pwm-c-d { + nvidia,pins = "sdb", "sdd"; + nvidia,function = "pwm"; + nvidia,tristate = ; + }; + + /* Colibri SSP */ + ssp { nvidia,pins = "slxa", "slxc", "slxd", "slxk"; nvidia,function = "spi4"; nvidia,pull = ; nvidia,tristate = ; }; - uarta { + + /* Colibri UART-A */ + uart-a { nvidia,pins = "sdio1"; nvidia,function = "uarta"; nvidia,pull = ; nvidia,tristate = ; }; - uartd { + + /* Colibri UART-B */ + uart-b { nvidia,pins = "gmc"; nvidia,function = "uartd"; nvidia,pull = ; nvidia,tristate = ; }; - ulpi { - nvidia,pins = "uaa", "uab", "uda"; - nvidia,function = "ulpi"; + + /* Colibri UART-C */ + uart-c { + nvidia,pins = "uad"; + nvidia,function = "irda"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; }; - ulpi_refclk { - nvidia,pins = "cdev2"; - nvidia,function = "pllp_out4"; + + /* Colibri USBH_OC */ + usbh-oc { + nvidia,pins = "spih"; + nvidia,function = "spi2_alt"; nvidia,pull = ; nvidia,tristate = ; }; - usb_gpio { - nvidia,pins = "spig", "spih"; + + /* Colibri USBH_PEN */ + usbh-pen { + nvidia,pins = "spig"; nvidia,function = "spi2_alt"; nvidia,pull = ; nvidia,tristate = ; }; - vi { - nvidia,pins = "dta", "dtb", "dtc", "dtd"; - nvidia,function = "vi"; + + /* Colibri VGA not supported */ + vga { + nvidia,pins = "crtp"; + nvidia,function = "crt"; nvidia,pull = ; nvidia,tristate = ; }; - vi_sc { - nvidia,pins = "csus"; - nvidia,function = "vi_sensor_clk"; + + /* + * LAN_V_BUS, VDD_FAULT, BATT_FAULT, WM9712 PENDOWN + * (All On-module); Colibri CAN_INT + */ + gpio-dte { + nvidia,pins = "dte"; + nvidia,function = "rsvd1"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* NAND (On-module) */ + nand { + nvidia,pins = "kbca", "kbcc", "kbcd", + "kbce", "kbcf"; + nvidia,function = "nand"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* Onewire (Optional) */ + owr { + nvidia,pins = "owc"; + nvidia,function = "owr"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* Power I2C (On-module) */ + i2cp { + nvidia,pins = "i2cp"; + nvidia,function = "i2cp"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* + * SPI1 (Optional) + * Note: spid and spie used for Colibri Address/Data + * Bus (GMI) + */ + spi1 { + nvidia,pins = "spid", "spie", "spif"; + nvidia,function = "spi1"; nvidia,pull = ; nvidia,tristate = ; }; From patchwork Sun Sep 2 10:08:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4238626cqqz9s55 for ; Sun, 2 Sep 2018 20:12:10 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727449AbeIBOZG (ORCPT ); Sun, 2 Sep 2018 10:25:06 -0400 Received: from mout.perfora.net ([74.208.4.194]:57533 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeIBOZF (ORCPT ); Sun, 2 Sep 2018 10:25:05 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lu5Nw-1fo30Z1rfi-011Lif; Sun, 02 Sep 2018 12:09:45 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 15/37] ARM: tegra: colibri_t20: add missing pinmux Date: Sun, 2 Sep 2018 12:08:44 +0200 Message-Id: <20180902100906.25792-16-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:RiWnlZc7IcEpC3Hh9usucHFrCha1oaPI07YvUnYLarJgxts8JVP 3YlY7L18i4qEIU/UWk/X17f6Pv1YwBEKifbSNLPAKAL6CoZK2C8AU0JDKRkkID8KTp1NGdC 3mXbSM4TPXvshiWMEAUIOc1TkXO608uB45mw+Tgv/7MEmZ+z9L6svXxg1UfeEEyGnk2LHps R9/pLzAV13Cq2LF6u/7+A== X-UI-Out-Filterresults: notjunk:1; V01:K0:eZvIX/+N1z0=:x2RJLZLQb+lXhn6fwMUH1+ +1EupXP/Zi2ixX0GAwrVz2vcDGmUdutPcskVZ++jSDmTkO0lNWGY3LcP8chm1ceiVeJ6uiq1t P21rfFGokznRC7dabY+iFH0KQuJvWQoq0vi/etVxfEalw8+K5nMDHijOdU1Ru146bz2VDSZj6 l4HWtth4AlznNghJJVw3PrDwbfNuDemC+ujQWC41vIbHkoJ0VgTSzrW/4p5SpjHHdvLGSIqkW c7DaPPnwyv9GhG4eVSsIz4Ew6aO8I7FR9DqhYIfJ21HmGN8nnIKpoumVm3Il7Nvn5AHRkmtQW yaVU/trZUzSxq1gbUUyqqsXOCHSTK3zSQux5N3FXPeH/i/WPrd3WhtLf99wdTd9zi5ZReY6wV 1yeEYqYaIx8gc6cjbEbuobSKyeIW5rt4ZBepMv98i2BwCHW+Gc5/cV09Kogbl5hblqF1l+rAl Ln0953HdGHoYaxCC8bHZxXeQ0d0fttys9LIXh0Y682cCFhPkf1REjgEK7zvEFVns/U+w5CzXV DNarJNRx1ErGwiepJuXMropQDF5zjqSi8nLvSK4GwYN/khMqRrMgE0C79NjD1j6pPVmaGc+DV meUxy+mArbifT1snpuA+z5Y+OJb7wdVczJHNAx7VZNCJKFcFRGzFqFzKZOtMNCtFZQJqDvRg1 K3kvHMG8L0BnylIbKjjWQzq/RhezFJqbTVopyO7sYRVKn5eBuq1qs67mIwzaiuXP+25M= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Explicitly add pinmux' for all T20 SoC ball groups now: - Colibri Address/Data Bus (GMI) further pins used as GPIOs - Colibri BL_ON - Colibri EXT_IO* - Colibri L_BIAS, LCD_M1 is muxed with LCD_DE today's display need DE, disable LCD_M1 - more Colibri LCD pins (L_* resp. LDD<*>) - Colibri LCD (Optional 24 BPP Support) - Colibri MMCCD - uart_a_dsr and uart_a_dcd as GPIOs - Colibri USB_CDET - I2C3 (Optional) - JTAG_RTCK - LAN_RESET, LAN_EXT_WAKEUP and LAN_PME (All On-module) - more NAND pins - RESET_OUT - THERMD_ALERT# (On-module), unlatched I2C address pin of LM95245 temperature sensor therefore requires disabling for now Signed-off-by: Marcel Ziswiler --- Changes in v2: - Replace underscores in node names with dashes. arch/arm/boot/dts/tegra20-colibri-iris.dts | 40 +++++++++ arch/arm/boot/dts/tegra20-colibri.dtsi | 134 +++++++++++++++++++++++++---- 2 files changed, 159 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index e026478b58d0..28386b89d910 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -29,6 +29,10 @@ pinmux@70000014 { state_default: pinmux { + bl-on { + nvidia,tristate = ; + }; + ddc { nvidia,tristate = ; }; @@ -37,10 +41,38 @@ nvidia,tristate = ; }; + i2c { + nvidia,tristate = ; + }; + + lcd { + nvidia,tristate = ; + }; + + lm1 { + nvidia,tristate = ; + }; + mmc { nvidia,tristate = ; }; + mmccd { + nvidia,tristate = ; + }; + + pwm-a-b { + nvidia,tristate = ; + }; + + pwm-c-d { + nvidia,tristate = ; + }; + + ssp { + nvidia,tristate = ; + }; + uart-a { nvidia,tristate = ; }; @@ -48,6 +80,14 @@ uart-b { nvidia,tristate = ; }; + + uart-c { + nvidia,tristate = ; + }; + + usbh-pen { + nvidia,tristate = ; + }; }; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index dfe237cea14b..aa2ca3dad32c 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -75,20 +75,36 @@ nvidia,tristate = ; }; - /* Colibri Address/Data Bus (GMI) */ - gpio-gmi { - nvidia,pins = "ata", "atc", "atd", "ate", - "dap1", "dap2", "dap4", "gpu", "irrx", - "irtx", "spia", "spib", "spic"; + /* + * Colibri Address/Data Bus (GMI) + * Note: spid and spie optionally used for SPI1 + */ + gmi { + nvidia,pins = "atc", "atd", "ate", "dap1", + "dap2", "dap4", "gmd", "gpu", + "irrx", "irtx", "spia", "spib", + "spic", "spid", "spie", "uca", + "ucb"; nvidia,function = "gmi"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; + }; + /* Further pins may be used as GPIOs */ + gmi-gpio1 { + nvidia,pins = "lpw0", "lsc1", "lsck", "lsda"; + nvidia,function = "hdmi"; + nvidia,tristate = ; + }; + gmi-gpio2 { + nvidia,pins = "lcsn", "ldc", "lm0", "lsdi"; + nvidia,function = "rsvd4"; + nvidia,tristate = ; }; /* Colibri BL_ON */ bl-on { nvidia,pins = "dta"; - nvidia,function = "vi"; + nvidia,function = "rsvd1"; nvidia,pull = ; nvidia,tristate = ; }; @@ -113,8 +129,8 @@ * Note: dtf optionally used for I2C3 */ ext-io { - nvidia,pins = "dtf"; - nvidia,function = "i2c3"; + nvidia,pins = "dtf", "spdi"; + nvidia,function = "rsvd2"; nvidia,pull = ; nvidia,tristate = ; }; @@ -151,15 +167,31 @@ nvidia,tristate = ; }; + /* + * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE + * today's display need DE, disable LCD_M1 + */ + lm1 { + nvidia,pins = "lm1"; + nvidia,function = "rsvd3"; + nvidia,tristate = ; + }; + /* Colibri LCD (L_* resp. LDD<*>) */ lcd { nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", "ld5", "ld6", "ld7", "ld8", "ld9", "ld10", "ld11", "ld12", "ld13", "ld14", "ld15", - "ld16", "ld17", "lhs", "lpw0", - "lpw2", "lsc0", "lsc1", "lsck", - "lsda", "lspi", "lvs"; + "ld16", "ld17", "lhs", "lsc0", + "lspi", "lvs"; + nvidia,function = "displaya"; + nvidia,tristate = ; + }; + /* Colibri LCD (Optional 24 BPP Support) */ + lcd-24 { + nvidia,pins = "ldi", "lhp0", "lhp1", "lhp2", + "lpp", "lvp1"; nvidia,function = "displaya"; nvidia,tristate = ; }; @@ -172,6 +204,14 @@ nvidia,tristate = ; }; + /* Colibri MMCCD */ + mmccd { + nvidia,pins = "gmb"; + nvidia,function = "gmi_int"; + nvidia,pull = ; + nvidia,tristate = ; + }; + /* Colibri MMC (Optional 8-bit) */ mmc-8bit { nvidia,pins = "gme"; @@ -220,6 +260,16 @@ nvidia,pull = ; nvidia,tristate = ; }; + uart-a-dsr { + nvidia,pins = "lpw1"; + nvidia,function = "rsvd3"; + nvidia,tristate = ; + }; + uart-a-dcd { + nvidia,pins = "lpw2"; + nvidia,function = "hdmi"; + nvidia,tristate = ; + }; /* Colibri UART-B */ uart-b { @@ -237,12 +287,20 @@ nvidia,tristate = ; }; + /* Colibri USB_CDET */ + usb-cdet { + nvidia,pins = "spdo"; + nvidia,function = "rsvd2"; + nvidia,pull = ; + nvidia,tristate = ; + }; + /* Colibri USBH_OC */ usbh-oc { nvidia,pins = "spih"; nvidia,function = "spi2_alt"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; }; /* Colibri USBH_PEN */ @@ -250,7 +308,7 @@ nvidia,pins = "spig"; nvidia,function = "spi2_alt"; nvidia,pull = ; - nvidia,tristate = ; + nvidia,tristate = ; }; /* Colibri VGA not supported */ @@ -261,6 +319,33 @@ nvidia,tristate = ; }; + /* I2C3 (Optional) */ + i2c3 { + nvidia,pins = "dtf"; + nvidia,function = "i2c3"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* JTAG_RTCK */ + jtag-rtck { + nvidia,pins = "gpu7"; + nvidia,function = "rtck"; + nvidia,pull = ; + nvidia,tristate = ; + }; + + /* + * LAN_RESET, LAN_EXT_WAKEUP and LAN_PME + * (All On-module) + */ + gpio-gpv { + nvidia,pins = "gpv"; + nvidia,function = "rsvd2"; + nvidia,pull = ; + nvidia,tristate = ; + }; + /* * LAN_V_BUS, VDD_FAULT, BATT_FAULT, WM9712 PENDOWN * (All On-module); Colibri CAN_INT @@ -274,7 +359,7 @@ /* NAND (On-module) */ nand { - nvidia,pins = "kbca", "kbcc", "kbcd", + nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", "kbce", "kbcf"; nvidia,function = "nand"; nvidia,pull = ; @@ -297,6 +382,14 @@ nvidia,tristate = ; }; + /* RESET_OUT */ + reset-out { + nvidia,pins = "ata"; + nvidia,function = "gmi"; + nvidia,pull = ; + nvidia,tristate = ; + }; + /* * SPI1 (Optional) * Note: spid and spie used for Colibri Address/Data @@ -308,6 +401,17 @@ nvidia,pull = ; nvidia,tristate = ; }; + + /* + * THERMD_ALERT# (On-module), unlatched I2C address pin + * of LM95245 temperature sensor therefore requires + * disabling for now + */ + lvp0 { + nvidia,pins = "lvp0"; + nvidia,function = "rsvd3"; + nvidia,tristate = ; + }; }; }; From patchwork Sun Sep 2 10:08:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385z5wGLz9s55 for ; Sun, 2 Sep 2018 20:12:07 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727565AbeIBOZI (ORCPT ); Sun, 2 Sep 2018 10:25:08 -0400 Received: from mout.perfora.net ([74.208.4.196]:55091 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeIBOZI (ORCPT ); Sun, 2 Sep 2018 10:25:08 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MF3BF-1g6XOi0vt5-00GQT2; Sun, 02 Sep 2018 12:09:47 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 16/37] ARM: tegra: colibri_t20: iris: display controller rgb panel support Date: Sun, 2 Sep 2018 12:08:45 +0200 Message-Id: <20180902100906.25792-17-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:cQ6DGmRf1RPCWdP5HeJ2fScMdGoqHuZn61ppTNQ5NL00ufqpokP JlY6wMZtXbfT145BRRTjEiMldgRDyBcnuSnI06EYrXsVawjFttkQkL+yx8/dsQzSgITlWHs 39QO3rlbMgeKDq0xLR3GL5vlnDwvERhvynafqtlIP+Jwgz6l+JGT3UL/+6WQpPPs0aG8qI/ 1LB0zXqgTtov4jUQb+wWQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZmK2if0ZGB8=:U5a2n/ETsGq0pFKSlVRjaN gzEsz4f0NjpHBcpgSHSlF5w7GBV2GuIWTWUitJ5jwlxidghvp3kSJsfbEWCbgE7BmW3CmBmL2 jHjFwWDktBpAexIrCHGVp/5m4VGMVO2x6Q7eilzuX12MyrypRNsw+hkCafIBSJR8dM1e7RHV4 MNSgIjxv2TczAyHKliBhSkDZdF43HryHco9kak6aCSD04Kj24rxT2ruQfsAhB+f9Cti7AkOlo 5Cl/kPJp2dmHMQviF8zo6cuDD2umJ9albB7ncj0msf+MNs/FK3b3lhCWHim+6RNvqw215huj7 E+oSOcIsDcpYUIJoli6E/g2zORrDCXGWWyKLUZWrQEtAq6RgdHjdzfbwCb77RlJCsZrr2PFQA Sx5rrx8IbB3M6nI4+DKPLoNVYnu+hl6w/mbGc0/3H3YwfIHYlo2+XdCoEf+RXlhKVEG8B2uCD GePUwO/dNnxZDb+AnyYwJFqume+cycVduhDTfcNjZND1wzC7CBhTSdvEkSjDL4/EQq5CTgKbA UvCOCN4REIyzGkzP4BmXweRe9sTwNBWwZQMNs/rOsVyGH5NmgciefhbX97Bw8DXeTWhvq8TsH pC/uJ6KXEkmLXUMerBd9599TVk7Al9dqwpSWMgX5kS8zOS76y6rCa6rADfpWd33X/VoIefF7z a8aiAJfkI6idJEP8jmcecAA82KElv/0wFkVvUSgeKl9Ve1e1dObXxzWSGZbUCdp5I9aA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add display controller parallel RGB panel support incl. backlight PWM. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 28386b89d910..21713b7ae978 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -21,6 +21,13 @@ }; host1x@50000000 { + dc@54200000 { + rgb { + status = "okay"; + nvidia,panel = <&panel>; + }; + }; + hdmi@54280000 { status = "okay"; hdmi-supply = <®_5v0>; @@ -99,6 +106,10 @@ status = "okay"; }; + pwm@7000a000 { + status = "okay"; + }; + /* * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier * board) @@ -149,6 +160,26 @@ no-1-8-v; }; + backlight: backlight { + compatible = "pwm-backlight"; + brightness-levels = <255 128 64 32 16 8 4 0>; + default-brightness-level = <6>; + /* BL_ON */ + enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>; + power-supply = <®_3v3>; + pwms = <&pwm 0 5000000>; /* PWM */ + }; + + panel: panel { + /* + * edt,et057090dhu: EDT 5.7" LCD TFT + * edt,et070080dh6: EDT 7.0" LCD TFT + */ + compatible = "edt,et057090dhu", "simple-panel"; + backlight = <&backlight>; + power-supply = <®_3v3>; + }; + reg_3v3: regulator-3v3 { compatible = "regulator-fixed"; regulator-name = "3.3V"; From patchwork Sun Sep 2 10:08:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965041 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385s3676z9sB4 for ; Sun, 2 Sep 2018 20:12:01 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727601AbeIBOZM (ORCPT ); Sun, 2 Sep 2018 10:25:12 -0400 Received: from mout.perfora.net ([74.208.4.194]:51329 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeIBOZL (ORCPT ); Sun, 2 Sep 2018 10:25:11 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MAOLs-1g2Qf047kA-00BjdJ; Sun, 02 Sep 2018 12:09:49 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 17/37] ARM: tegra: colibri_t20: iris: annotate uarts Date: Sun, 2 Sep 2018 12:08:46 +0200 Message-Id: <20180902100906.25792-18-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:GHhKGDsefZldAUNRYqw6jgB9Ye4Sy0ppLNrYu0u28LTZo4SlC8Y S9fjJ0E4aLQ3HMV/WKViS3LSG1h8RBEbOHj4kVrOWRBQlqDzUZs3ERhL4kXdldDZ/mENwwd ak2kZqvDeIDnc5SY9hO4H1tiYbquNj6jUCrxZGyyENoTaX45c/NO6IgcmlTa4BPMhZDGF4G eyrmnS9yvWyMZYpFSWRUw== X-UI-Out-Filterresults: notjunk:1; V01:K0:6XjaVSRkTLM=:TYk6ciAUzaCpeRnzEI/7iH Qi4NXW0Lsooam7Exj0Md7g3G6t8KTlfArq3ltWZEoFe6dDhgosRxcZHhjAbSCL/xLCseU5gOO C32KLWoF9TJ1oJhy5DbeW3zFsSUAFFC7WcSVK655KoMRMr7whFIIFJDEJJc5R4vbqdrB/zpSp 1DIFSW8eiKG0B9eWU/1FvcyzphmDiAMaE9QD7W51Rhwh1JNgpZXZ81KpTaktO5A73g/XdHAjU wrsoM/y86TbjyrW15zS/yUMpLZ+f/1FpKkEUkT2QhmNy3GVELtUoWD2OtEmfrSYzJRwJ9ue4g IhzcNXKPs1UfrnF5tooYy1gnyS//jkhAqdZIEG5qUyeaaBlszU0WA9K6GHZtGB2qXy/p3v5Sd KQ4sd9pgtNFhzLPXmH+B2URqvTSEtXbj0C7H+RinOC6pkiQw8IjB2rRi/DgaPtwStiyJT5O0r TdpMCQD0iLDnGXh8VRliMmPD5ZnNWR14oAwSgnriRaaBWGs5CUBi6MnzB4twRlYJRmjN7pT8f z8h4verQH8TShdyjfosd8sCNXDeptllSDQfNCkZAuJXTGalqZx2Z0/99PYLQFb6k/KlsDMwQY XNxO/O/auNK3W5h2ostDxC15yudcxM0NrnqknVgS2D/bK69w5mZB8O4oRLbXrCRXOYPXCysYN Z76hUXEhweLIb3hTKGf0kT8+8rAEpuykPQYs0JtEx+8CIIlYJEhsM0h897dOWAabfb6k= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Annotate UART-A and UART-B. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 21713b7ae978..cb3c82287223 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -98,10 +98,12 @@ }; }; + /* Colibri UART-A */ serial@70006000 { status = "okay"; }; + /* Colibri UART-B */ serial@70006300 { status = "okay"; }; From patchwork Sun Sep 2 10:08:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965042 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385v6FrQz9sB4 for ; Sun, 2 Sep 2018 20:12:03 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727590AbeIBOZM (ORCPT ); Sun, 2 Sep 2018 10:25:12 -0400 Received: from mout.perfora.net ([74.208.4.194]:35895 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727586AbeIBOZL (ORCPT ); Sun, 2 Sep 2018 10:25:11 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MTheY-1gMq7y3IPY-00Qe7f; Sun, 02 Sep 2018 12:09:51 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 18/37] ARM: tegra: colibri_t20: iris: add uart-c Date: Sun, 2 Sep 2018 12:08:47 +0200 Message-Id: <20180902100906.25792-19-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:sK6IA29pbpZ7tSQ7FwXPKba2XCgK2e4BurvU5TmJhj7UcUygCKC lvpOnTxUXV8b1z7yoQwcJX2XGHdJyGxaQJRtRckPYHtoewYrDLY3ikJV0p+NztDxeX6BFK6 9mwUTMWpuvGd4vDzb/IxAJSOWEgnldhAbXqVOc4oT5ST6/rS7kRfMqUhWYnMYTx08GKPMwW runhcm/0pduHyMiSTU7qw== X-UI-Out-Filterresults: notjunk:1; V01:K0:exCsDJuhvtQ=:gTOP8lHgQRs5yzKs70IDYj W2fBe3LFNnCBBYN1xzQ78OPvsAvIoyKlAHozj9KodsumemsABQ67YqrvyFOj850AWoEPpXsS+ Q0XAWPtADBAjeZQIexyL5wPA0FRMbDwXPPRTbkAy7804w11gEsIrGhEn2bH/UayM4z/Sh5ChO CzZo4FZIAXvimO6SccNsCL9bCQV11R01sxOcFWp73ZLB9eMpok5PuK/1rOXGV4MZfd27ogL02 mj+M4rq3ZuvaIv1nM2Y8k4fanz0VSCg5vN2y9BEgie5E25I0D1Vd2ZSiCe4hK7mcLF8zpbvDe EnqdFxBSZ8+ylN8V6dPsGxfCIgfkRns9DJhjqqOM2xFw/wkTGDDYkU4UsUQa9U75KmmXnzSCM PQ4Xzu6Ipb6MeGhc79EmL5utTwIDpMyaDBbAvqsDRtAQ8A7/GogGLpFEdERc9SlPpakHaeuEH 8RHJ/iiiXiiCwNPYUBy3Jg61i3MV51hu8VhRi95BV9OPG0549K08SOt4zfUVQjfCr4OzQM3PO 3AvZ9iqEJVn8z+/LsxmDH6LG17UyHAQQFD66lLLwa1Z7RWQkXymZH8f19fLk0hIeYP8wjgJIl 7n1s1PtErewOdX92kmLVbPyZa7BCxPaDfZrEcB6TefpiAS/3hR2C8B6SS4wvqTAG0YBLXdsaW +Djb7S8oNyMuK9RzhfYJmYhoPV7J5QDJbwgcdcrxZPnNCzjZe2fKzQL7ulzB/u3N/TdA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add UART-C. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index cb3c82287223..cb7b11567437 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -103,6 +103,11 @@ status = "okay"; }; + /* Colibri UART-C */ + serial@70006040 { + status = "okay"; + }; + /* Colibri UART-B */ serial@70006300 { status = "okay"; From patchwork Sun Sep 2 10:08:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965019 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42383b28tNz9sBs for ; Sun, 2 Sep 2018 20:10:03 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727651AbeIBOZP (ORCPT ); Sun, 2 Sep 2018 10:25:15 -0400 Received: from mout.perfora.net ([74.208.4.194]:34933 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeIBOZO (ORCPT ); Sun, 2 Sep 2018 10:25:14 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MF3BF-1g6XOd2qxn-00GQT2; Sun, 02 Sep 2018 12:09:53 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 19/37] ARM: tegra: colibri_t20: use high speed uart driver Date: Sun, 2 Sep 2018 12:08:48 +0200 Message-Id: <20180902100906.25792-20-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:zHBDMKl2DjvqX8oRQjxcdUMec3kzh8HLBoQpJ3Smz5/l7G9IT0S GfUvoCiGXQlb5pHHcVrkgXt2NSyJ5Qcdal/XN2ygGIDx5T91T0pb+fwKxqBqhX7iH4vphyN ttXv30ZvVSnCMuh955Y/2QIOhMk3NYy6TU/SZEmTx3GTJoTrvr7CcdEpoSSQBo+5QWwlW/8 Dz9rSo3nS9133nDP+gPiQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:95GqZfX2vQQ=:wrgWiEk9M6D7DRDtXPYKQ3 P0MHDeg74GI5iOKQ2na8h0yji5fq8EUMSCpjSskzjyPmt0GqTdgekza+boI2S9u+LPSFfYKPG +EJ74wl/J0vWl/NiG0HL41039MWLXX4SGXVNB17EKQ0kDj+o51YqFsSFBvKxarzeGh4k8lrFv S8D1ubjVBMOQjXi9agGxeole3u5W4D6dijygFVIytSkOvHnzlblSvY5ZClBx0P5UUqeLOai9L oEsycriQYzQ/rHKqcc5vckoApLfBabQUag+IRWh8+yhZF1XeDAQoSWaQ7/+QETnc1enMG2gz4 3ceQIktrTuzXQj8SHIVLYfXXfWWlWXCayahALrm9sSOdSaiDbwRNPHr0JOWJLb1AyUwh0SgNy Xpzicw9oSPsuJ5KGp4FnPmGb+Bs8mN4da0zPwTE0ta5wmbLQD3RoXnMF9kitHEeQAf3s/Uvxk 4fZ4UvttG6RMMq3OZ8OBjK3rqES4guIM1JgBiRk5GfPVx37Ratuzpg58diXr5Bu8p904SO2I0 Ttk4BNfjflCzRuOLzn52HKMnnSLa/fhXaxbcuSNjhN5zg2Bq1jnj+gUJMuJ2vovveDctHuoMb t272WG4DbqZh5rIQhoHReaZWnrVvfS8rDGt53DvSU0JPRSRLSGDYQlrHJ3qtDs47nLfjzODge aT2323srHUYkyXWJvrKXBZmPc3uWsPYcklu8mTQ3vNNfP5ykYT4JG2MJ1/yd2hrX+Ub4= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Use high speed UART driver compatible nvidia,tegra20-hsuart. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index aa2ca3dad32c..86bfe77d9230 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -423,6 +423,14 @@ <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>; }; + serial@70006040 { + compatible = "nvidia,tegra20-hsuart"; + }; + + serial@70006300 { + compatible = "nvidia,tegra20-hsuart"; + }; + nand-controller@70008000 { status = "okay"; From patchwork Sun Sep 2 10:08:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42383c44vZz9sBv for ; Sun, 2 Sep 2018 20:10:04 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727495AbeIBOZQ (ORCPT ); Sun, 2 Sep 2018 10:25:16 -0400 Received: from mout.perfora.net ([74.208.4.194]:58471 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727638AbeIBOZP (ORCPT ); Sun, 2 Sep 2018 10:25:15 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LhdIt-1fZwfL23NZ-00mjHe; Sun, 02 Sep 2018 12:09:55 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 20/37] ARM: tegra: colibri_t20: iris: add gpio wakeup key Date: Sun, 2 Sep 2018 12:08:49 +0200 Message-Id: <20180902100906.25792-21-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:ycZ49IY+7CU19T7ui6UrhBjUyq8i7h9HLCFNdxiqIxSfmaUpA8o xX8tybqq6XTFXmtlvK68XShtDz4oYDQ9AlPxLUdbZnRMHxv0J+Q+PkKqL2FNw0FDWLtuDGd J8u1H60f4+JHc2z+EsHZ8FQGzTYP43kulMhgiG/fbkvjkw4+O0czwBCx7N7if/glRuDYnM2 OMr4nwpAOwIQ7Dgn3F+Vw== X-UI-Out-Filterresults: notjunk:1; V01:K0:25BIPaKGyrI=:1ioTNcecFkSM/VDCA5G7I+ hp6PMktMfQ0aLk6pxSKkJni1XY7ICZulCiuDlMMa1P2SoNsCqgPm5uslUs8I1P0BQT3CP4lcm 3t+dSr3B7ZepZoB9JZPaByLZLZ0oGS+e1KvTHyovlIY05JrnSKCJHnRLBhIZH4UMoAa5tz+Fo LRMWWkzcs1Aw19g5aGRSyBzoQPYPTOShn/VX5yFrZr3+x1KhX3aNBCRUqhunl36RDMobM10FZ IbYY8Akw4q80ZKnoVSWN7P0aPi0IEmP7ClQjyIRhntFX/80YgsnBwmgKGBJfgRfRXY0Vx2zeO gDd0oN37XOV0CmyA9UHfypCgKqXA2yvLdMXzwDOWNpiRgCtbgwe//h2g7e5OYEjdVEL6UTeJl Oz/wEDKnWrnzdIu5qQszzqGSR4R7b1t9s4xg9aR4e8wpXxm3W7eFmyhVUQL/+o3CfVV8bzHfB Anlp1WC/Ajcl2S9qpOzyKoTzBQwmTMz0zUgyHQu4YIImwiZLn3+0m9qQRq/SK/yK8Xf8142Gh 0KQ5iTbDaGf7Huzg1PjbFAN5ecfJJ+EH2mn0/j90igMVcy7Ah0+dDnvgtBJr1Vpz+A7BoIaD+ i4GMI+iyPMcCtOTKrpYKzt57Etxdeo3MNFhZBAzNBES0p4aHFtdazjWgajuHFYtddZV5osdKE AaAL61Q4IT8eAuKm99TLTgGNcm2Q/JzQcuD32CSaStpjkZwO7TeP1fYANzyTKS3/qHSo= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add SODIMM pin 45 as GPIO wakeup key. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index cb7b11567437..5b25e4b38a69 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; +#include #include "tegra20-colibri.dtsi" / { @@ -177,6 +178,18 @@ pwms = <&pwm 0 5000000>; /* PWM */ }; + gpio-keys { + compatible = "gpio-keys"; + + wakeup { + label = "SODIMM pin 45 wakeup"; + gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; + linux,code = ; + debounce-interval = <10>; + wakeup-source; + }; + }; + panel: panel { /* * edt,et057090dhu: EDT 5.7" LCD TFT From patchwork Sun Sep 2 10:08:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385b1YHhz9sBn for ; Sun, 2 Sep 2018 20:11:47 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727680AbeIBOZS (ORCPT ); Sun, 2 Sep 2018 10:25:18 -0400 Received: from mout.perfora.net ([74.208.4.194]:58649 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727638AbeIBOZR (ORCPT ); Sun, 2 Sep 2018 10:25:17 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M6DOO-1fgNVm1GRO-00y2rJ; Sun, 02 Sep 2018 12:09:56 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 21/37] ARM: tegra: colibri_t20: iris: add dr_mode property Date: Sun, 2 Sep 2018 12:08:50 +0200 Message-Id: <20180902100906.25792-22-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:gF78GoAJrenqpjkbRAclX+LvH9xNGJvyzm2ZXODMYJydDWpLL3D cOX+vNXUR3Av239ff4UeuNRfhjVzNyxnatezH7/YXjyjaFR+quhg0Sx1tvmyQGJj2epXnw5 s9m+IOZSvbfnErnrefkHKG0dSg6Bc/YdD5PfOlnpIEwwp0P7Pd/LsnO7iGnypjkkwf69rlw eXuGzUgB0NUhibeNPELdA== X-UI-Out-Filterresults: notjunk:1; V01:K0:fgeJnDlJ3+U=:Tl+G3CaGZztx3+tsTZ8Z4p Toz9sCvlKJ/Rv2tAvsEWPuwpSAjnKVjaGVvU0KeSmBIKuVKDZsqUUwSizP7bUP8dlOL/z7hAe OGjL8YpuFa9jzExU0IKsTDYStlIQzHuoMCo6fgSCKOaeawhNp6JuQ/07fXa+TIcPLbDAJRIKk EVYGJ53wh0x6WMXYI4BHtqoFZhrFiKxPfcUYXGAJcL9DJ98oUcvSIKCLJGcj29YsWDO2kqMn+ KFxexA4ovTPYHsGNsC8QBE1OtIICC3Vuqhb88HqSCwBTaNl1hPFeZjYLcMngaQFO7WACR8Wbd JfPXeTujX6KNeXR4sSYxNPuYaB0Nplkv573fISQVqDQIFRPEiAWR0DLeCA1rn7qKgWgFtMaXd 8V9xCQajHsaqRRlL5JHccOF/pdHTZt1ufSvKQq9HP3t9mcWmdV7vF+U/oTKvNtodGYppaSl80 SzVW60/xzjbMh0nNJso+A55EPFcMVKveGpX/lDhBCi+GvV56yOY40aDHzUPgEWICawKjyl/nz xL6eQldoEIVsRmTk48nP3Qe+LTKyGNrwF/2CIZSPmCcXRwYRKjmsuP1eUjAEkIGD9sc0C05Sk vM5q4Sm6iDM5obUN1dzeH4zOuWqOoT0rtOORt+3KdG+V+n0NsLqfQu8a5VAFpVFh8hzXBnHDI LNxUgBsWZdDdY1eYR3+8L3wkEDnTzykCDncdhtBtigO+pwCSpMVV/36wD9NOXAqRsuAA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add dr_mode property to the USB controller. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 5b25e4b38a69..7a7530820188 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -145,6 +145,7 @@ /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ usb@c5000000 { status = "okay"; + dr_mode = "otg"; }; usb-phy@c5000000 { From patchwork Sun Sep 2 10:08:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965039 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385W1nTdz9sBn for ; Sun, 2 Sep 2018 20:11:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727700AbeIBOZV (ORCPT ); Sun, 2 Sep 2018 10:25:21 -0400 Received: from mout.perfora.net ([74.208.4.197]:53423 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727638AbeIBOZV (ORCPT ); Sun, 2 Sep 2018 10:25:21 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MG8Zd-1g9pBJ0PO3-00FJTY; Sun, 02 Sep 2018 12:09:58 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 22/37] ARM: tegra: colibri_t20: annotate/rename lm95245 temperature sensor Date: Sun, 2 Sep 2018 12:08:51 +0200 Message-Id: <20180902100906.25792-23-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:pq7wjv1nAnNG7mYCn7ZGRz7iv59kMqYW4rfFdvG2BOjHMZYDiiQ lIhnoKWaz0ulbhy/9J/frpYNNFgxfL8zF2iSmShe6hLOFyNoN6W2fhW7I/9KDzaSAk1l4ar dhWSoTBr/6reZ7/qbr8/kYSoyIR/COI5Uqpv+2kxdghncUduTUboP5NuR4Cyii4dtHJX/1J N9CA/WIxc/khcJ0ulFaOA== X-UI-Out-Filterresults: notjunk:1; V01:K0:3vyB3Bwr+/0=:5DVnvDOrU5SOi0q9Os5tgy hEjltr9ZvueelOugSfTZbEGKB0BgLWR/D30wiv0lgj0fxIV0qNzzs12zmnpmdSK1tmeroBcPq xs9bJnJ1tvTUfFGEXEWrMWqiDco31cmB2UiR72CP/IF8j3PeM2aTOWzune/bA4cj+HrMfEXQt +OS97ndzqeCSdyxd30ASSmqWb6xS6F/hzH1s61HWCMKJCHdDhQxh7mqPUtxFtHEO6x44fOjFX BcURE344EPAWPa4z9nTFvCdUz7crrQVor8awTP7VAeGaoidyZdjpBnoFouTtH2S5d96DOnkZr hoYrrtKCaDxmCxwLfGX6AsljuZvdMss4jAOIFiwVngNr4EjfM0ysEwuuOvKZJtRo/bEfve5Di SRt1CxQVINXXtlgWZ3zXI0YjzYN+wX50EkSaH/FcH2U9KclPtNh7vdqPyxtukc8ltOyeaixn6 LSkrL3DpxyagOrubKZHBA1G+wEOfAbt2xQUwlaW/JeLDlJT/1op787CP8lFm8VH8YHo3qbK4t TWqtMux4sUVAaoK/eve8zcSeBo3nDJFBT/aLDqnMB7e94Y/FJfoePi4kxuxIp3xLS+I3F5VXX 6yKz9MJC8PUfzpPjDiERa/L4UJGK+772qPqw39GQO+hnyCCgTvRr9sP4X1Xb7Np9aOOnvDOiC 0jLHvsr+QPLygrgnD2fnh0vsInTfJ5QRyn3WUCUfvTcfvi7Z3MYgQyDMb/1cXkqKvYqY= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Rename and annotate LM95245 temperature sensor more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 86bfe77d9230..477d67ff74c6 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -584,7 +584,8 @@ }; }; - temperature-sensor@4c { + /* LM95245 temperature sensor */ + temp-sensor@4c { compatible = "national,lm95245"; reg = <0x4c>; }; From patchwork Sun Sep 2 10:08:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385R6SYvz9s55 for ; Sun, 2 Sep 2018 20:11:39 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727723AbeIBOZX (ORCPT ); Sun, 2 Sep 2018 10:25:23 -0400 Received: from mout.perfora.net ([74.208.4.197]:51001 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727638AbeIBOZW (ORCPT ); Sun, 2 Sep 2018 10:25:22 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lh4nx-1faUMa3js7-00oNB6; Sun, 02 Sep 2018 12:10:00 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 23/37] ARM: tegra: colibri_t20: add i2c-thermtrip Date: Sun, 2 Sep 2018 12:08:52 +0200 Message-Id: <20180902100906.25792-24-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:8a0DfnnhncQtYXHOAUEVzvEx0srnhqeLtb4IRhBl03efhqlsLf2 3fqtyRLunrH3eMgKAoKMYzeIjR+Vld4OxMbaDFthMIidL+Si+mZTySCdjfYn8N9IVd4YdX5 SxuXAY5Cp9Z3N8ON5TfctBOuNV3qThK1+ID3P3q1qrbTibdVqf5AREAUI58lLdU6gBazj3o 6z+I57sYRNTT234vhm24A== X-UI-Out-Filterresults: notjunk:1; V01:K0:Z2UhjTbSavs=:Kokyf8CN54X4r8Ug7XkzKA BIBdVIdIv+osW51aSiclGclep/4awqxUQ6mtES+2kBRIr6WzsrDFZtDImYCCb9w4R0OAlsbrt w5YZnqT5ulIMKVS2qYOibGbfxuDnB/bytv/zayrnpAQd7CBUShCxipVmurhy3MHs2oBZyusvn JKAJr1fA6kOz6nkJWaWo+cPUrg1tlSniVKJvH+FhtfItaQKtOJo1aTQEoLTdPHRdfbgFrS9qU xcG1Yu7RhooTvDosH/726NAfdeyVZJb/J1S/pYfkcfkt1bB/8CXQ08w1p0KDxLoBHcDDVYmC7 QitgrTgbfnTjLtLnN8rtjFr2Z8MdZcGEYQlZRUmK+XGAb2/pc+uzX7tyMDbymuLKVLYsTEZY3 hJ4U4VIqKFSnmZTfCjrZ1uuT8DR+Apcz3CWbDjdW6demd0qJTmi/P6wIM/VmOAMq2PAIFP2KM tNeM4rZPxM0JwQJtBugh9MyIk3STW4IOWqKw6Ub4Jv2ENFp1K43Exu+52AdOT7UmEV+x6pjxz EX48yecHK7r6xHD9W7y7hpqmkaNjCan4X1NXUpzdd+38NWSgpSyJdI6OBEncgPnfVDhHRcUWp 7Q3ARiiYl6k+F5l5vW1ZFLbFkxRfsacJCBbEtLMKpyqwJkLQr9ZKTWIFMTr4RNZF4Xg4dGtPj u20/AWknmqv5arRcAOke/liWBAAnlZ14UyLpbDdg5FpNWdirLPFiEHXIjf4yEkQYV2Zc= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add i2c-thermtrip which would set the SLEEP MODE bit in the SUPPLYENE register of the TPS658643 PMIC. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 477d67ff74c6..9ec56f49c30c 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -598,6 +598,14 @@ nvidia,core-pwr-good-time = <3845 3845>; nvidia,core-pwr-off-time = <3875>; nvidia,sys-clock-req-active-high; + + /* Set SLEEP MODE bit in SUPPLYENE register of TPS658643 PMIC */ + i2c-thermtrip { + nvidia,i2c-controller-id = <3>; + nvidia,bus-addr = <0x34>; + nvidia,reg-addr = <0x14>; + nvidia,reg-data = <0x8>; + }; }; memory-controller@7000f400 { From patchwork Sun Sep 2 10:08:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385922Dlz9sB4 for ; Sun, 2 Sep 2018 20:11:25 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbeIBO03 (ORCPT ); Sun, 2 Sep 2018 10:26:29 -0400 Received: from mout.perfora.net ([74.208.4.194]:43313 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbeIBOZa (ORCPT ); Sun, 2 Sep 2018 10:25:30 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MhCAZ-1gIBR22tdJ-00MVFi; Sun, 02 Sep 2018 12:10:02 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 24/37] ARM: tegra: colibri_t20: add gpio hog to unreset usb ethernet chip Date: Sun, 2 Sep 2018 12:08:53 +0200 Message-Id: <20180902100906.25792-25-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:ipKnDjVzYG95N7n7wL/inS2/3hYwnM4ANHk1Va0Bf19JojV4vGk esUbhEu3Imw6fP+sLLJHdfS9iQphraLScXu4epgVWqeLKe+TkleSLTeQkHYA2klvgCyKwj7 W+yl+XKzbvc3V3NNb1IiU5JRv783WnNt2KxvjdkN3jw8VOb46r7X34y/uTKOu77zHka07KK ouy3nBfJBM3J0mmlAE+kQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:X9OYHmP5Vw8=:XeTBXD2mC2B7l6K+RLTz2Z 2uxOy+i1UPDYV1IqEu7kix2sNCevdgeXhsf0oAnvX4u9MZMMUElLLpt/gutLrXGSwOBjQ8GKp rkubUvIPXAjQLhZ1P6cUL3VNsRx95O8g1EdkvTIeMPTgLmbN0PjVi6UKkVJqTKftaBKKP4ZRo l6ENep8efJOzBwfESqGi4g0VrjtwmN/8AieAVtSS/jXlaC9cu3SSWIzvSfaRzjI3HRh0IEKPB HyuVVkb81XkRWUXhzrhGL4sMtY1OVCnf3iJb1W/7vxThGQp7WQ90Sr8AblNv0nDEZpZny1yHF bhY+ZzUDZjU2QmEur54BLdogQxyQLniAuHGrdfwAGhaoDO3THuElGfJWfoYApargy2TmNIbUP ceLKR/Y2NXbs9r0kI8fNVErUNqjqhy/dloIjk3pz9Ag0ITNQXcI3ceVtT1RvDNQJG23GpBkYe N4tRMvdIrIaX3fpqbBbDAhCoMNK+zH3nuTcABmIRM1VmattbnaA6VZCh8OeyFWB6wVYDd6oQl b2Xbh3ZCGhXU6IPGkLxrTM3klJb87DiK/dYzw5LlQ7vtuitwg9VYdakHToxOxKqNHxGv30Afv DHRe4vMzxx132sHarMxqiZDljHkxIHtRMBUgl1YE1t6cpJTHFw2PpIEr6/O09X9glTx7T6N11 9kzG4tjWO7nbx/mWJTUQlEhmS4tzb4NfEz5rgs2Umvc7uy2nU2uKH7oobIF7dNOeOiUo= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also replace underscores in node name with dashes. arch/arm/boot/dts/tegra20-colibri.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 9ec56f49c30c..281e0dd11565 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -749,3 +749,12 @@ clock-names = "pll_a", "pll_a_out0", "mclk"; }; }; + +&gpio { + lan-reset-n { + gpio-hog; + gpios = ; + output-high; + line-name = "LAN_RESET#"; + }; +}; From patchwork Sun Sep 2 10:08:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385B4ngBz9sB4 for ; Sun, 2 Sep 2018 20:11:26 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727767AbeIBOZ2 (ORCPT ); Sun, 2 Sep 2018 10:25:28 -0400 Received: from mout.perfora.net ([74.208.4.196]:45689 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZY (ORCPT ); Sun, 2 Sep 2018 10:25:24 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MdMQ9-1gDFUW2991-00IdMe; Sun, 02 Sep 2018 12:10:04 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 25/37] ARM: tegra: colibri_t20: add gpio hogs for gmi_wr_n buffers Date: Sun, 2 Sep 2018 12:08:54 +0200 Message-Id: <20180902100906.25792-26-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:MdY14yE8XR9FlqYu3hFYaJMvW+9myzzQcy2gKNmifn/k+us9vat llMOqITR9wMjXD/hpPk65UZyivDBdmCA91+zmSwTzoYAGNm/mz12SXf/LPBupLeioKLEVPc /i0F0xgUeDLQBKbiaVjchg7MCkRCwZ7LuzCZ19g5hfrnYp3QUSrSmU3ZJeYUY0nJgDguxCQ KWwqr0vb0Sy0+LLqZnVLA== X-UI-Out-Filterresults: notjunk:1; V01:K0:+Y+ca8vidq8=:1W4smz63ssxYWmZJVGFL07 a/qTemBV+xpp4Z+MDipa5zn6ZGImYdYM4fACtW+tJEh7qK2TmXo3kR9AAd5D+C9VUOhlE6231 8qUPW+2juD0oKf6zYzqvEjOtEJjVGo6fYhAYugvkLJMPKK2WGiWgdHCdMjgK3JLoI7+a+BTEX UEB5DWpFe4+e4y3S0r8AaUO4cDS2MSyJq47q34Y3GDIDFazFEtkdsC3m4Dk/ZUJaDy6RhH0RD oimYXkoMZKkR7nLP2rG5limUsLFdFEg8/jJRV5zfuKKeNzYbYkqpiIaHd9lhJ6FGHyq08PpGF aMdL/FUqLaQh3q6Nmew4QRAFt+gWjNkMCxQF8i5Fm/1HO/hxPaJJvO6+CCtlRi3YvlyeJEVIs r7aHuP19AnrY2t2J658DlGMHh1JRoZDOxVvBXXM5wEfZhFj2H4f16RSq3/4Fgb7sAI+v/trmU 9px/n4RiTq6hxk+jkqDOZ08z70/qo44V/gXSN0Eqy9PELPAF+q7Qs1Sz+qnvl6lk6a7a+QTqQ 3hrbGWdpWd+92XxmWN087talNgVJ60UzXhAbYilv5uEBrxlpOBAeVeLIPNgkytID4sNd10YDF m47h+jWnS6syxyW8TyMF0TXA+Hua1hjmkM1P21S1dxtdQQcvGIkU6IgsO6X/lbMZrLCy5p6q9 CwhBYKy6XfOTXSRTGGZBCghFTOHAbg0LuNcvZte1WZsDGx2GAL313I389MGw3bS60tbY= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add GPIO hogs for GMI_WR_N buffers: - tri-stating GMI_WR_N on SODIMM pin 99 nPWE - not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 281e0dd11565..aba56b447bcd 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -757,4 +757,20 @@ output-high; line-name = "LAN_RESET#"; }; + + /* Tri-stating GMI_WR_N on SODIMM pin 99 nPWE */ + npwe { + gpio-hog; + gpios = ; + output-high; + line-name = "Tri-state nPWE"; + }; + + /* Not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR */ + rdnwr { + gpio-hog; + gpios = ; + output-low; + line-name = "Not tri-state RDnWR"; + }; }; From patchwork Sun Sep 2 10:08:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965037 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385P45kzz9s55 for ; Sun, 2 Sep 2018 20:11:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727789AbeIBO0o (ORCPT ); Sun, 2 Sep 2018 10:26:44 -0400 Received: from mout.perfora.net ([74.208.4.194]:40815 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727638AbeIBOZ2 (ORCPT ); Sun, 2 Sep 2018 10:25:28 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LwYMD-1fpxsg1EaN-018FTY; Sun, 02 Sep 2018 12:10:05 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 26/37] ARM: tegra: colibri_t20: annotate/move sd card detect Date: Sun, 2 Sep 2018 12:08:55 +0200 Message-Id: <20180902100906.25792-27-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:R7RUuWKSO3LtuiMkNDV8xmgffdIjKVKiJRPT1uEmb6jtz8RAy/A p3t7zzNyqZMZRac4yYVQH7wZ5w0E7K9Pg0L9tlNWHbNFzPPtmCT27ghKQ7xRiTwgwcJLXEY 5VX7Ial4Z1afB63seQP0M/hyzD6L9t1LHdnBjpZk74PmPRtDOwLuHYEFB0S9AVtaYq7NCYK PQrJDN54bhMVp8t4S5crA== X-UI-Out-Filterresults: notjunk:1; V01:K0:aiXRSdUXs30=:UHdTqqiaO6ZLbv+l67FYdB 8Xw8WzxPymz+6p+wh72whiUbmphyc4S8D4wMxFlG4aDTf+wvN0/OuM99qz/tw8t9nzgz5W9m/ Rhm230bpcyeTXisttE/1vDypq164Kev3obowkdgKp+HmPhnFJdad6UxSVdtxoe8DTi+eL5HZt VaHh+cas++QQ8YHcWs2veSfS1CYpFo5Aay0NhZtkPRxmWNTO+aTRXxWMXndTOeSy3TKAUIJV/ xzyQLGWyMHq7jijojVIWIcNLWyAuXiCxI1JDajGQgjB8/zgHm69QCAXjgp+OlYou+DnCvchPe NKMJDhHpmFDvOyPZKXo9eqMr8bisDR92yuN50kjfIQ/eeW/FIdZPwWQHH84dRmqhjlAIerGSl D6ACv0b1mp5Ly7Y6YIXfKW4/nv2Xs/e0RjK8i9jOyZR/vvcxFprKiUSI6ZSRJdtDOg2G0wsDh F26T7ELut5JcFZ53twSe6MrmlXt82tY9MW3+rYDOpi1aKklGCUe9zetu4OF+lE/yujgS4Ortb MRiF5U+gEqjSmh1ioeZv8y0eakatSGFfBpnd37SVJISn5PWMgAYwuX/hEx0rxeL9pgsh4NSxV 8c5H4DmpgMQmEdubSxmcjN7HLNOSX2pJ+JjXekIdbnL9SrWvP3FcR/RRJtAl1fYlG6i9raTyJ j7pTEXZPjURrFxwfesa40Vvljk+fZvqJorXUG7OEO4beMQKGezysgL0gy8y6xdVJIfrg= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Annotate the SD card, its detect pin and move the SD card detect GPIO definition from the module to the carrier board more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 7a7530820188..1583d5118302 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -163,9 +163,11 @@ vbus-supply = <®_usbh_vbus>; }; + /* SD/MMC */ sdhci@c8000600 { status = "okay"; bus-width = <4>; + cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */ no-1-8-v; }; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index aba56b447bcd..6b82485ff58e 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -698,10 +698,6 @@ vbus-supply = <®_lan_v_bus>; }; - sdhci@c8000600 { - cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; - }; - clocks { compatible = "simple-bus"; #address-cells = <1>; From patchwork Sun Sep 2 10:08:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42385D0hvQz9sB4 for ; Sun, 2 Sep 2018 20:11:28 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727759AbeIBOZ2 (ORCPT ); Sun, 2 Sep 2018 10:25:28 -0400 Received: from mout.perfora.net ([74.208.4.197]:56677 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbeIBOZ1 (ORCPT ); Sun, 2 Sep 2018 10:25:27 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MZW8Z-1gChn80P7t-00LOFi; Sun, 02 Sep 2018 12:10:07 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 27/37] ARM: tegra: colibri_t20: add compatibility comment Date: Sun, 2 Sep 2018 12:08:56 +0200 Message-Id: <20180902100906.25792-28-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:NEX7TsJGxcdobVRD3SppjxNGT/clFcHxutk2qCnXW3qS2In4h68 SyB7QPsTgLltH92H5X5LjizAKhx9ipdkfOqpgoixqZBMa6vnv/Rv1R1zyNju4kDrW63e0E5 DbGzbmdnPpfQZBGdjz15aLhQ6iPMlkTz7Y+n0OPKheC2YB/bQvOfL8oZMloCNLgNw+hgQVX xsB+PuJ80uBMz35GhBLZQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:JoVFV05fOz0=:cITfs1h4a9PtSYPXOSZFI5 xQUTHpk2HwlV2hLbUyJ3qBVZuFfcv11837oEYI07EOC1DCXzKF7pRvOXYcVkninMvVROM45pt uXgbcVvxEdHyB3ehYH2j4vZqG427SMxGjGH4A/CYNMPZ8p+I8OLomvfKtGAh0efsJU0gFl88r 5CDGnOUIVqQ7RCtEOOfu3Gb7vrIpIB3rjbNhtcka7thqJsCrcefjwP58Tmzh7gt7X7kUDokbJ Bi1z8NMt+qlEpZa1NXEA5PVIzsN35yUDQOvaKeKVby5/nUQ0zcyXvFNnYG4aMzZjeTZdlSkuB msolKWM8EBYNf4jQHSfRpXIq4njoXsboVFVktZQvWdM8+RqPszTENDIxoYHt3IBmW5N0PaW79 /wbV389jCCkfLqbO7S7tfD9Pq/qmSOmlX+x7IK98ufUoQdePlodi4GOoYiCnACB8yU1EeiexF H65wWc6yQuB4lXzGGy+gYx3E9MJXg/8F7gGoybGrSGkZ2sdvZWbh5nfzOG2fbVSJdxhIY4foC CfhMrHZEaIJhj5Vei/f1cPwBJMfM03q0OK4deoulZbXmOee3JcdQP/CXLsXMXDHMBodEaey57 JupWT1n2nFPeHCW3kMy3nfpiYuR3rwB0swa53QZEb8WnruZcpB36Z6rLs56+k6eu/MLjrbHzI uaKzckWNrdT9Icc3ApPlO5DzlFolt0rXdlKQnXe+mvC3aMwNSRTN89s0ORvctX/u6sFk= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add compatibility comment. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 6b82485ff58e..ea785f65c89f 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -1,6 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 #include "tegra20.dtsi" +/* + * Toradex Colibri T20 Module Device Tree + * Compatible for Revisions Colibri T20 256MB V1.1B, V1.2A; + * Colibri T20 256MB IT V1.2A; Colibri T20 512MB V1.1C, V1.2A; + * Colibri T20 512MB IT V1.2A + */ / { model = "Toradex Colibri T20 256/512 MB"; compatible = "toradex,colibri_t20-512", "nvidia,tegra20"; From patchwork Sun Sep 2 10:08:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384z4Vfsz9s55 for ; Sun, 2 Sep 2018 20:11:15 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbeIBOZa (ORCPT ); Sun, 2 Sep 2018 10:25:30 -0400 Received: from mout.perfora.net ([74.208.4.197]:51331 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZ3 (ORCPT ); Sun, 2 Sep 2018 10:25:29 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LsAe1-1fla9u0AJj-013pci; Sun, 02 Sep 2018 12:10:09 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Mikko Perttunen , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 28/37] ARM: tegra: colibri_t20: simplify model and compatible properties Date: Sun, 2 Sep 2018 12:08:57 +0200 Message-Id: <20180902100906.25792-29-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:g4p6nmuyYhjSBZg5aIG6XobmQ0fFQm9madx3osLLX/x4HaRl+G1 H47o4149opL4B6yBiJc5sTftTRRPON1MkNndVvAhr8gBMKZwGGps2nOEk47pAbLG95bx0d4 HfwHQKOOSLb1r+bo9gtapuwdAEXHY7Yzyt4U+WqYt4ew2BL3GK+Uv0R62p/AzYhoa+ZXatA G6TXF2SwuwkJo9o942fdg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Sao88or5CLo=:vT9080wXfg1UWoGIG6umef fA1hrYc89EyPBPdB8xeQC6RB+ie0S7g/EJA9fcQXJmp55xt+Z7fcRxU02CYBtWBsIp2finP24 rO8RFPp5rdJJBtl3XcxZjZCRlQpjI0nHJzg0PRQ+2mRN2FmAeJi8V6N0kYQeibiqy+OprJUlP OiW1C9ksNHw2rej/6h5UOJ8W2acVN/pwyeZsje2Ov7z73PJFS6ARaKm3ONzHXfcugsL3Nh6G5 fX/3mefgZ+tEgRhoOogUGmNtGOYfsfRvqfE2nxGGwRQhlrlscHulAtb9wPBKqaUlW7ftSgElD 4vBLq1I03G3Qroq8fjvPqR5Y+mckbg2AGiov+39BeJ+I3kFQ5X17tDxsgtp1zblJgYzXMj75F sOaKdZJHCu8qgv2Pewn9iMQf2qvlsKzOVbh0lzMrRQZfccZodOU1sh6j94bN28XCNn9GT8L0+ bAe1t5ptZ+rI4s/5nGSV/VzxPBBwTnSzrgCb+0gA60PfDdLF6pLuGuqXfHtq48tA5JVQo1jeP rcSDu+XS2Tu4j89Gb2NG/rHxkkgh+ktrxgLjmpP2iuOF94COlTmFc8dHzb/tMvFLISXquKgQt O8v1BtbK/m6j8D2Z9hV1eWVassEGQISnPwP94rqMVs3AcgRcXKf79JvZjerDrVgjtBh82TJ+u znJf48cEDMQ9ojPDfjy7y1TbQOT2sPR1IOyTAzxAR0ZIbkd+AHaLnqr8qq75LYQq5mOA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Simplify model and compatible by dropping the 256/512 MB from the model and -512 from the compatible properties to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler Reviewed-by: Rob Herring --- Changes in v2: - Also reflect this change in the Iris device tree. - Also reflect this change in the device tree bindings documentation. Documentation/devicetree/bindings/arm/tegra.txt | 2 +- arch/arm/boot/dts/tegra20-colibri-iris.dts | 4 ++-- arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt index 1c90cb32da19..5e1b0b30ece2 100644 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ b/Documentation/devicetree/bindings/arm/tegra.txt @@ -53,7 +53,7 @@ board-specific compatible values: toradex,apalis-tk1-eval toradex,apalis-tk1-v1.2 toradex,apalis-tk1-v1.2-eval - toradex,colibri_t20-512 + toradex,colibri_t20 toradex,colibri_t30 toradex,colibri_t30-eval-v3 toradex,iris diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 1583d5118302..cd47ac5b528f 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -5,8 +5,8 @@ #include "tegra20-colibri.dtsi" / { - model = "Toradex Colibri T20 256/512 MB on Iris"; - compatible = "toradex,iris", "toradex,colibri_t20-512", "nvidia,tegra20"; + model = "Toradex Colibri T20 on Iris"; + compatible = "toradex,iris", "toradex,colibri_t20", "nvidia,tegra20"; aliases { rtc0 = "/i2c@7000c000/rtc@68"; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index ea785f65c89f..53e06f31dbea 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -8,8 +8,8 @@ * Colibri T20 512MB IT V1.2A */ / { - model = "Toradex Colibri T20 256/512 MB"; - compatible = "toradex,colibri_t20-512", "nvidia,tegra20"; + model = "Toradex Colibri T20"; + compatible = "toradex,colibri_t20", "nvidia,tegra20"; memory@0 { /* From patchwork Sun Sep 2 10:08:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965021 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42383w1nMkz9sBy for ; Sun, 2 Sep 2018 20:10:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbeIBOZc (ORCPT ); Sun, 2 Sep 2018 10:25:32 -0400 Received: from mout.perfora.net ([74.208.4.196]:51345 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZb (ORCPT ); Sun, 2 Sep 2018 10:25:31 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M8PFU-1fiZTk413q-00vpw9; Sun, 02 Sep 2018 12:10:11 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Mikko Perttunen , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 29/37] ARM: tegra: colibri_t20: iris: simplify model and compatible properties Date: Sun, 2 Sep 2018 12:08:58 +0200 Message-Id: <20180902100906.25792-30-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:3xWtz5YCpVcC9AxGTLkp3Wt2eu4HfuoOfkoNx5K27cbyL3+lFGm 4u1DGykDYkRe/P2xgID8nrLWd5KSmbM195rJ4To6UEkyRyAeVK2f+HTHux8MC0k2kxS6nUZ dgFUAx4WrSbPQbEEQXs5Xsrh6yUUT12hp93zb0GPQMxsj0uu19C70ggHdgo9K52ub/sNO17 5sWGtTg7E2LqToPyr1/jg== X-UI-Out-Filterresults: notjunk:1; V01:K0:4SWOHqffU/c=:tE9yRpky+o4xbwBObHiN+x MCHKJ1P6oKiEYhtLPBixRb5zcl8OKuE+nxf/TQj+5Scg0JB8/e1csCfrf8mxnvyRhxMd2B517 ByQaDjSTvJorg6EStmAi+3kfqC3VaRsg+MP4P0uuUbXrc1ykdbJNBW/FUeoDRPrRX+l3d6gwL p+bwlJqDXWuiyrkB0PZS4RLQm56lgZHDo1kXHEhq2ReSS+78RE+plMbkmWi/O+TDbNQvF002P QtOdf4CfjR38c2/a3b/aGGgCXvqfnCSX60LFzogKlXSkj89uXfEtp6piyHyvXuXkSa04fJTdy +5jzu7Nqn6Tjflu8oIAFip+zZrXbBhC6QR6jyCmpeuXzgCbh22VhokSJAJMPtfzfGYBNysLGH 1+15YMftLzLrn/iYcK30WbpzJtBFUxKWQvF4rWha0LSMUPs8YVBi3oaPlBPJeR009XsFpJ2ij rbcG/3m1xjTGLheaN4bjQZp5Hgj7Nx4vyLBscW/ImK7sN28qc5h9sbFN4B0oIJiS9ur/DRgzU Q5Dz5h62DUFiOkVDk/OBbKKcTNzEQHnmYPwc+D17VM25lNUUqJeqB9ZmQ/mMawqm76JQOl3rF Fqb26IPyN2+u+aUocbPeqCp8mI5HxOH5X1Cd0h/KUUjw5aOJctRqTj1XbcP+3nSToPN32EuEP 6TuBdkqOxjpA8KLRlDRYxCuqYndYB9FGeGCajuQUqHX0f7U0Kt44VY3ikfrYf9jyTl0c= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Simplify model and compatible by dropping the 256/512 MB from the model, -512 from the compatible and rename that property from toradex,iris to toradex,colibri_t20-iris to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also reflect this change in the device tree bindings documentation. Documentation/devicetree/bindings/arm/tegra.txt | 2 +- arch/arm/boot/dts/tegra20-colibri-iris.dts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt index 5e1b0b30ece2..0909122a2bee 100644 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ b/Documentation/devicetree/bindings/arm/tegra.txt @@ -54,9 +54,9 @@ board-specific compatible values: toradex,apalis-tk1-v1.2 toradex,apalis-tk1-v1.2-eval toradex,colibri_t20 + toradex,colibri_t20-iris toradex,colibri_t30 toradex,colibri_t30-eval-v3 - toradex,iris Trusted Foundations ------------------------------------------- diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index cd47ac5b528f..dbdf596dd151 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -6,7 +6,8 @@ / { model = "Toradex Colibri T20 on Iris"; - compatible = "toradex,iris", "toradex,colibri_t20", "nvidia,tegra20"; + compatible = "toradex,colibri_t20-iris", "toradex,colibri_t20", + "nvidia,tegra20"; aliases { rtc0 = "/i2c@7000c000/rtc@68"; From patchwork Sun Sep 2 10:08:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965030 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384r6PXqz9sBn for ; Sun, 2 Sep 2018 20:11:08 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727833AbeIBOZd (ORCPT ); Sun, 2 Sep 2018 10:25:33 -0400 Received: from mout.perfora.net ([74.208.4.196]:56719 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZd (ORCPT ); Sun, 2 Sep 2018 10:25:33 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MMERP-1fzQ0f350X-0088jG; Sun, 02 Sep 2018 12:10:13 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 30/37] ARM: tegra: colibri_t20: iris: add colibri ssp support Date: Sun, 2 Sep 2018 12:08:59 +0200 Message-Id: <20180902100906.25792-31-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:wblQJFnePNaQnhsw+QoKUTwkeB/+ZjGUbb+AVI3tgmPVDWoE2lp utBgOHR2T1+7Y37O65x7fG5OQUVufM+daL5r+JFSTo50/4qfIBQOcei0+MTqoICswmEnnEm a0yMPVMzS0EXoxOqKQ6qXej7Wtgn3L9KUbTqEm0vHo6jZptJW9pSJJOx8Yb/Hb2NSNMoRb9 A57QUFVU5wIYMd2j3zXcQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:+3Y+hnkGEgw=:sdPdRPL5cC//ET+6vrMzhS 9YTugs/br9dgZQj3KLGUECsMMW8wB01q91MHal08PbHub+4MDvBSqt8ayd+oCnxNEUXhbdun2 FzwXEA292JKkr1UVrF1hcHck2w/veAKFpo2AwJhQ2F3HdGIwhUc3o/3Qc02J9WqmAj4l/VLa8 a6Ubu6DHsjssM7vh8zyKDAZrGxTSYAuD2y6fBAAWv5eNETTUcfGy66K2mCL1+VOQLnuMqOAq8 g8E1kHKzeY1MoY+qwsLjGkg9shN5KlIokzY7rM7yzf29iRcbkwXnmVL8Qr2fP8ybaTgR4dW2Z EAGWfHl8za9fRg7GZdvumInoADbqFmT2UFLfa+BFr4kjN1D7aLhf+wr8WfPBEDkKK1Cx52US8 lCxS4IGMvUN4tW6VHACTund35WlOdqORvqyZFTcbij8SIpjVAER8Mkm/0X4nRc2hofCrxgxH0 6fnc3P1oy1r3+40nR8p8bZSj6cnCel4gwpSSZVqjlP873rQ26RJS1YfyifNp341MGe+o4BdDT OZpgRJggE6saMPCxra76j8mdzDMO7sa6krKyA447+6kvoTOa1OCtstMR+KyifKUyFjPHkSbt8 33sa42v65yQ0R5NbAHmj7Az3U+37jF22n3x2M4bHwN/UHMQ3IBjaRgkOi+67uGcPVHZzI/Maf M1zxT5cp/C/NniKmCiJW0TWzG2o0xBTUlZ7lmJZppQ5gqUAc+TBNv0k9SXLPwqro+8cM= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add Colibri SSP aka SPI support using the SPI4 instance. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index dbdf596dd151..b16e04dfa31f 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -164,6 +164,12 @@ vbus-supply = <®_usbh_vbus>; }; + /* SPI4: Colibri SSP */ + spi@7000da00 { + status = "okay"; + spi-max-frequency = <25000000>; + }; + /* SD/MMC */ sdhci@c8000600 { status = "okay"; From patchwork Sun Sep 2 10:09:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384h4dYGz9sB4 for ; Sun, 2 Sep 2018 20:11:00 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbeIBOZj (ORCPT ); Sun, 2 Sep 2018 10:25:39 -0400 Received: from mout.perfora.net ([74.208.4.196]:54513 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZi (ORCPT ); Sun, 2 Sep 2018 10:25:38 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LhMBi-1faDkE2MpE-00mSIl; Sun, 02 Sep 2018 12:10:15 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 31/37] ARM: tegra: colibri_t20: drop module level model and compatible Date: Sun, 2 Sep 2018 12:09:00 +0200 Message-Id: <20180902100906.25792-32-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:e1PAnxMQr9Ps1Q/eaGL44j4XwUpmcgTRYvSgaHfBt2QrwGBDDE4 659I9oU7rOQy7avvdEfbbEX8nMaLfCFAMYUa4RhbIE+wBn1NHoQ7l6sr5UcsfauxLaMQAsz kjE2FfXdIVi8c2wlBIB/Tj+0NJJSprw2FxCtMbDhbMrEYk1p5sfqhaq9uJvM69j5RQskBZE w05O5Dl/HQ6HqxyaUjOIA== X-UI-Out-Filterresults: notjunk:1; V01:K0:VLK5nc3ibsg=:d/FPdvoRJOzFuXFZuTdXtB a+OcLWzj5/2VKYcbZtOIDsd2wOuo5JWR8CfMwTPkzrHNHn/v+s6pntkkc/uXJM1n8kKWf+J4q cr7DaHzFhGm89BjxYV9fTr9Dr/ZcWOu/YeX2hcRget/aUHVycOE6qQRHCTMKQJJY8I+/PwlLs 67VJ+tyyfgbbqJirhJ4MCuaw+FXO3PMDQLgPdDiIvZ4P9JpYB69SVQZIxr6M0/tLzUX0TcB4S hZubwaijPsOKURPzzxlpCfGwLMS5X9s9L5t5amtEOn8Y5fgxiJRo+v1bBx3BjACJhDhVP4fE4 ymazgSpndgPmllwt0/2x6Sfnc7kcnvIDv1NWuLDAOnDTvhnub9zfTaqvzfxkXufdxSxYtzGyA 9tPWVYtnT+CL586XUiZUgtM1cLkFJbmPVbaCWxI3ZB/701atT/Q7544Rxyd49kgFf7Q3dtuSf NtSTp0aZOW/buVG+uP2SSUJylTS1Y3ejwqSB8iDGotppIqjYnCHZ/m33JC8rDGTWFcsY65Oaj ubzhm8+HIf5BXXoRmFXrhhSRr0888BXSgRjNXOatl7iNGuc2yTSOmQqMZuNeajGL96Q2BgQJD 1Ybx0noRMw9m4gweYkOZDWZ+eESR31J1hdR51WEfJAnum6k17EouPb1rydV78sNdpaW/hCty8 Bd/lBt31hb4dACTCosqI+nVqjAthdZQ+X+5waiFv81RS2S5allGWRM2FaZh303nZ4+RM= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Drop model and compatible nodes from the module level device tree as they get overridden by the carrier board device tree anyway. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch as suggested by Rob. arch/arm/boot/dts/tegra20-colibri.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 53e06f31dbea..b4d429f672da 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -8,9 +8,6 @@ * Colibri T20 512MB IT V1.2A */ / { - model = "Toradex Colibri T20"; - compatible = "toradex,colibri_t20", "nvidia,tegra20"; - memory@0 { /* * Set memory to 256 MB to be safe as this could be used on From patchwork Sun Sep 2 10:09:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965029 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384n0CgCz9s55 for ; Sun, 2 Sep 2018 20:11:05 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727853AbeIBOZh (ORCPT ); Sun, 2 Sep 2018 10:25:37 -0400 Received: from mout.perfora.net ([74.208.4.196]:59307 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZh (ORCPT ); Sun, 2 Sep 2018 10:25:37 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lh4nx-1faUKV1ZDD-00oNB6; Sun, 02 Sep 2018 12:10:16 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 32/37] ARM: tegra: colibri_t20: rename i2c_ddc to hdmi_ddc Date: Sun, 2 Sep 2018 12:09:01 +0200 Message-Id: <20180902100906.25792-33-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:ZmdHG7kBt3hkmBXHuthkadXVtX7nY2at1WS4OoBLw/R+dN/olQz hkzdeUWEkFs81krBNfxpSicXlXyei8acSMRWZPJ+t0xHUQpTcyWAS0Ib67Iq241JnFpP+qt xlcT/cSr/+3gWlk0gvLSEoPstn7Qz2zvn7yOYV46dUlaYHnUpSOREdmtz6z8fi8CYmvPF4a q1ydU7wqLfkIIGYqJdhog== X-UI-Out-Filterresults: notjunk:1; V01:K0:9ol6k8EK6Ko=:p/spS9TBL14wDubL51CY3+ GTVx8d+ftBuPsczYNiL2+9PC8Lveo9Kve6fNxh8qgJ2iRua8VWMWi6qCUurKkQ/Bc8xsSv9yG S5VnfQBQ+rcLS9x4I/AI4P/ruPQSwBpdICrPPTxCRA+zKS47B/rY6yDH+/wIHa1WE2dhG9elB d0B2uC7w1ZYiGMSgfPJSQI/f7cgg9Ja+GJ9HUX69x5TwvQI9a3/Tk5Lm1+H08uMomn/SQpPCZ pOQH1nqZYYY3019AdBO3zm78gcbP4TDPjEHBifJGqmYM4MDLBqstbMFvWYFn8hMuhiaMRyTV3 0Lwj9SjckOJ9lCh6zgV7cgY4+Ym0DDi9Xy+ssi7f3REp2efhNkz571WPbFS9wU1Qvk9MenMOW taq1T5ER9P1RxXsoZ7Aj1guQs41/zbCFxYGSYUFE2y3EowmE1SnKSzGVK7frcpVJaSwi0psQu 6G77tJOdW0Pz57gndwqg8l/OU+tgffNWGjJNER53AUS5CJJQ4l87CNxlWQ9xZZKNtTH67H5pg DygXuBEBCvdScdKkKDvfQ4CXbpiZvCelVQi92GFtMLh2I4o3ofiJH2TiczIoji8H3G46UYT/p cKcZ9OSoQmiiR0l7xbtC89DFIHzqpgA6KntfI+22jVfbwPuhClS505RLWuHrlZR56CmHhCN5J rRmbSdhP4XRJ4tv+OfInh/wVcPc81XLX7mB+88n9aH2zvIr0Y/h9xE8iFdCz4wQJsVbA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Rename i2c_ddc to hdmi_ddc to be more in-line with other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index b4d429f672da..36463fb3c0b3 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -19,7 +19,7 @@ host1x@50000000 { hdmi@54280000 { - nvidia,ddc-i2c-bus = <&i2c_ddc>; + nvidia,ddc-i2c-bus = <&hdmi_ddc>; nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; pll-supply = <®_1v8_avdd_hdmi_pll>; @@ -459,7 +459,7 @@ }; /* DDC_SCL/SDA on X3 pin 15/16 (e.g. display EDID) */ - i2c_ddc: i2c@7000c400 { + hdmi_ddc: i2c@7000c400 { clock-frequency = <10000>; }; From patchwork Sun Sep 2 10:09:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4238454tmVz9sCQ for ; Sun, 2 Sep 2018 20:10:29 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727944AbeIBOZm (ORCPT ); Sun, 2 Sep 2018 10:25:42 -0400 Received: from mout.perfora.net ([74.208.4.196]:55305 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZl (ORCPT ); Sun, 2 Sep 2018 10:25:41 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0Mfoag-1gJYOU0o2G-00NKCV; Sun, 02 Sep 2018 12:10:18 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 33/37] ARM: tegra: colibri_t20: iris: drop unused i2c_ddc label Date: Sun, 2 Sep 2018 12:09:02 +0200 Message-Id: <20180902100906.25792-34-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:GtPZ/7zpAGZfm2p1x6xWxBKUY4102KxhTZf3P/WkWx1zUBVmSmU Bz7evaEgrV7AWSvMDbcjY4Fr/BUQPtgXy+DqUsGFFzENPIqwwJaCnf6C2JTQIVjUGIz+v9i KAYDWl0HpsAZKSFEpyrarTps5r39Kh0TJKfY4s/locknZHhWTgxcH7axoDfp0VVTuZTYerV xdOdCKLiCLavR7BsDAQ7w== X-UI-Out-Filterresults: notjunk:1; V01:K0:t8AcNAmHe38=:RUmoV9ABD2baYs3qIvocQw ocCHuaaA6aB+jsmg7CFat0AOpjbS6Um+E/U6KHZLdsHwo4l7H9QityjYQy9yOsrscOwfvpHu5 2jcx9ZXBCJFMQsb4wuq4QR0/os72j2x8xwdpDgs9lYdaNx6sfJag+WvQ/M8G6q1kaIWumCXZw 4eZJRxOmB18l7LHBdX/c2QWcsoFq7yERJDEajeQZlqlBVHItY++diTUb8e8dF120mKzxP9qku WA8aoyebXJ2ESqaLhpFDXVnbiI4vOfey5NUUUqRmLWzmiPiHyudM7VyM7Eh2Pr33lyOg0rAKc mUgjcJIZCtRoGCvD20ZNFpd/lq/mDY3TnHdjs/vrYgtlQEWjDXhYOL0RvHMqH110/EILCZ7wD QtlNWSAXCqrTQvMOTRYZCne6LQfL3i/d6a6SAByg8T5/a54P/IVS1cFOECYPFo2G7KS4pLVOy OZ2UFpdffbHqVwDBscwdHzzWKf5JXRsL2jUqv4pD1VqONugauAtNtLH3MnIbstr42uX7Qv9St hRKxP3KM/vgR0+hs+klXdj4lUawEZedJOIQs7PM+VLmwiln0CKrEf6ySxFahQfiTv356Cktui yNaB68od0t6gzKAkr402ryksKLXr/s3lydobT/TTbcvhVEmX4pp6oNpccGpP+D7lfOsgypNL8 dTIHOMSmQLU++/k6fmkMPWZXpjMZsYvNp3pqdExEqIlNdaYCW/9anBUsd+dX6h6mZFoM= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Drop unused i2c_ddc label. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index b16e04dfa31f..00fd2603d780 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -139,7 +139,7 @@ /* CAM_I2C (I2C3): unused */ /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ - i2c_ddc: i2c@7000c400 { + i2c@7000c400 { status = "okay"; }; From patchwork Sun Sep 2 10:09:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384X0qrVz9sBs for ; Sun, 2 Sep 2018 20:10:52 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727976AbeIBOZn (ORCPT ); Sun, 2 Sep 2018 10:25:43 -0400 Received: from mout.perfora.net ([74.208.4.196]:34387 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbeIBOZm (ORCPT ); Sun, 2 Sep 2018 10:25:42 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0McFxR-1gELKG46Df-00JjIK; Sun, 02 Sep 2018 12:10:20 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 34/37] ARM: tegra: colibri_t20: rename tps6586x@34 and drop unused pmic label Date: Sun, 2 Sep 2018 12:09:03 +0200 Message-Id: <20180902100906.25792-35-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:641wrIwoHIYZc0DU4xKzs2/DPVnAhul7nXQJ8WoYesijpTeiANj VsGN3Yhzp08sMiERzLCng+L4JIZSF6HF8IdH8gEQWGX6nMkZg89EBXE9o1wnWOV42tNa/jY ru4WDdNFSmXoCzZx1Akr5sZEoB+JJKPmFiJNIYF66r5TAWEgOzjYxlnH1Jqltf5YFhNnOpi cii1u4/jdfCtANZ8dRzjw== X-UI-Out-Filterresults: notjunk:1; V01:K0:SFYan76Ja3Y=:n98rLqmj1Y8LYau7R0kYr+ D5z8yhuQ+9Rihde8/H1PJOXzlm1RYfBaJS0YSN14/gCv2p1EKQXPAo+r28yivNNeyiyahP/dp XpBSG1XsjHmsa5W0M67iq6SyYegecSVu8k0hcNiOb2uBfmiG+FtO2Q3Ujpgm2WlKMALyUzgBc PmghiiTVHzRjofz/RwAfjY7xhktU4fvfBwAZJtxOjrLmb0kBCWPHZQzJj0w7Fq6JL0p/ZUXAa QsNCFQReur4Rh+F99MLi3tnrYVs9PK2m9nc0JIomYH5VyeUMNqDch/72g6hfTD7jBaPsXj2y9 ZUoOPFVMiBjofaL/0UiiKq3ZGTNX9sXpGf9teAjUeGOyR1SMhNq0L3p5oLUvSNHFzIDzSTHJ2 ZPejIfRhr4kJK5l7xajS1/AD2ymfR1kvh1ZqVDlAP+k5eJiLUI+n31RWPH4rGsXjgoDqbUh9o WLeQM8dkt5e54hmXydR2zvyBAUW/JFzp+qJ9R++/JjdAYjzHctj/OQn+brriaj57yb+FLafqm HfJEBYlrRsqL761w05uvs9jR3UTLvFRBRX1bUcAsdplXmc27J+Eoq2x/7fIyTrCExpqnf27nF /vIxBK8hWe7ZGuIrMLsrEFP9qcGmFnZtUnu9pApw/uVPmI/B4FCbvuYgjSZVHJd74rybnQd+/ 7GWtT+yPpQl7rbmdYPs+98gBB0aIMlcAmnX2dKdAPJv1wilV+r354ZSewbETlEJH8jDE= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Rename tps6586x@34 to pmic@34 and drop the unused pmic label. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch as suggested by Rob. arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 +- arch/arm/boot/dts/tegra20-colibri.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index 00fd2603d780..d8004d68efa0 100644 --- a/arch/arm/boot/dts/tegra20-colibri-iris.dts +++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts @@ -11,7 +11,7 @@ aliases { rtc0 = "/i2c@7000c000/rtc@68"; - rtc1 = "/i2c@7000d000/tps6586x@34"; + rtc1 = "/i2c@7000d000/pmic@34"; rtc2 = "/rtc@7000e000"; serial0 = &uarta; serial1 = &uartd; diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 36463fb3c0b3..473f32f20d8d 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -472,7 +472,7 @@ status = "okay"; clock-frequency = <100000>; - pmic: tps6586x@34 { + pmic@34 { compatible = "ti,tps6586x"; reg = <0x34>; interrupts = ; From patchwork Sun Sep 2 10:09:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965026 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384T0kdQz9sBs for ; Sun, 2 Sep 2018 20:10:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726006AbeIBOZo (ORCPT ); Sun, 2 Sep 2018 10:25:44 -0400 Received: from mout.perfora.net ([74.208.4.196]:45833 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727980AbeIBOZn (ORCPT ); Sun, 2 Sep 2018 10:25:43 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0LcyTW-1fVq1d3IIK-00i2Rv; Sun, 02 Sep 2018 12:10:22 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 35/37] ARM: tegra: colibri_t20: get rid of fake clocks simple bus Date: Sun, 2 Sep 2018 12:09:04 +0200 Message-Id: <20180902100906.25792-36-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:CpgrN+eJqB0fLTeGd8B/27cXjoMhyMmOcTAvRrOTsck3SmOLbgN F7oN3YOXnkUV5lCscdHzYQtVUIoY/LZRj8/PDuK3QL5HeXBZ+KUDNg+DkRQZ++dL9EEK40R 1tacJ/Wmoo8aKGkBpgaTUe9mAo16nwjD6dGUOHAL42YLk5OGCBAmQyR+Fapmv9lkfxUeTPe YmqrP8Jxx2rYCtcYo1LOQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:/nxVG6y94vY=:NWuLL0qOaVe1rLjEMo1aiX iIuKcTVD8klRubyu6+lh7v0Hu2S0OoC+NnqS4CAYi8oUD+rJ88l7HdFuvGSFtHP2E79jR/i4k MEfNh0ibda2CSh00d2SewgoqgNEg0xt3Lqkb7flCCFnCD0TVM1hrMNoe+7FkfpgiS/NIHRKDo V9NlHT5dIjQ8GIb+dVTnds48EcWpSu07Rk2R7Fa/V4CIqDBX9gqvcdHGtXUBKTx5s4rpyLcke a/Ug96Ms+4LNDx5w7Lq40F61867wlcXgI+VvHMJe8KAbiFvNmf/EtzOjga6MfdDE2/LbGXLsI 1BJW+k3TLtY2WS0vqeFFqJJR19jOfCroqh2huXkfLm8GNFjHQSE8GR5Z4r8Ouiv7y2nInoFZh 7S3y+aXK/gkcBr6wRcb7QCDPq/kzWGgeFGHxN9nrp8v8MsBGxE3Y3JUrf+r8fgOvyEDh03Jat eSUiXqDaJLcZyFEnUPpKvYWWUIC5Gx9EYBDPsXfr7RgiSCLHzwSGUki+N7/XvYPqSQtv3Rj4V koy44b4khgNcpeGBxJEgjQ05D1LvSJoeZsbXrjj0Szc1YKVdYEsUJury+PpvQFlzLrfJpCvV+ dnO6YsDx9lEnyrRlVOQevicefz0oNAH2faaJbo1h8SbfGIjFmxYQo20bQci+nFx+iSVovHz7O hpHF2cZP+jvDNm/PGiBhYB0tySiyFOnQxwru76uL8HpUeS3P89DAcubkMeF8XFGkxNhA= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Get rid of the fake clocks simple bus and use node names as per the actual schematics. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Get rid of fake clocks simple bus as suggested by Rob. arch/arm/boot/dts/tegra20-colibri.dtsi | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 473f32f20d8d..243615f6c349 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -701,17 +701,10 @@ vbus-supply = <®_lan_v_bus>; }; - clocks { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - clk32k_in: clock@0 { - compatible = "fixed-clock"; - reg = <0>; - #clock-cells = <0>; - clock-frequency = <32768>; - }; + clk32k_in: xtal3 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; }; reg_lan_v_bus: regulator-lan-v-bus { From patchwork Sun Sep 2 10:09:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965023 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4238494Z7Bz9sCR for ; Sun, 2 Sep 2018 20:10:33 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728022AbeIBOZp (ORCPT ); Sun, 2 Sep 2018 10:25:45 -0400 Received: from mout.perfora.net ([74.208.4.194]:52955 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727980AbeIBOZp (ORCPT ); Sun, 2 Sep 2018 10:25:45 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MPnbo-1g0EpB2U2k-0056rJ; Sun, 02 Sep 2018 12:10:24 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 36/37] ARM: tegra: colibri_t20: rename ac97 label to tegra_ac97 Date: Sun, 2 Sep 2018 12:09:05 +0200 Message-Id: <20180902100906.25792-37-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:pbFrw9pNnAQL46w82+b0HnGghtbqSXn1ii/kFJwT9Q+TYQ6o4lg 7mUO252ce3W/PRrGubjZhIPaC+k8kEIbwjvUQoC1c+ur3iKZTPIewe9RK1o/z7aP/WIi6FB TFMaSp59czNe8v13LTqNs60RtEcpdaXJdTlcx3LUPuXjKbSt0wBpYJQcuIfBvfm5igIjbnn LwAjKWmVJC0KRYF9jhCow== X-UI-Out-Filterresults: notjunk:1; V01:K0:YLAjmpG4AS8=:XWqCFfAi0uizVf5sR9xLe/ NGOb1G2ctR1orGvB25/jEJwfxHdTzYNrDkAoyyladrTpLiWaJR6hvKiNtqG/aT26ISWQZ2vQB vj2a+9aTYCa8EGikPPSOiC9JQrcPh+oH6xyALCuFjn0iToi8GMknNzPumuTQADMeTZ4w1h0dc xkUyRD4pMkouwPQua+g9Aj3d3Xw4RfvqoPFvpHqTwU5tfhkJV2vhIF0hJI9kqb8xyzdaMEHJG SWLqxdQby+Dqki6MC6bLsQWzqhB0OaLTBNyorPm3GQhssNXLuwNOgaAnrjX7A986NXDAUV4cM kEqyFXXa7/OKHTbadkCjqTGzJ34WDOt8KyCnJGUkYAXlslgTJzyYnf7JKE8FJFCjm2vRT1+z1 zWjQHf9FfR+0Af/aAb0p0mFL5mOAuQb/URGnk58d0vSdABjZfmGy5na4KTaUqlDvaTjjtrgic lg4HgvhKwJlccRvrlKzvKfF6FYybkm1s8ihEm5Q/Xv6OyuV/wOvs+7LeF1ppQOEwf+KbEQyl4 4LEaZYecf+dgUlWWexUzFeyE+QHaDAaKEZBExoicywIA0zTRDhjoSt+/qxcHP3qg5Ps2r9nrA lQdRsfM3KvlNexADE/niBWrGPJ9TxYWeNaKbfxB6bzZ966X1+tRZzHzIpMnFE3ZHRDRY+1ctj c7WoNvyyBdvVvLXFSnBkSqfriYRdyVGAlXq5KmuZxswrEEego3UDlQPPl6mDLXuSwM/Y= Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Rename ac97 label to tegra_ac97 to be more in-line with the device tree binding documentation. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 243615f6c349..6162d193e12c 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -418,7 +418,7 @@ }; }; - ac97: ac97@70002000 { + tegra_ac97: ac97@70002000 { status = "okay"; nvidia,codec-reset-gpio = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_HIGH>; @@ -734,7 +734,7 @@ "LineIn", "LINEINL", "LineIn", "LINEINR", "Mic", "MIC1"; - nvidia,ac97-controller = <&ac97>; + nvidia,ac97-controller = <&tegra_ac97>; clocks = <&tegra_car TEGRA20_CLK_PLL_A>, <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, <&tegra_car TEGRA20_CLK_CDEV1>; From patchwork Sun Sep 2 10:09:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 965024 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42384J0Lpmz9sBv for ; Sun, 2 Sep 2018 20:10:40 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728028AbeIBOZr (ORCPT ); Sun, 2 Sep 2018 10:25:47 -0400 Received: from mout.perfora.net ([74.208.4.197]:58329 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727980AbeIBOZq (ORCPT ); Sun, 2 Sep 2018 10:25:46 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0MPWlD-1g0Vvs2NeL-004psQ; Sun, 02 Sep 2018 12:10:26 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Mikko Perttunen , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 37/37] ARM: tegra: colibri_t20: add eval board device tree Date: Sun, 2 Sep 2018 12:09:06 +0200 Message-Id: <20180902100906.25792-38-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180902100906.25792-1-marcel@ziswiler.com> References: <20180902100906.25792-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:HSaynXc4c7N2dJXOTSPkvEDpeulXXekQjlPFT5EJiZ97D2RhdZ1 DTrgF3oIF2qr7R16KKZ9TYAKuI/muHtZg6g+3EnDKfQOn3L7vISqOMv8B48qwoht43NM3E0 cHk5Hq+Yz39oNQFS7b0aJcMszyK6cSGpIRbb3OcTKpfr/7PBGStCaaStHGwSjU6N2vZtAks 8DCFLnvvPpw2er4F8czaw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Y/76/p8ZRtk=:ZbtMgIxWyLT33GG1uw1PeM mFSjnvYh0dq2uRCsuJ9KjxDaJRQEEzgZclAhmZkOud1eTgJUd4kd7gYNCMiGTN9gTQI2LEwpZ mS1Fv/x0EG7CI9vPDmZRFXFOeYfjEIyCvEDQvLZYpyQnA6+Zz+GM5mrl2WrOr+5M1r5gNEflk 4z+ZNB8OR0xbmMKLKvbVSZy/f5DAD8JY5i0XFaLpGoD/ZNU/ftG32/7aYCh3EEyk1FtdL2oRf aeFL3rkcp+kM/dn9ryB0+M3nLxhJmje1OhI/xDp59p23xKYiR/68GrheOHMjsA2stVO6hoYNy FNCMV5zeBNZGbJIUCMk5YrhaELS+7zzXXWCCBBbSd27NWG5z9lJ1nIonmSaHntwxKCbtsQ0gq kZvMTqztVgTL2XGNqQMJ264lAgrQ6T/I0Tnej63iDzM7yt+5uC3O+MTRzc2/t2gHHWQg18PVQ nF2MsiJr/qWKYViPOcZPr9mLi/1UYQR/KTuycBokJbiJ5tHee+iFRCexGxJwZ7khcQCNOl8CC GX9c3yQQ87WL1Yra3irQRA9RN3ejN97jpxRmHD7aJXUxuICxlwHWiJ4rZL3sHju9vTEKJuy9y yYslrt8aBStsvt7Coj7wQOUyXMB4xxDzaaNi30kTDV0vzRqIJX0O4DSSvhs/v+x/SjJxCLUbP /z7tKPEuTZBJ5DP7IF1aRUGMH+Iq3ylySdlfI++mIYq6SXCsWrjd/mBEuQ5c5/1j93a4Qz315 rVQgEpYnoxrG2t+HsY8HzbBIyQ0h1wqfVaiEt7U0dcYwDX3KfI9BB6YTxh8+Hxaswub5CFvUp nsU187l Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Marcel Ziswiler Add an evaluation board device tree more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Updated evaluation board device tree with all applicable previous fixes. - Also reflect this addition in the device tree bindings documentation. Documentation/devicetree/bindings/arm/tegra.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/tegra20-colibri-eval-v3.dts | 262 ++++++++++++++++++++++++ 3 files changed, 264 insertions(+) create mode 100644 arch/arm/boot/dts/tegra20-colibri-eval-v3.dts diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt index 0909122a2bee..c59b15f64346 100644 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ b/Documentation/devicetree/bindings/arm/tegra.txt @@ -54,6 +54,7 @@ board-specific compatible values: toradex,apalis-tk1-v1.2 toradex,apalis-tk1-v1.2-eval toradex,colibri_t20 + toradex,colibri_t20-eval-v3 toradex,colibri_t20-iris toradex,colibri_t30 toradex,colibri_t30-eval-v3 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index f67a87c66e9e..34f5b0135efd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1062,6 +1062,7 @@ dtb-$(CONFIG_ARCH_TANGO) += \ tango4-vantage-1172.dtb dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \ tegra20-harmony.dtb \ + tegra20-colibri-eval-v3.dtb \ tegra20-colibri-iris.dtb \ tegra20-medcom-wide.dtb \ tegra20-paz00.dtb \ diff --git a/arch/arm/boot/dts/tegra20-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra20-colibri-eval-v3.dts new file mode 100644 index 000000000000..3c0f2681fcde --- /dev/null +++ b/arch/arm/boot/dts/tegra20-colibri-eval-v3.dts @@ -0,0 +1,262 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/dts-v1/; + +#include +#include "tegra20-colibri.dtsi" + +/ { + model = "Toradex Colibri T20 on Colibri Evaluation Board"; + compatible = "toradex,colibri_t20-eval-v3", "toradex,colibri_t20", + "nvidia,tegra20"; + + aliases { + rtc0 = "/i2c@7000c000/rtc@68"; + rtc1 = "/i2c@7000d000/pmic@34"; + rtc2 = "/rtc@7000e000"; + serial0 = &uarta; + serial1 = &uartd; + serial2 = &uartb; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + host1x@50000000 { + dc@54200000 { + rgb { + status = "okay"; + nvidia,panel = <&panel>; + }; + }; + + hdmi@54280000 { + status = "okay"; + hdmi-supply = <®_5v0>; + }; + }; + + pinmux@70000014 { + state_default: pinmux { + bl-on { + nvidia,tristate = ; + }; + + ddc { + nvidia,tristate = ; + }; + + hotplug-detect { + nvidia,tristate = ; + }; + + i2c { + nvidia,tristate = ; + }; + + lcd { + nvidia,tristate = ; + }; + + lm1 { + nvidia,tristate = ; + }; + + mmc { + nvidia,tristate = ; + }; + + mmccd { + nvidia,tristate = ; + }; + + pwm-a-b { + nvidia,tristate = ; + }; + + pwm-c-d { + nvidia,tristate = ; + }; + + ssp { + nvidia,tristate = ; + }; + + uart-a { + nvidia,tristate = ; + }; + + uart-b { + nvidia,tristate = ; + }; + + uart-c { + nvidia,tristate = ; + }; + + usbh-pen { + nvidia,tristate = ; + }; + }; + }; + + /* Colibri UART-A */ + serial@70006000 { + status = "okay"; + }; + + /* Colibri UART-C */ + serial@70006040 { + status = "okay"; + }; + + /* Colibri UART-B */ + serial@70006300 { + status = "okay"; + }; + + pwm@7000a000 { + status = "okay"; + }; + + /* + * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier + * board) + */ + i2c@7000c000 { + status = "okay"; + clock-frequency = <400000>; + + /* M41T0M6 real time clock on carrier board */ + rtc@68 { + compatible = "st,m41t0"; + reg = <0x68>; + }; + }; + + /* GEN2_I2C: unused */ + + /* CAM_I2C (I2C3): unused */ + + /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ + i2c@7000c400 { + status = "okay"; + }; + + /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ + usb@c5000000 { + status = "okay"; + dr_mode = "otg"; + }; + + usb-phy@c5000000 { + status = "okay"; + vbus-supply = <®_usbc_vbus>; + }; + + /* EHCI instance 2: USB3_DP/N -> USBH_P/N */ + usb@c5008000 { + status = "okay"; + }; + + usb-phy@c5008000 { + status = "okay"; + vbus-supply = <®_usbh_vbus>; + }; + + /* SPI4: Colibri SSP */ + spi@7000da00 { + status = "okay"; + spi-max-frequency = <25000000>; + + can@0 { + compatible = "microchip,mcp2515"; + reg = <0>; + clocks = <&clk16m>; + interrupt-parent = <&gpio>; + /* CAN_INT */ + interrupts = ; + spi-max-frequency = <10000000>; + vdd-supply = <®_3v3>; + xceiver-supply = <®_5v0>; + }; + }; + + /* SD/MMC */ + sdhci@c8000600 { + status = "okay"; + bus-width = <4>; + cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */ + no-1-8-v; + }; + + backlight: backlight { + compatible = "pwm-backlight"; + brightness-levels = <255 128 64 32 16 8 4 0>; + default-brightness-level = <6>; + /* BL_ON */ + enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>; + power-supply = <®_3v3>; + pwms = <&pwm 0 5000000>; /* PWM */ + }; + + clk16m: osc3 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <16000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + + wakeup { + label = "SODIMM pin 45 wakeup"; + gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; + linux,code = ; + debounce-interval = <10>; + wakeup-source; + }; + }; + + panel: panel { + /* + * edt,et057090dhu: EDT 5.7" LCD TFT + * edt,et070080dh6: EDT 7.0" LCD TFT + */ + compatible = "edt,et057090dhu", "simple-panel"; + backlight = <&backlight>; + power-supply = <®_3v3>; + }; + + reg_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3.3V_SW"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + reg_5v0: regulator-5v0 { + compatible = "regulator-fixed"; + regulator-name = "5V_SW"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_usbc_vbus: regulator-usbc-vbus { + compatible = "regulator-fixed"; + regulator-name = "VCC_USB5"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <®_5v0>; + }; + + /* USBH_PEN resp. USB_P_EN */ + reg_usbh_vbus: regulator-usbh-vbus { + compatible = "regulator-fixed"; + regulator-name = "VCC_USB[1-4]"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; + vin-supply = <®_5v0>; + }; +};