dts: g12b: modify sched-energy dts for w400 revision-b [1/1]

PD#SWPL-5020

Problem:
modify sched-energy dts for w400 revision-b

Solution:
modify dts

Verify:
local.

Change-Id: I6686abc10bf07ec0e601eb9a72b7657ca3e1d991
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
This commit is contained in:
Hanjie Lin
2019-02-26 14:57:44 +08:00
committed by Luan Yuan
parent 09bac26b30
commit 24be26b819
6 changed files with 200 additions and 6 deletions

View File

@@ -0,0 +1,87 @@
/ {
energy-costs {
CPU_COST_A73: core-cost0 {
busy-cost-data = <
54 17
135 110
270 202
360 264
540 396
648 470
755 557
816 620
868 699
920 759
/*1024 1024*/
>;
idle-cost-data = <
5
0
0
>;
};
CPU_COST_A53: core-cost1 {
busy-cost-data = <
33 4
83 23
166 41
221 54
332 78
399 92
465 116
503 135
535 162
567 184
599 224
631 279
>;
idle-cost-data = <
3
0
0
>;
};
CLUSTER_COST_A73: cluster-cost0 {
busy-cost-data = <
54 17
135 20
270 25
360 27
540 35
648 40
755 49
816 57
868 54
920 64
/*1024 79*/
>;
idle-cost-data = <
10
10
0
>;
};
CLUSTER_COST_A53: cluster-cost1 {
busy-cost-data = <
33 7
83 8
166 9
221 10
332 13
399 15
465 19
503 23
535 26
567 31
599 36
631 42
>;
idle-cost-data = <
6
6
0
>;
};
};
};

View File

@@ -13,7 +13,11 @@
816 620
868 699
920 759
/*1024 1024*/
972 819
1030 887
1088 937
1134 976
1192 1048
>;
idle-cost-data = <
5
@@ -33,6 +37,7 @@
503 135
535 162
567 184
599 224
631 279
>;
idle-cost-data = <
@@ -53,7 +58,11 @@
816 57
868 54
920 64
/*1024 79*/
972 75
1030 86
1088 97
1134 108
1192 110
>;
idle-cost-data = <
10
@@ -73,6 +82,7 @@
503 23
535 26
567 31
599 36
631 42
>;
idle-cost-data = <

View File

@@ -27,7 +27,7 @@
#include <dt-bindings/input/meson_rc.h>
#include <dt-bindings/phy/phy-amlogic-pcie.h>
#include "mesong12a-bifrost.dtsi"
#include "g12b-sched-energy.dtsi"
#include "g12b-sched-energy-a.dtsi"
/ {
cpus:cpus {

View File

@@ -0,0 +1,87 @@
/ {
energy-costs {
CPU_COST_A73: core-cost0 {
busy-cost-data = <
54 17
135 110
270 202
360 264
540 396
648 470
755 557
816 620
868 699
920 759
/*1024 1024*/
>;
idle-cost-data = <
5
0
0
>;
};
CPU_COST_A53: core-cost1 {
busy-cost-data = <
33 4
83 23
166 41
221 54
332 78
399 92
465 116
503 135
535 162
567 184
599 224
631 279
>;
idle-cost-data = <
3
0
0
>;
};
CLUSTER_COST_A73: cluster-cost0 {
busy-cost-data = <
54 17
135 20
270 25
360 27
540 35
648 40
755 49
816 57
868 54
920 64
/*1024 79*/
>;
idle-cost-data = <
10
10
0
>;
};
CLUSTER_COST_A53: cluster-cost1 {
busy-cost-data = <
33 7
83 8
166 9
221 10
332 13
399 15
465 19
503 23
535 26
567 31
599 36
631 42
>;
idle-cost-data = <
6
6
0
>;
};
};
};

View File

@@ -13,7 +13,11 @@
816 620
868 699
920 759
/*1024 1024*/
972 819
1030 887
1088 937
1134 976
1192 1048
>;
idle-cost-data = <
5
@@ -33,6 +37,7 @@
503 135
535 162
567 184
599 224
631 279
>;
idle-cost-data = <
@@ -53,7 +58,11 @@
816 57
868 54
920 64
/*1024 79*/
972 75
1030 86
1088 97
1134 108
1192 110
>;
idle-cost-data = <
10
@@ -73,6 +82,7 @@
503 23
535 26
567 31
599 36
631 42
>;
idle-cost-data = <

View File

@@ -27,7 +27,7 @@
#include <dt-bindings/input/meson_rc.h>
#include <dt-bindings/phy/phy-amlogic-pcie.h>
#include "mesong12a-bifrost.dtsi"
#include "g12b-sched-energy.dtsi"
#include "g12b-sched-energy-a.dtsi"
/ {
cpus:cpus {