Skip to content

Commit 4ce9f72

Browse files
denisdrozdovvireshk
authored andcommitted
ARM: dts: imx7s: Define operating points table for cpufreq
Processor operating points for imx7s.dtsi should be properly defined to perform correct imx-cpufreq-dt probe and registration and provide an access to the temperature sensors using the i.MX thermal driver. Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 4a8a77a commit 4ce9f72

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

arch/arm/boot/dts/imx7s.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,22 @@
7676
clock-latency = <61036>; /* two CLK32 periods */
7777
clocks = <&clks IMX7D_CLK_ARM>;
7878
cpu-idle-states = <&cpu_sleep_wait>;
79+
operating-points-v2 = <&cpu0_opp_table>;
80+
#cooling-cells = <2>;
81+
nvmem-cells = <&fuse_grade>;
82+
nvmem-cell-names = "speed_grade";
83+
};
84+
};
85+
86+
cpu0_opp_table: opp-table {
87+
compatible = "operating-points-v2";
88+
opp-shared;
89+
90+
opp-792000000 {
91+
opp-hz = /bits/ 64 <792000000>;
92+
opp-microvolt = <1000000>;
93+
clock-latency-ns = <150000>;
94+
opp-supported-hw = <0xf>, <0xf>;
7995
};
8096
};
8197

0 commit comments

Comments
 (0)