Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx7d: use operating-points-v2 for cpu

This patch uses "operating-points-v2" instead of
"operating-points" to be more fit with cpufreq-dt
driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Anson Huang and committed by
Shawn Guo
bce48c92 0f861aad

+20 -5
+20 -5
arch/arm/boot/dts/imx7d.dtsi
··· 9 9 / { 10 10 cpus { 11 11 cpu0: cpu@0 { 12 - operating-points = < 13 - /* KHz uV */ 14 - 996000 1075000 15 - 792000 975000 16 - >; 17 12 clock-frequency = <996000000>; 13 + operating-points-v2 = <&cpu0_opp_table>; 18 14 }; 19 15 20 16 cpu1: cpu@1 { ··· 18 22 device_type = "cpu"; 19 23 reg = <1>; 20 24 clock-frequency = <996000000>; 25 + operating-points-v2 = <&cpu0_opp_table>; 26 + }; 27 + }; 28 + 29 + cpu0_opp_table: opp-table { 30 + compatible = "operating-points-v2"; 31 + opp-shared; 32 + 33 + opp-792000000 { 34 + opp-hz = /bits/ 64 <792000000>; 35 + opp-microvolt = <975000>; 36 + clock-latency-ns = <150000>; 37 + }; 38 + 39 + opp-996000000 { 40 + opp-hz = /bits/ 64 <996000000>; 41 + opp-microvolt = <1075000>; 42 + clock-latency-ns = <150000>; 43 + opp-suspend; 21 44 }; 22 45 }; 23 46