Skip to contentSkip to conversation

ARM: dts: imx7d: Correct speed grading fuse settings

PATCH Applied Anson Huang 3 participants 6 messages Sep 12, 2019 – Oct 6, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: imx7d: Correct speed grading fuse settings

The 800MHz opp speed grading fuse mask should be 0xd instead of 0xf according to fuse map definition:

SPEED_GRADING[1:0] MHz

	00		800
	01		500
	10		1000
	11		1200
---
 arch/arm/boot/dts/imx7d.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx7d.dtsi +1 -1
index 9c8dd32..0083272 100644
@@ -43,7 +43,7 @@
 			opp-hz = /bits/ 64 <792000000>;
 			opp-microvolt = <1000000>;
 			clock-latency-ns = <150000>;
-			opp-supported-hw = <0xf>, <0xf>;
+			opp-supported-hw = <0xd>, <0xf>;
 		};
 
 		opp-996000000 {
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 ARM: dts: imx7d: Add opp-suspend property

Add "opp-suspend" property for i.MX7D to make sure system suspend with max available opp.

---
 arch/arm/boot/dts/imx7d.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx7d.dtsi +3 -0
index 0083272..2792767 100644
@@ -44,6 +44,7 @@
 			opp-microvolt = <1000000>;
 			clock-latency-ns = <150000>;
 			opp-supported-hw = <0xd>, <0xf>;
+			opp-suspend;
 		};
 
 		opp-996000000 {
@@ -51,6 +52,7 @@
 			opp-microvolt = <1100000>;
 			clock-latency-ns = <150000>;
 			opp-supported-hw = <0xc>, <0xf>;
+			opp-suspend;
 		};
 
 		opp-1200000000 {
@@ -58,6 +60,7 @@
 			opp-microvolt = <1225000>;
 			clock-latency-ns = <150000>;
 			opp-supported-hw = <0x8>, <0xf>;
+			opp-suspend;
 		};
 	};
 
Signature · 1 line
2.7.4
#4 lore raw

Hi, Leonard

Quoted 10 lines · Anson Huang
Quoted 9 lines

The 800MHz opp speed grading fuse mask should be 0xd instead of 0xf according to fuse map definition:

SPEED_GRADING[1:0] MHz

	00		800
	01		500
	10		1000
	11		1200
Quoted 5 lines
Quoted 1 line

Are you going to add the 500mhz OPP as well?

So far no, as datasheet does NOT list 500MHz as OPP, this patch is just to make sure the speed grading mask settings matches the fusemap file, NOT sure if 500MHz will be supported officially.

Anson