[PATCH V5 2/3] OPP: Allow multiple OPP tables to be passed via DT
Nishanth Menon
nm at ti.com
Wed May 20 22:34:47 PDT 2015
On 05/19/2015 10:41 PM, Viresh Kumar wrote:
Thinking a little more..
> +Example 5: Multiple OPP tables
> +
> +/ {
> + cpus {
> + cpu at 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>;
> + ...
> + };
> + };
> +};
>
--
Regards,
Nishanth Menon
More information about the linux-arm-kernel
mailing list