Skip to contentSkip to conversation

ARM: imx: enable cpufreq for i.mx6dl

PATCH New Anson Huang 2 participants 2 messages Dec 19, 2013

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

PATCH 1/1 ARM: imx: enable cpufreq for i.mx6dl

This patch adds cpufreq dts for i.mx6dl to support cpufreq driver.

---
 arch/arm/boot/dts/imx6dl.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/imx6dl.dtsi +20 -0
index b2f2699..e2ec0fb 100644
@@ -23,6 +23,26 @@
 			device_type = "cpu";
 			reg = <0>;
 			next-level-cache = <&L2>;
+			operating-points = <
+				/* kHz    uV */
+				996000  1275000
+				792000  1175000
+				396000  1075000
+			>;
+			fsl,soc-operating-points = <
+				/* ARM kHz  SOC-PU uV */
+				996000	1175000
+				792000	1175000
+				396000	1175000
+			>;
+			clock-latency = <61036>; /* two CLK32 periods */
+			clocks = <&clks 104>, <&clks 6>, <&clks 16>,
+				 <&clks 17>, <&clks 170>;
+			clock-names = "arm", "pll2_pfd2_396m", "step",
+				      "pll1_sw", "pll1_sys";
+			arm-supply = <&reg_arm>;
+			pu-supply = <&reg_pu>;
+			soc-supply = <&reg_soc>;
 		};
 
 		cpu at 1 {
Signature · 1 line
1.7.9.5
Applied
#1 lore raw

PATCH 1/1 ARM: imx: enable cpufreq for i.mx6dl

Quoted 3 lines · Anson Huang

This patch adds cpufreq dts for i.mx6dl to support cpufreq driver.

Applied, with patch subject changed to 'ARM: dts: imx6dl: enable cpufreq support'.

Shawn

Quoted 39 lines
---
 arch/arm/boot/dts/imx6dl.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/imx6dl.dtsi +20 -0
index b2f2699..e2ec0fb 100644
@@ -23,6 +23,26 @@
 			device_type = "cpu";
 			reg = <0>;
 			next-level-cache = <&L2>;
+			operating-points = <
+				/* kHz    uV */
+				996000  1275000
+				792000  1175000
+				396000  1075000
+			>;
+			fsl,soc-operating-points = <
+				/* ARM kHz  SOC-PU uV */
+				996000	1175000
+				792000	1175000
+				396000	1175000
+			>;
+			clock-latency = <61036>; /* two CLK32 periods */
+			clocks = <&clks 104>, <&clks 6>, <&clks 16>,
+				 <&clks 17>, <&clks 170>;
+			clock-names = "arm", "pll2_pfd2_396m", "step",
+				      "pll1_sw", "pll1_sys";
+			arm-supply = <&reg_arm>;
+			pu-supply = <&reg_pu>;
+			soc-supply = <&reg_soc>;
 		};
 
 		cpu at 1 {
Signature · 1 line
1.7.9.5