On 05/19/2015 10:41 PM, Viresh Kumar wrote: Thinking a little more..
+Example 5: Multiple OPP tables
+/ {
- cpus {
cpu@0 {
compatible = "arm,cortex-a7";
...
opp-supply = <&cpu_supply>
operating-points-v2 = <&cpu0_opp0>, <&cpu0_opp1>;
};
- };
- cpu0_opp0: opp0 {
Maybe we should rename these as cpu0_opp_table_slow opp_table-fast
compatible = "operating-points-v2";
opp-name = "opp-slow";
just name = "slow" ?
opp-shared;
entry00 {
rename these as opp0, opp01 etc? these are the actual OPP description, while, what we call "cpu0_opp0" is actually an OPP table choice we have.
opp-hz = <600000000>;
...
};
entry01 {
opp-hz = <800000000>;
...
};
- };
- cpu0_opp1: opp1 {
compatible = "operating-points-v2";
opp-name = "opp-fast";
opp-shared;
entry10 {
opp-hz = <1000000000>;
...
};
entry11 {
opp-hz = <1100000000>;
...
};
- };
+};