thermal: update BCL policy changes for BAACL

Bug: 204271308
Test: Boot and confirm temperature reading
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I10b15a4863dbbc11b9d2149b3fda73f860717a3f
This commit is contained in:
George Lee 2022-01-18 10:32:30 -08:00 committed by TreeHugger Robot
parent d95f875407
commit b60df13d49
3 changed files with 96 additions and 15 deletions

View file

@ -498,7 +498,7 @@
"Type":"BCL_PERCENTAGE", "Type":"BCL_PERCENTAGE",
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", 80,
"NAN", "NAN",
90, 90,
93, 93,
@ -546,7 +546,34 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":[
"battery",
"soc"
],
"Coefficient":[
"-25000",
"80"
],
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
2.0,
"NAN",
"NAN"
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
}, },
{ {
"Name":"vdroop1", "Name":"vdroop1",
@ -577,7 +604,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"vdroop2", "Name":"vdroop2",
@ -608,7 +635,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"smpl_gm", "Name":"smpl_gm",
@ -639,7 +666,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"ocp_cpu1", "Name":"ocp_cpu1",

View file

@ -140,7 +140,7 @@
"Type":"BCL_PERCENTAGE", "Type":"BCL_PERCENTAGE",
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", 80,
"NAN", "NAN",
90, 90,
93, 93,
@ -188,7 +188,34 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":[
"battery",
"soc"
],
"Coefficient":[
"-25000",
"80"
],
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
2.0,
"NAN",
"NAN"
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
}, },
{ {
"Name":"vdroop1", "Name":"vdroop1",
@ -219,7 +246,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"vdroop2", "Name":"vdroop2",
@ -250,7 +277,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"smpl_gm", "Name":"smpl_gm",
@ -281,7 +308,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"ocp_cpu1", "Name":"ocp_cpu1",

View file

@ -526,7 +526,7 @@
"Type":"BCL_PERCENTAGE", "Type":"BCL_PERCENTAGE",
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", 80,
"NAN", "NAN",
90, 90,
93, 93,
@ -574,7 +574,34 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":[
"battery",
"soc"
],
"Coefficient":[
"-25000",
"80"
],
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
2.0,
"NAN",
"NAN"
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
}, },
{ {
"Name":"vdroop1", "Name":"vdroop1",
@ -605,7 +632,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"vdroop2", "Name":"vdroop2",
@ -636,7 +663,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"smpl_gm", "Name":"smpl_gm",
@ -667,7 +694,7 @@
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
} }
] ]
}, },
{ {
"Name":"ocp_cpu1", "Name":"ocp_cpu1",