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

Commit 917c1d39 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: update energy model for SM8150v2"

parents 41a65c88 e38be7cd
Loading
Loading
Loading
Loading
+160 −0
Original line number Diff line number Diff line
@@ -60,3 +60,163 @@
		iommus = <&apps_smmu 0x2304 0x60>;
	};
};

&energy_costs {
	CPU_COST_0: core-cost0 {
		busy-cost-data = <
			 300000 24
			 403200 25
			 499200 27
			 576000 29
			 672000 33
			 768000 37
			 844800 42
			 940800 47
			1036800 54
			1113600 59
			1209600 66
			1305600 73
			1382400 79
			1478400 88
			1555200 96
			1632000 105
			1708800 115
			1785600 128
		>;
		idle-cost-data = <
			22 18 14 12
		>;
	};

	CPU_COST_1: core-cost1 {
		busy-cost-data = <
			 710400 165
			 825600 195
			 940800 228
			1056000 264
			1171200 301
			1286400 339
			1401600 378
			1497600 411
			1612800 453
			1708800 491
			1804800 534
			1920000 594
			2016000 654
			2131200 740
			2227200 825
			2323200 920
			2419200 1022
		>;
		idle-cost-data = <
			100 80 60 40
		>;
	};

	CPU_COST_2: core-cost2 {
		busy-cost-data = <
			 825600 227
			 940800 262
			1056000 302
			1171200 348
			1286400 398
			1401600 451
			1497600 498
			1612800 556
			1708800 606
			1804800 655
			1920000 716
			2016000 766
			2131200 826
			2227200 878
			2323200 933
			2419200 992
			2534400 1075
			2649600 1179
			2745600 1288
			2841600 1427
		>;
		idle-cost-data = <
			130 110 90 70
		>;
	};

	CLUSTER_COST_0: cluster-cost0 {
		busy-cost-data = <
			 300000 3
			 403200 4
			 499200 4
			 576000 4
			 672000 5
			 768000 5
			 844800 6
			 940800 7
			1036800 8
			1113600 9
			1209600 10
			1305600 11
			1382400 12
			1478400 13
			1555200 14
			1632000 15
			1708800 16
			1785600 17
		>;
		idle-cost-data = <
			4 3 2 1
		>;
	};

	CLUSTER_COST_1: cluster-cost1 {
		busy-cost-data = <
			 710400 25
			 825600 26
			 940800 27
			1056000 28
			1171200 29
			1286400 30
			1401600 32
			1497600 34
			1612800 37
			1708800 40
			1804800 45
			1920000 50
			2016000 57
			2131200 64
			2227200 74
			2323200 90
			2419200 106
		>;
		idle-cost-data = <
			4 3 2 1
		>;
	};

	CLUSTER_COST_2: cluster-cost2 {
		busy-cost-data = <
			 825600 30
			 940800 33
			1056000 36
			1171200 39
			1286400 42
			1401600 46
			1497600 49
			1612800 55
			1708800 67
			1804800 77
			1920000 87
			2016000 100
			2131200 110
			2227200 120
			2323200 128
			2419200 135
			2534400 140
			2649600 147
			2745600 160
			2841600 180
		>;
		idle-cost-data = <
			4 3 2 1
		>;
	};
};