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


Groups > linux.kernel > #1710170 > unrolled thread

[PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

Started byJagan Teki <jagannadh.teki@gmail.com>
First post2017-08-12 07:50 +0200
Last post2017-08-21 11:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0 Jagan Teki <jagannadh.teki@gmail.com> - 2017-08-12 07:50 +0200
    Re: [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0 Chen-Yu Tsai <wens@csie.org> - 2017-08-14 12:10 +0200
    Re: [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for  mmc0 Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-08-21 11:50 +0200

#1710170 — [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

FromJagan Teki <jagannadh.teki@gmail.com>
Date2017-08-12 07:50 +0200
Subject[PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0
Message-ID<udxt8-51g-11@gated-at.bofh.it>
From: Jagan Teki <jagan@amarulasolutions.com>

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

Tested on pine64.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 122b5d8..604cdae 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -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;
-- 
2.7.4

[toc] | [next] | [standalone]


#1710788

FromChen-Yu Tsai <wens@csie.org>
Date2017-08-14 12:10 +0200
Message-ID<uektQ-2Py-5@gated-at.bofh.it>
In reply to#1710170
Hi,

On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Since current tree support AXP803 regulators, replace
> fixed regulator with AXP803 dcdc1 regulator.
>
> Tested on pine64.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

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

[toc] | [prev] | [next] | [standalone]


#1716249 — Re: [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-08-21 11:50 +0200
SubjectRe: [PATCH] arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0
Message-ID<ugRvj-2Gw-3@gated-at.bofh.it>
In reply to#1710170

[Multipart message — attachments visible in raw view] — view raw

On Sat, Aug 12, 2017 at 11:10:02AM +0530, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
> 
> Since current tree support AXP803 regulators, replace
> fixed regulator with AXP803 dcdc1 regulator.
> 
> Tested on pine64.
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web