linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: dts: imx6sl: Adding cpu frequency table
@ 2013-12-18 23:50 John Tobias
  2013-12-18 23:50 ` [PATCH 2/4] ARM: imx: Add cpu frequency scaling support John Tobias
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: John Tobias @ 2013-12-18 23:50 UTC (permalink / raw)
  To: linux-arm-kernel

Device tree for iMX6SL doesn't have an existing cpu frequency table.

Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
---
 arch/arm/boot/dts/imx6sl.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index 28558f1..473d54b 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -38,6 +38,21 @@
 			device_type = "cpu";
 			reg = <0x0>;
 			next-level-cache = <&L2>;
+			operating-points = <
+				/* kHz    uV */
+				996000  1275000
+				792000  1175000
+				396000  975000
+			>;
+			clock-latency = <61036>; /* two CLK32 periods */
+			clocks = <&clks IMX6SL_CLK_ARM>, <&clks IMX6SL_CLK_PLL2_PFD2>,
+					<&clks IMX6SL_CLK_STEP>, <&clks IMX6SL_CLK_PLL1_SW>,
+					<&clks IMX6SL_CLK_PLL1_SYS>;
+			clock-names = "arm", "pll2_pfd2_396m", "step",
+				      "pll1_sw", "pll1_sys";
+			arm-supply = <&reg_arm>;
+			pu-supply = <&reg_pu>;
+			soc-supply = <&reg_soc>;
 		};
 	};
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-12-19  6:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 23:50 [PATCH 1/4] ARM: dts: imx6sl: Adding cpu frequency table John Tobias
2013-12-18 23:50 ` [PATCH 2/4] ARM: imx: Add cpu frequency scaling support John Tobias
2013-12-19  5:48   ` Shawn Guo
2013-12-19  6:36     ` John Tobias
2013-12-18 23:50 ` [PATCH 3/4] cpufreq: imx6q: add of_init_opp_table John Tobias
2013-12-18 23:50 ` [PATCH 4/4] PM / OPP: export symbol find_device_opp John Tobias
2013-12-19  5:54   ` Shawn Guo
2013-12-19  6:47     ` John Tobias
2013-12-19  5:42 ` [PATCH 1/4] ARM: dts: imx6sl: Adding cpu frequency table Shawn Guo
2013-12-19  6:54   ` John Tobias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).