Skip to contentSkip to conversation

ARM: dts: imx6q-cm-fx6: fix the operation points

PATCH New christopher.spinrath at rwth-aachen.de 2 participants 2 messages Jun 12, 2016 – Jun 16, 2016

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

PATCH v3 1/2 ARM: dts: imx6q-cm-fx6: fix the operation points

From: Valentin Raevsky <[email protected]>

The current ldo settings of the cm-fx6 do not allow 1.2GHz cpu frequency. At this frequency the module behaves unstable.

But the imx6q fuse indicates that 1.2GHz operation is possible. Hence, remove the 1.2GHz operation point in the device tree.

[christopher.spinrath at rwth-aachen.de: enhance commit message, adjust
remaining operation points to match the ones in imx6q.dtsi and add a comment in the device tree]

---

Notes:
Changes since v2:
- fix comment style
- add Fabio's Reviewed-By

Changes since v1:
- Enhance commit message to explain that we cannot rely on the imx6q fuse to restrict the frequency
- put the same information into a comment in the device tree
- fix the remaining operation points to match the ones given in imx6q.dtsi

 arch/arm/boot/dts/imx6q-cm-fx6.dts | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
arch/arm/boot/dts/imx6q-cm-fx6.dts +22 -0
index 6d8d5e9..b5de7e6 100644
@@ -91,6 +91,28 @@
 	};
 };
 
+&cpu0 {
+	/*
+	 * Although the imx6q fuse indicates that 1.2GHz operation is possible,
+	 * the module behaves unstable at this frequency. Hence, remove the
+	 * 1.2GHz operation point here.
+	 */
+	operating-points = <
+		/* kHz	uV */
+		996000	1250000
+		852000	1250000
+		792000	1175000
+		396000	975000
+	>;
+	fsl,soc-operating-points = <
+		/* ARM kHz	SOC-PU uV */
+		996000		1250000
+		852000		1250000
+		792000		1175000
+		396000		1175000
+	>;
+};
+
 &ecspi1 {
 	fsl,spi-num-chipselects = <2>;
 	cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio3 19 GPIO_ACTIVE_HIGH>;
Signature · 1 line
2.8.3
Applied
#1 lore raw

PATCH v3 1/2 ARM: dts: imx6q-cm-fx6: fix the operation points

Quoted 8 lines · christopher.spinrath at rwth-aachen.de

From: Valentin Raevsky <[email protected]>

The current ldo settings of the cm-fx6 do not allow 1.2GHz cpu frequency. At this frequency the module behaves unstable.

But the imx6q fuse indicates that 1.2GHz operation is possible. Hence, remove the 1.2GHz operation point in the device tree.

Quoted 6 lines

[christopher.spinrath at rwth-aachen.de: enhance commit message, adjust
remaining operation points to match the ones in imx6q.dtsi and add a comment in the device tree]

Applied, thanks.