linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux.amoon@gmail.com (Anand Moon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3 5/7] ARM: dts: exynos5422: use wp-gpio method to detect sd-card
Date: Thu, 20 Sep 2018 17:58:24 +0000	[thread overview]
Message-ID: <20180920175826.1284-6-linux.amoon@gmail.com> (raw)
In-Reply-To: <20180920175826.1284-1-linux.amoon@gmail.com>

add the Write Protect GPIO property for sdcard, to fix
the warning message during boot time.
of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/mmc at 12220000[0]'

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
New patch to this series.
If we keep the wp-gpio GPIO_ACTIVE_LOW sdcard boot into RO mode.
---
 arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
index 03fe02ceae66..475c38bbc99e 100644
--- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
+++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
@@ -370,6 +370,7 @@
 	cap-sd-highspeed;
 	max-frequency = <200000000>;
 	cd-gpios = <&gpc2 2 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpc4 0 GPIO_ACTIVE_HIGH>;
 	vmmc-supply = <&ldo19_reg>;
 	vqmmc-supply = <&ldo13_reg>;
 	sd-uhs-sdr50;
-- 
2.17.1

  parent reply	other threads:[~2018-09-20 17:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 17:58 [PATCHv3 0/7] Add support for UHS-I on Exynos5422 odroid boards Anand Moon
2018-09-20 17:58 ` [PATCHv3 1/7] ARM: dts: exynos5422: Added UHS-I bus speed support Anand Moon
2018-09-20 17:58 ` [PATCHv3 2/7] ARM: dts: exynos5422: fix regulator min values of LDO13 for Odroid XU3/XU4 Anand Moon
2018-09-20 17:58 ` [PATCHv3 3/7] ARM: dts: exynos5422: update maximum frequency for sdcard to 200MHz Anand Moon
2018-09-20 17:58 ` [PATCHv3 4/7] ARM: dts: exynos5422: use cd-gpio method to detect sd-card Anand Moon
2018-09-20 17:58 ` Anand Moon [this message]
2018-09-21 11:12   ` [PATCHv3 5/7] ARM: dts: exynos5422: use wp-gpio " Krzysztof Kozlowski
2018-09-21 12:31     ` Anand Moon
2018-09-21 21:09       ` Krzysztof Kozlowski
2018-09-22  7:55         ` Anand Moon
2018-09-20 17:58 ` [PATCHv3 6/7] ARM: dts: exynos5422: update maximum frequency for emmc to 200MHz Anand Moon
2018-09-20 17:58 ` [PATCHv3 7/7] mmc: dw_mmc-exynos: Add tuning for sdr and ddr timing for USH-I mode Anand Moon
2018-09-21 10:55 ` [PATCHv3 0/7] Add support for UHS-I on Exynos5422 odroid boards Krzysztof Kozlowski
2018-09-21 12:30   ` Anand Moon

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=20180920175826.1284-6-linux.amoon@gmail.com \
    --to=linux.amoon@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).