From patchwork Tue Nov 22 00:14:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 9440313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6ACAF60235 for ; Tue, 22 Nov 2016 00:17:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49C1B28AE7 for ; Tue, 22 Nov 2016 00:17:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E99328AF7; Tue, 22 Nov 2016 00:17:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 130E728AEC for ; Tue, 22 Nov 2016 00:17:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c8ykk-00016i-0i; Tue, 22 Nov 2016 00:16:02 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c8yjt-00086f-HJ for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2016 00:15:13 +0000 Received: from marcel-pc.toradex.int.net ([84.227.37.153]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPA (Nemesis) id 0M6Cey-1cwxzL36Fu-00yATX; Tue, 22 Nov 2016 01:14:38 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Subject: [PATCH 5/6] apalis-tk1: working sd card detect on v1.1 hw Date: Tue, 22 Nov 2016 01:14:06 +0100 Message-Id: <1479773647-14726-6-git-send-email-marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1479773647-14726-1-git-send-email-marcel.ziswiler@toradex.com> References: <1479773647-14726-1-git-send-email-marcel.ziswiler@toradex.com> X-Provags-ID: V03:K0:5FzAlWeeroPYtHZTBh2zKksgUIWJztw2io4Xlp8gKusdzbqbCid Ir2koo91QvpPsD5RfXrIH8JRz3bIZK4/BbP16W/HTJI9ZdaotwuWft+4DBOEtFqlTEYtF25 y9K8NAJ3eaL1H48AX6LG3ZzKTd+dBX3aJNNIiqhKrdc9CJgJZkqrW7EgpjAfrrUqN+Jw93S AxAo/aNMVckz4OVEYAPxQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:hz1N4O1Hw0o=:Rsq6JsDeumkLxWJ2vJeNLT mpVCwV/NlXwvp5EwolUDGV1Mj4Ws0F9z0lORx0j8HqblchOJfRHsDNqblYxKFX3mUaDKVhpPW mmwJqYaw9xvjewfs6tQzPqLrJoscGRjZ+2OsiWtxC73JR04MyKcqZjGkG2Dq/cqCLhNcWW10B e6G7fUTrcbaG6QYlkySiEL3hV8LnrU8QPiCe7Pa8IEeaVCH3S+rzatZ/FecdLGqqbwtSgTZIN UUcAf0TI2fAcbN6kTNWrcPcluTyzBdUZv4DfNWLTo9x0RRr06ep9+RjLHfMIHcsYHbASvxea3 IDnYgG1hT9+nIjd6WcMvQbO7O/0hDYNJeqKhdcNJ1lDqo6gYL5AHu/sWxrk34ceFvBCj9eZih Dx5Tp8VdSmQZ0Q48TSINzngfvHaaiTu3veI533YzILxUJTS4pFjsaZn04jZ0opp8/n/3PYL7e Q1HnquoWFHtMXVMkOa6jxbBD6hbYMi+iO7PKiiOvikjef4zkkT9oTELFKQBaSLBmboJzbVLri 7igjRyBRL7C3lpujWhl2EHxuFqxSX0mzMsgUekBW/4xo4inGnnRe7F+ndkWHR6G4I8TWeBJ1B Vs6xEuwl7FzbnMjWZAnMgob8qJn6GGrBIB7iVxjeXkEzqi+nW0UmP6bsYVEtMbjybAuqxiolq 7an1W05bZSt8OcR2Zv/soZTgOmDB5NNDfK2GvcJ6M7NPWIm6lo8L7D3OyuuR9Kw9RHQU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161121_161509_985530_59910A32 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alexandre Courbot , Stephen Warren , Marcel Ziswiler , linux-kernel@vger.kernel.org, Rob Herring , Russell King , Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add sd card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis-eval.dts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-apalis-eval.dts b/arch/arm/boot/dts/tegra124-apalis-eval.dts index 2b5a0f3..2715692 100644 --- a/arch/arm/boot/dts/tegra124-apalis-eval.dts +++ b/arch/arm/boot/dts/tegra124-apalis-eval.dts @@ -187,14 +187,8 @@ /* Apalis SD1 */ sdhci@700b0400 { status = "okay"; - /* - * Don't use SD1_CD# aka SDMMC3_CLK_LB_OUT for now as it - * features some magic properties even though the external - * loopback is disabled and the internal loopback used as per - * SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits being - * set to 0xfffd according to the TRM! - * cd-gpios = <&gpio TEGRA_GPIO(EE, 4) GPIO_ACTIVE_LOW>; - */ + /* SD1_CD# */ + cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; bus-width = <4>; vqmmc-supply = <&vddio_sdmmc3>; };