Skip to contentSkip to conversation

ARM: dts: imx27: Add core voltages

RFC In review Alexander Shiyan 2 participants 3 messages Jul 7, 2013 – Jul 9, 2013 1 message not in the archive

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

RFC 1/1 ARM: dts: imx27: Add core voltages

This patch adds core voltages for i.MX27 CPUs. Only 266 and 400 MHz modes is documented in the datasheet, we add a 266 MHz frequency for conform this. For 133 MHz CPU frequency minimal voltage is used (1.2V).

---
 arch/arm/boot/dts/imx27.dtsi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx27.dtsi +5 -3
index a587294..c9bacca 100644
@@ -57,13 +57,15 @@
 			device_type = "cpu";
 			compatible = "arm,arm926ej-s";
 			operating-points = <
-				/* kHz  uV (No regulator support) */
-				133000  0
-				399000  0
+				/* kHz uV */
+				133000 1200000
+				266000 1300000
+				399000 1450000
 			>;
 			clock-latency = <61036>; /* two CLK32 periods */
 			clocks = <&clks 18>;
 			clock-names = "cpu";
+			voltage-tolerance = <1>;
 		};
 	};
 
Signature · 1 line
1.8.1.5
#1 lore raw
Quoted 4 lines · Alexander Shiyan

This patch adds core voltages for i.MX27 CPUs. Only 266 and 400 MHz modes is documented in the datasheet, we add a 266 MHz frequency for conform this. For 133 MHz CPU frequency minimal voltage is used (1.2V).

Ok, just checked i.MX27 data sheet, it seems that only 266 and 400 MHz set points are officially supported. So there is no documented voltage for 133 MHz. I'm wondering if we should have 133 MHz set point at all if it's not officially supported.

Shawn

Quoted 31 lines
---
 arch/arm/boot/dts/imx27.dtsi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx27.dtsi +5 -3
index a587294..c9bacca 100644
@@ -57,13 +57,15 @@
 			device_type = "cpu";
 			compatible = "arm,arm926ej-s";
 			operating-points = <
-				/* kHz  uV (No regulator support) */
-				133000  0
-				399000  0
+				/* kHz uV */
+				133000 1200000
+				266000 1300000
+				399000 1450000
 			>;
 			clock-latency = <61036>; /* two CLK32 periods */
 			clocks = <&clks 18>;
 			clock-names = "cpu";
+			voltage-tolerance = <1>;
 		};
 	};
 
Signature · 1 line
1.8.1.5
#3 lore raw
In reply to a message not in the archive
Quoted 5 lines · Alexander Shiyan
Quoted 5 lines · Alexander Shiyan
Quoted 4 lines

This patch adds core voltages for i.MX27 CPUs. Only 266 and 400 MHz modes is documented in the datasheet, we add a 266 MHz frequency for conform this. For 133 MHz CPU frequency minimal voltage is used (1.2V).

Quoted 8 lines
Quoted 4 lines

Ok, just checked i.MX27 data sheet, it seems that only 266 and 400 MHz set points are officially supported. So there is no documented voltage for 133 MHz. I'm wondering if we should have 133 MHz set point at all if it's not officially supported.

Then how about removing the frequency of 133MHz, and increase tolerance of up to 5% in order to be able to play voltages for devices demanding low power consumption?

Sounds good to me.

Shawn