Thread (1 message) 1 message, 1 author, 2014-05-10
DORMANTno replies

[PATCH v11 5/6] ARM: dts: sun6i: Add reg_vmmc0 to sun6i boards

From: Hans de Goede <hidden>
Date: 2014-05-10 09:34:02
Also in: linux-arm-kernel, linux-mmc
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Hans de Goede <redacted>
---
 arch/arm/boot/dts/sun6i-a31-m9.dts | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts
index 22eacf8..6dc00c3 100644
--- a/arch/arm/boot/dts/sun6i-a31-m9.dts
+++ b/arch/arm/boot/dts/sun6i-a31-m9.dts
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 /include/ "sun6i-a31.dtsi"
+/include/ "sunxi-common-regulators.dtsi"
 
 / {
 	model = "Mele M9 / A1000G Quad top set box";
@@ -24,6 +25,7 @@
 		mmc0: mmc@01c0f000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>;
+			vmmc-supply = <&reg_vmmc0>;
 			bus-width = <4>;
 			cd-gpios = <&pio 7 22 0>; /* PH22 */
 			cd-inverted;
@@ -45,4 +47,8 @@
 			status = "okay";
 		};
 	};
+
+	reg_vmmc0: vmmc0 {
+		status = "okay";
+	};
 };
-- 
1.9.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help