Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357862 > unrolled thread

[PATCH v3 5/8] ARM: dts: Add initial gpio setting of MMC2 device for exynos3250-monk

Started byChanwoo Choi <cw00.choi@samsung.com>
First post2016-03-15 08:40 +0100
Last post2016-03-15 08:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 5/8] ARM: dts: Add initial gpio setting of MMC2 device for  exynos3250-monk Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-15 08:40 +0100

#1357862 — [PATCH v3 5/8] ARM: dts: Add initial gpio setting of MMC2 device for exynos3250-monk

FromChanwoo Choi <cw00.choi@samsung.com>
Date2016-03-15 08:40 +0100
Subject[PATCH v3 5/8] ARM: dts: Add initial gpio setting of MMC2 device for exynos3250-monk
Message-ID<rcRKa-7pG-21@gated-at.bofh.it>
This patch adds initial pin configuration of MMC2 device on exynos3250-monk
board because the MMC2 gpio pin (gpk2[0-6]) are NC (not connected) state.

Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos3250-monk.dts | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts
index 443a35085846..dab965f35352 100644
--- a/arch/arm/boot/dts/exynos3250-monk.dts
+++ b/arch/arm/boot/dts/exynos3250-monk.dts
@@ -558,7 +558,17 @@
 
 &pinctrl_1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&sleep1>;
+	pinctrl-0 = <&initial1 &sleep1>;
+
+	initial1: initial-state {
+		PIN_IN(gpk2-0, DOWN, LV1);
+		PIN_IN(gpk2-1, DOWN, LV1);
+		PIN_IN(gpk2-2, DOWN, LV1);
+		PIN_IN(gpk2-3, DOWN, LV1);
+		PIN_IN(gpk2-4, DOWN, LV1);
+		PIN_IN(gpk2-5, DOWN, LV1);
+		PIN_IN(gpk2-6, DOWN, LV1);
+	};
 
 	sleep1: sleep-state {
 		PIN_SLP(gpe0-0, PREV, NONE);
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web