Skip to contentSkip to conversation

arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

PATCH Applied Jagan Teki 3 participants 3 messages Aug 12, 2017 – Aug 21, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

From: Jagan Teki <[email protected]>

Since current tree support AXP803 regulators, replace fixed regulator with AXP803 dcdc1 regulator.

Tested on pine64.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +1 -8
index 122b5d8..604cdae 100644
@@ -62,13 +62,6 @@
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
-
-	reg_vcc3v3: vcc3v3 {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc3v3";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-	};
 };
 
 &ehci0 {
@@ -109,7 +102,7 @@
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins>;
-	vmmc-supply = <&reg_vcc3v3>;
+	vmmc-supply = <&reg_dcdc1>;
 	cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
 	cd-inverted;
 	disable-wp;
Signature · 1 line
2.7.4
#1 lore raw

Hi,

Quoted 8 lines · Jagan Teki

From: Jagan Teki <[email protected]>

Since current tree support AXP803 regulators, replace fixed regulator with AXP803 dcdc1 regulator.

Tested on pine64.

There was a lot of (heated) discussion [1] around this change. Maxime stated he would merge a patch with this change but ended up picking a later version without it. I'll leave this to him when he gets back.

ChenYu

[1] https://www.spinics.net/lists/arm-kernel/msg595419.html

#2 lore raw
In reply to Jagan Teki
Quoted 8 lines · Jagan Teki

From: Jagan Teki <[email protected]>

Since current tree support AXP803 regulators, replace fixed regulator with AXP803 dcdc1 regulator.

Tested on pine64.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170821/c75ab151/attachment.sig>