ARM: dts: rockchip: convert rk3288 to operating-points-v2
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/1 ARM: dts: rockchip: convert rk3288 to operating-points-v2
Operating points need to be present in each cpu core using it, not only the first one. With operating-points-v1 this would require duplicating this table into each cpu node.
With opp-v2 we can share the same table on all nodes.
Signed-off-by Heiko Stuebner <[email protected]>
--- arch/arm/boot/dts/rk3288-veyron.dtsi | 36 +++++++------- arch/arm/boot/dts/rk3288.dtsi | 70 ++++++++++++++++++++++------ 2 files changed, 75 insertions(+), 31 deletions(-)
arch/arm/boot/dts/rk3288-veyron.dtsi +20 -16
@@ -91,22 +91,26 @@ &cpu0 { cpu0-supply = <&vdd_cpu>; - operating-points = < - /* KHz uV */ - 1800000 1400000 - 1704000 1350000 - 1608000 1300000 - 1512000 1250000 - 1416000 1200000 - 1200000 1100000 - 1008000 1050000 - 816000 1000000 - 696000 950000 - 600000 900000 - 408000 900000 - 216000 900000 - 126000 900000 - >; +}; + +/* rk3288-c used in Veyron Chrome-devices has slightly changed OPPs */ +&cpu_opp_table { + /delete-node/ opp02; + + opp10 { + opp-microvolt = <1250000>; + }; + opp11 { + opp-microvolt = <1300000>; + }; + opp12 { + opp-hz = /bits/ 64 <1704000000>; + opp-microvolt = <1350000>; + }; + opp13 { + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <1400000>; + }; }; &emmc {
arch/arm/boot/dts/rk3288.dtsi +55 -15
82 lines not on this page · raw message
Signature · 1 line
2.17.0
PATCH 1/1 ARM: dts: rockchip: convert rk3288 to operating-points-v2
arch/arm/boot/dts/rk3288.dtsi line 92
Quoted 5 lines · Heiko Stuebner
arch/arm/boot/dts/rk3288.dtsi +5
-0+ cpu_opp_table: cpu-opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp00 {
Most of the platforms write it as "opp-126000000". Maybe follow the same nomenclature ?
Signature · 1 line
viresh