From patchwork Wed Aug 29 08:14: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: 963270 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 420djl0mZDz9sBZ for ; Wed, 29 Aug 2018 18:15:55 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728532AbeH2MK7 (ORCPT ); Wed, 29 Aug 2018 08:10:59 -0400 Received: from mout.perfora.net ([74.208.4.197]:54259 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727712AbeH2MK6 (ORCPT ); Wed, 29 Aug 2018 08:10:58 -0400 Received: from localhost.localdomain.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPA (Nemesis) id 0M2N6o-1fcILh2Ntc-00sAWA; Wed, 29 Aug 2018 10:15:10 +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 26/31] ARM: tegra: colibri_t20: annotate/move sd card detect Date: Wed, 29 Aug 2018 10:14:02 +0200 Message-Id: <20180829081407.11304-27-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180829081407.11304-1-marcel@ziswiler.com> References: <20180829081407.11304-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:ojZsZFW1rfQzU7HtSa3mR2+6HoIJQrb6aXTVNfEdevVWrWIT3jG p6TWg5E1iWP2Jx0C/BNZx2B5wuXUCynALg5hdploRwtealGMl3ztzCKG4e3CH6Thw2mAWUV sCOtSNEjTHTd/PXBhZgJq+lDwlbohkeC5gI0jOOHftsh3/FiXbop3VJsy59zEatqTBtQRKr +Plz2TPzdIMWkLB+V9fQQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:a5rZytriYCg=:KrX8J2dP40BloT/pvJ2ho5 7N7uSiusjK2zafJE6ZNWBbhZ960Vd3fK7N+AiafjkBFi3AXtySIV4H/V2NQEmgR92l8vvhaKS QSX+J1GA2aCWM8+GG6gDxlVSX3wVRPUaU/ObAeZdQwqsk9asWR4KVSSN4jFk5v2kZSebt8O3A ZJFaYBPHUtmclebCMAXERLLtMMc3c/Dqiy7zdkOOzBBnXrnbFcSkT3qfk8u35e8EL3rSMqL8I usdIvaDy0lklqy9k02glVOoq0neNGMUM65FePQbriM6/tAqHmyApXk0eFrOguFVUG74yEJlsT 14O2hcKmnmMnEsKPSAtn6rsEEelHfvCJ7C2RBHd4W4Gr5Ys7iP44ReOlN1gqOmv6RLjdbyAJq tZNjpCSLV6NW68UsG+xomNnAZZaWuER0c2qF2Uc1DRVOENwBw5Z0tOQJ8Gariidj11qH5vtvk XvCYN1q4lEAl/ynCg+552ZesYfFq+2TkOWuWhkvH/DGQp18p9uOLABHNewGV0hBh5RmPiuGzK jqA6xt6rClzRQIK19FdQVF9RNbt0XOhX9MdCyVGpmH284iU9WL+xiJTtYknLteRQZ/DOyiqx1 iZCsFGXhI48DN5kWMUJ24zqpn3w6GzN3CLVGFu1M1qVhONOoRw6zwDgWSyQIu/Ulvj9VsvXDg pfdWq9S5gs+ypiB5U/D9xxQNGV7OKQjlAzywXuyH40Z4elITws15N9V8jJ8vCx5+y0H0= 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 --- 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 91b3404e1b3d..955d1e1ad8e0 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 35eec7ade70d..057147565b1e 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>;