Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3259d1d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add sched energy data for msm8953 and sdm450"

parents e06ba2c4 eaed9380
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@
			reg = <0x0>;
			enable-method = "psci";
			efficiency = <1024>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>;
			next-level-cache = <&L2_0>;
			L2_0: l2-cache {
			      compatible = "arm,arch-cache";
@@ -81,6 +82,7 @@
			enable-method = "psci";
			reg = <0x1>;
			efficiency = <1024>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>;
			next-level-cache = <&L2_0>;
			L1_I_1: l1-icache {
			      compatible = "arm,arch-cache";
@@ -98,6 +100,7 @@
			enable-method = "psci";
			reg = <0x2>;
			efficiency = <1024>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>;
			next-level-cache = <&L2_0>;
			L1_I_2: l1-icache {
			      compatible = "arm,arch-cache";
@@ -115,6 +118,7 @@
			enable-method = "psci";
			reg = <0x3>;
			efficiency = <1024>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_0>;
			next-level-cache = <&L2_0>;
			L1_I_3: l1-icache {
			      compatible = "arm,arch-cache";
@@ -132,6 +136,7 @@
			enable-method = "psci";
			reg = <0x100>;
			efficiency = <1126>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_1>;
			next-level-cache = <&L2_1>;
			L2_1: l2-cache {
			      compatible = "arm,arch-cache";
@@ -155,6 +160,7 @@
			enable-method = "psci";
			reg = <0x101>;
			efficiency = <1126>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_1>;
			next-level-cache = <&L2_1>;
			L1_I_101: l1-icache {
			      compatible = "arm,arch-cache";
@@ -172,6 +178,7 @@
			enable-method = "psci";
			reg = <0x102>;
			efficiency = <1126>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_1>;
			next-level-cache = <&L2_1>;
			L1_I_102: l1-icache {
			      compatible = "arm,arch-cache";
@@ -189,6 +196,7 @@
			enable-method = "psci";
			reg = <0x103>;
			efficiency = <1126>;
			sched-energy-costs = <&CPU_COST_0 &CLUSTER_COST_1>;
			next-level-cache = <&L2_1>;
			L1_I_103: l1-icache {
			      compatible = "arm,arch-cache";
@@ -200,6 +208,77 @@
			};
		};
	};

	energy_costs: energy-costs {
		compatible = "sched-energy";

		CPU_COST_0: core-cost0 {
			busy-cost-data = <
				 652800   5
				 883200   8
				1036800  10
				1248000  13
				1401600  16
				1536000  19
				1689600  22
				1804800  26
				1843200  27
				1958400  33
				2016000  36
				2150400  43
				2208000  44
				2304000  54
				2400000  65
			>;
			idle-cost-data = <
				4 3 2 1
			>;
		};
		CLUSTER_COST_0: cluster-cost0 {
			busy-cost-data = <
				 652800   69
				 883200   72
				1036800   74
				1248000   77
				1401600   80
				1536000   90
				1689600  100
				1804800  110
				1843200  120
				1958400  130
				2016000  140
				2150400  150
				2208000  160
				2304000  170
				2400000  180
			>;
			idle-cost-data = <
				4 3 2 1
			>;
		};
		CLUSTER_COST_1: cluster-cost1 {
			busy-cost-data = <
				 652800    5
				 883200    8
				1036800   10
				1248000   13
				1401600   16
				1536000   85
				1689600   95
				1804800  105
				1843200  115
				1958400  125
				2016000  135
				2150400  145
				2208000  155
				2304000  165
				2400000  175
			>;
			idle-cost-data = <
				4 3 2 1
			>;
		};
	};
};

&soc {