All of lore.kernel.org
 help / color / mirror / Atom feed
From: marcel@ziswiler.com
To: devicetree@vger.kernel.org
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	linux-kernel@vger.kernel.org,
	Stephen Warren <swarren@wwwdotorg.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-tegra@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>,
	Alexandre Courbot <gnurou@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH 5/6] apalis-tk1: working sd card detect on v1.1 hw
Date: Thu, 24 Nov 2016 02:04:55 +0100	[thread overview]
Message-ID: <20161124010456.24604-6-marcel@ziswiler.com> (raw)
In-Reply-To: <20161124010456.24604-1-marcel@ziswiler.com>

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Add sd card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---

 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>;
 	};
-- 
2.9.3

WARNING: multiple messages have this Message-ID (diff)
From: marcel@ziswiler.com (marcel at ziswiler.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH 5/6] apalis-tk1: working sd card detect on v1.1 hw
Date: Thu, 24 Nov 2016 02:04:55 +0100	[thread overview]
Message-ID: <20161124010456.24604-6-marcel@ziswiler.com> (raw)
In-Reply-To: <20161124010456.24604-1-marcel@ziswiler.com>

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Add sd card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---

 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 at 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>;
 	};
-- 
2.9.3

  parent reply	other threads:[~2016-11-24  1:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  1:04 [RESEND PATCH 0/6] apalis-tk1: updates for v1.1 hw marcel
2016-11-24  1:04 ` marcel at ziswiler.com
2016-11-24  1:04 ` [RESEND PATCH 1/6] apalis-tk1: remove spurious new lines marcel
2016-11-24  1:04   ` marcel at ziswiler.com
2016-11-24  1:04 ` [RESEND PATCH 2/6] apalis-tk1: temp alert pull-up marcel
2016-11-24  1:04   ` marcel at ziswiler.com
     [not found] ` <20161124010456.24604-1-marcel-mitwqZ+T+m9Wk0Htik3J/w@public.gmane.org>
2016-11-24  1:04   ` [RESEND PATCH 3/6] apalis-tk1: optional displayport hot-plug detect marcel-mitwqZ+T+m9Wk0Htik3J/w
2016-11-24  1:04     ` marcel at ziswiler.com
2016-11-24  1:04     ` marcel
2016-11-24  1:04 ` [RESEND PATCH 4/6] apalis-tk1: adjust pin muxing for v1.1 hw marcel
2016-11-24  1:04   ` marcel at ziswiler.com
2016-11-24  1:04   ` marcel
2016-11-24  1:04 ` marcel [this message]
2016-11-24  1:04   ` [RESEND PATCH 5/6] apalis-tk1: working sd card detect on " marcel at ziswiler.com
2016-11-24  1:04 ` [RESEND PATCH 6/6] apalis-tk1: update compatibility comment marcel
2016-11-24  1:04   ` marcel at ziswiler.com
2017-01-03 13:20 ` [RESEND PATCH 0/6] apalis-tk1: updates for v1.1 hw Marcel Ziswiler
2017-01-03 13:20   ` Marcel Ziswiler
2017-01-03 13:20   ` Marcel Ziswiler
     [not found]   ` <1483449646.2745.1.camel-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2017-01-25  6:56     ` Thierry Reding
2017-01-25  6:56       ` Thierry Reding
2017-01-25  6:56       ` Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161124010456.24604-6-marcel@ziswiler.com \
    --to=marcel@ziswiler.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gnurou@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=marcel.ziswiler@toradex.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=swarren@wwwdotorg.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.