Thread (17 messages) 17 messages, 4 authors, 2015-05-26

Re: [PATCH V5 2/3] OPP: Allow multiple OPP tables to be passed via DT

From: Nishanth Menon <nm@ti.com>
Date: 2015-05-21 05:34:47
Also in: linux-arm-kernel, linux-pm

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>;
+			...
+		};
+	};
+};

-- 
Regards,
Nishanth Menon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help