Linux-Amlogic Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/2] ARM: dts: add the GPU voltage supply on MXIII-Plus
@ 2019-05-20 20:08 Martin Blumenstingl
  2019-05-20 20:08 ` [PATCH 1/2] ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator Martin Blumenstingl
  2019-05-20 20:08 ` [PATCH 2/2] ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU Martin Blumenstingl
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Blumenstingl @ 2019-05-20 20:08 UTC (permalink / raw)
  To: balbes-150, linux-amlogic, khilman
  Cc: Martin Blumenstingl, linux-kernel, linux-arm-kernel

The mainline lima driver doesn't support DVFS yet. However, once it does
we want to be sure that the voltage supply is hooked up.
The goal of this series is to do just that.


Martin Blumenstingl (2):
  ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator
  ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU

 arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.21.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator
  2019-05-20 20:08 [PATCH 0/2] ARM: dts: add the GPU voltage supply on MXIII-Plus Martin Blumenstingl
@ 2019-05-20 20:08 ` Martin Blumenstingl
  2019-05-20 20:08 ` [PATCH 2/2] ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU Martin Blumenstingl
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Blumenstingl @ 2019-05-20 20:08 UTC (permalink / raw)
  To: balbes-150, linux-amlogic, khilman
  Cc: Martin Blumenstingl, linux-kernel, linux-arm-kernel

The DCDC2 regulator output is actually called "VDD_EE" in various
Meson8b board schematics. This matches with what Amlogic names it in the
most part of their vendor kernel (there are a few places where it's
actually called VDDAO, schematics of EC-100 suggest that the regulator
output is used for both signals).
While here, also give the regulator an alias as it supplies the Mali GPU
so a phandle to it will be required later on.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
index 29d830ae4bf4..c7d9cf035e22 100644
--- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
+++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
@@ -114,8 +114,9 @@
 				regulator-always-on;
 			};
 
-			DCDC2 {
-				regulator-name = "VDDAO";
+			vddee: DCDC2 {
+				/* the output is also used as VDDAO */
+				regulator-name = "VDD_EE";
 				regulator-min-microvolt = <950000>;
 				regulator-max-microvolt = <1150000>;
 				regulator-boot-on;
-- 
2.21.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU
  2019-05-20 20:08 [PATCH 0/2] ARM: dts: add the GPU voltage supply on MXIII-Plus Martin Blumenstingl
  2019-05-20 20:08 ` [PATCH 1/2] ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator Martin Blumenstingl
@ 2019-05-20 20:08 ` Martin Blumenstingl
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Blumenstingl @ 2019-05-20 20:08 UTC (permalink / raw)
  To: balbes-150, linux-amlogic, khilman
  Cc: Martin Blumenstingl, linux-kernel, linux-arm-kernel

The Mali GPU is supplied by VDD_EE which is provided by the DCDC2
regulator.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
index c7d9cf035e22..59b07a55e461 100644
--- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
+++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
@@ -190,6 +190,10 @@
 	};
 };
 
+&mali {
+	mali-supply = <&vddee>;
+};
+
 &saradc {
 	status = "okay";
 	vref-supply = <&vddio_ao1v8>;
-- 
2.21.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20 20:08 [PATCH 0/2] ARM: dts: add the GPU voltage supply on MXIII-Plus Martin Blumenstingl
2019-05-20 20:08 ` [PATCH 1/2] ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator Martin Blumenstingl
2019-05-20 20:08 ` [PATCH 2/2] ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU Martin Blumenstingl

Linux-Amlogic Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-amlogic/0 linux-amlogic/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-amlogic linux-amlogic/ https://lore.kernel.org/linux-amlogic \
		linux-amlogic@lists.infradead.org linux-amlogic@archiver.kernel.org
	public-inbox-index linux-amlogic


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-amlogic


AGPL code for this site: git clone https://public-inbox.org/ public-inbox