Skip to contentSkip to conversation

arm64: dts: imx8mn-ddr4-evk: Adjust 1.2GHz OPP voltage to OD mode

PATCH Superseded Anson Huang 2 participants 3 messages Feb 18, 2020 – Feb 24, 2020

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mn-ddr4-evk: Adjust 1.2GHz OPP voltage to OD mode

According to latest datasheet Rev.0, 10/2019, there is restriction as below:

"If VDD_SOC/GPU/DDR = 0.95V, then VDD_ARM must be >= 0.95V."

As by default SoC is running at OD mode(VDD_SOC = 0.95V), so VDD_ARM 1.2GHz OPP's voltage should be increased to 0.95V.

---
 arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +6 -0
index 2497eeb..7a61a1a 100644
@@ -13,6 +13,12 @@
 	compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
 };
 
+&a53_opp_table {
+	opp-1200000000 {
+		opp-microvolt = <950000>;
+	};
+};
+
 &A53_0 {
 	cpu-supply = <&buck2_reg>;
 };
Signature · 1 line
2.7.4
#1 lore raw
Quoted 18 lines · Anson Huang

According to latest datasheet Rev.0, 10/2019, there is restriction as below:

"If VDD_SOC/GPU/DDR = 0.95V, then VDD_ARM must be >= 0.95V."

As by default SoC is running at OD mode(VDD_SOC = 0.95V), so VDD_ARM 1.2GHz OPP's voltage should be increased to 0.95V.

---
 arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +0 -0
index 2497eeb..7a61a1a 100644

arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts line 21

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +6 -0
@@ -13,6 +13,12 @@
 	compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
 };
 
+&a53_opp_table {
+	opp-1200000000 {
+		opp-microvolt = <950000>;
+	};
+};
+

The restriction applies to SoC rather than a particular board, right? If so, the change should be made in imx8mn.dtsi?

Shawn

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +0 -0
 &A53_0 {
 	cpu-supply = <&buck2_reg>;
 };
Signature · 1 line
2.7.4
#2 lore raw

Hi, Shawn

Quoted 25 lines

Subject: Re: [PATCH] arm64: dts: imx8mn-ddr4-evk: Adjust 1.2GHz OPP voltage to OD mode

Quoted 21 lines · Anson Huang

According to latest datasheet Rev.0, 10/2019, there is restriction as below:

"If VDD_SOC/GPU/DDR = 0.95V, then VDD_ARM must be >= 0.95V."

As by default SoC is running at OD mode(VDD_SOC = 0.95V), so VDD_ARM 1.2GHz OPP's voltage should be increased to 0.95V.

---
 arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +0 -0
index 2497eeb..7a61a1a 100644
@@ -13,6 +13,12 @@
 	compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";  };
 
Quoted 9 lines

arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts line 21

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +6 -0
+&a53_opp_table {
+	opp-1200000000 {
+		opp-microvolt = <950000>;
+	};
+};
+

The restriction applies to SoC rather than a particular board, right? If so, the change should be made in imx8mn.dtsi?

Yes, you are correct, for now, it is NOT related to board, I will do the change in .dtsi in V2.

Anson