zhang / rpms / kernel

Forked from rpms/kernel 5 years ago
Clone

Blame SOURCES/arm64-Revert-allwinner-a64-pine64-Use-dcdc1-regulato.patch

f2c60e
From 90e388ca5d8bbee022f9ed5fc24137b31579fa6e Mon Sep 17 00:00:00 2001
f2c60e
From: Peter Robinson <pbrobinson@gmail.com>
f2c60e
Date: Wed, 22 Nov 2017 15:52:36 +0000
f2c60e
Subject: [PATCH] Revert "arm64: allwinner: a64: pine64: Use dcdc1 regulator
f2c60e
 for mmc0"
f2c60e
f2c60e
This reverts commit 3f241bfa60bdc9c4fde63fa6664a8ce00fd668c6.
f2c60e
---
f2c60e
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 9 ++++++++-
f2c60e
 1 file changed, 8 insertions(+), 1 deletion(-)
f2c60e
f2c60e
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
f2c60e
index d06e34b5d192..caf8b6fbe5e3 100644
f2c60e
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
f2c60e
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
f2c60e
@@ -61,6 +61,13 @@
f2c60e
 	chosen {
f2c60e
 		stdout-path = "serial0:115200n8";
f2c60e
 	};
f2c60e
+
f2c60e
+	reg_vcc3v3: vcc3v3 {
f2c60e
+		compatible = "regulator-fixed";
f2c60e
+		regulator-name = "vcc3v3";
f2c60e
+		regulator-min-microvolt = <3300000>;
f2c60e
+		regulator-max-microvolt = <3300000>;
f2c60e
+	};
f2c60e
 };
f2c60e
 
f2c60e
 &ehci0 {
f2c60e
@@ -84,7 +91,7 @@
f2c60e
 &mmc0 {
f2c60e
 	pinctrl-names = "default";
f2c60e
 	pinctrl-0 = <&mmc0_pins>;
f2c60e
-	vmmc-supply = <&reg_dcdc1>;
f2c60e
+	vmmc-supply = <&reg_vcc3v3>;
f2c60e
 	cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
f2c60e
 	cd-inverted;
f2c60e
 	disable-wp;
f2c60e
-- 
f2c60e
2.14.3
f2c60e