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>
--- /dev/null
+
+/ {
+ 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
+ >;
+ };
+ };
+};
816 620
868 699
920 759
- /*1024 1024*/
+ 972 819
+ 1030 887
+ 1088 937
+ 1134 976
+ 1192 1048
>;
idle-cost-data = <
5
503 135
535 162
567 184
+ 599 224
631 279
>;
idle-cost-data = <
816 57
868 54
920 64
- /*1024 79*/
+ 972 75
+ 1030 86
+ 1088 97
+ 1134 108
+ 1192 110
>;
idle-cost-data = <
10
503 23
535 26
567 31
+ 599 36
631 42
>;
idle-cost-data = <
#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 {
--- /dev/null
+
+/ {
+ 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
+ >;
+ };
+ };
+};
816 620
868 699
920 759
- /*1024 1024*/
+ 972 819
+ 1030 887
+ 1088 937
+ 1134 976
+ 1192 1048
>;
idle-cost-data = <
5
503 135
535 162
567 184
+ 599 224
631 279
>;
idle-cost-data = <
816 57
868 54
920 64
- /*1024 79*/
+ 972 75
+ 1030 86
+ 1088 97
+ 1134 108
+ 1192 110
>;
idle-cost-data = <
10
503 23
535 26
567 31
+ 599 36
631 42
>;
idle-cost-data = <
#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 {