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

[PATCH v11 2/6] ARM: dts: sunxi: Add reg_vmmc0 supply to sunxi-common-regulators.dtsi

From: Maxime Ripard <hidden>
Date: 2014-05-10 13:17:17
Also in: linux-devicetree, linux-mmc

Hi Hans,

Thanks for your follow up on this.

On Sat, May 10, 2014 at 11:33:59AM +0200, Hans de Goede wrote:
quoted hunk
Signed-off-by: Hans de Goede <redacted>
---
 arch/arm/boot/dts/sunxi-common-regulators.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sunxi-common-regulators.dtsi b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
index 18eeac0..ebbba39 100644
--- a/arch/arm/boot/dts/sunxi-common-regulators.dtsi
+++ b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
@@ -72,4 +72,12 @@
 		gpio = <&pio 7 3 0>;
 		status = "disabled";
 	};
+
+	reg_vmmc0: vmmc0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmc0";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		status = "disabled";
+	};
I think you can rather define this as vcc-3.3v or something alike,
that would always be enabled. That would allow to reuse this in some
other nodes as well, you won't need to enable it on every board, and
this is actually more accurate.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140510/020f0683/attachment-0001.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help