SH Kim has uploaded this change for review.

View Change

mb/google/brya/var/xol: Update DTT policy

Update initial DTT policy for Xol.

- Critical CPU temparature: 99
- TCC offset: 94
- Remove active policy since EC will control fan.

BUG=b:323989520
BRANCH=firmware-brya-14505.B
TEST=FW_NAME=xol emerge-brya coreboot chromeos-bootimage

Change-Id: I546b313a1e6af16029309174a5bed2d1e4aa4d11
Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com>
---
M src/mainboard/google/brya/variants/xol/overridetree.cb
1 file changed, 3 insertions(+), 56 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/80410/1
diff --git a/src/mainboard/google/brya/variants/xol/overridetree.cb b/src/mainboard/google/brya/variants/xol/overridetree.cb
index 205b43f..aafe22f 100644
--- a/src/mainboard/google/brya/variants/xol/overridetree.cb
+++ b/src/mainboard/google/brya/variants/xol/overridetree.cb
@@ -12,6 +12,8 @@
# display flickering issue.
register "disable_dynamic_tccold_handshake" = "true"

+ register "tcc_offset" = "6" # TCC of 94
+
register "platform_pmax" = "145"

register "usb2_ports[0]" = "{
@@ -153,43 +155,6 @@
register "options.tsr[2].desc" = ""Charger""

# TODO: below values are initial reference values only
- ## Active Policy
- register "policies.active" = "{
- [0] = {
- .target = DPTF_TEMP_SENSOR_0,
- .thresholds = {
- TEMP_PCT(75, 97),
- TEMP_PCT(70, 93),
- TEMP_PCT(60, 86),
- TEMP_PCT(52, 80),
- TEMP_PCT(47, 64),
- TEMP_PCT(43, 52),
- TEMP_PCT(40, 40),
- }
- },
- [1] = {
- .target = DPTF_TEMP_SENSOR_1,
- .thresholds = {
- TEMP_PCT(75, 97),
- TEMP_PCT(70, 93),
- TEMP_PCT(60, 86),
- TEMP_PCT(52, 80),
- TEMP_PCT(47, 64),
- TEMP_PCT(43, 52),
- TEMP_PCT(40, 40),
- }
- },
- [2] = {
- .target = DPTF_TEMP_SENSOR_2,
- .thresholds = {
- TEMP_PCT(82, 97),
- TEMP_PCT(78, 93),
- TEMP_PCT(72, 86),
- TEMP_PCT(60, 80),
- }
- }
- }"
-
## Passive Policy
register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
@@ -200,7 +165,7 @@

## Critical Policy
register "policies.critical" = "{
- [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
+ [0] = DPTF_CRITICAL(CPU, 99, SHUTDOWN),
[1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
[3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
@@ -231,24 +196,6 @@
[3] = { 8, 500 }
}"

- ## Fan Performance Control (Percent, Speed, Noise, Power)
- register "controls.fan_perf" = "{
- [0] = { 90, 6700, 220, 2200, },
- [1] = { 80, 5800, 180, 1800, },
- [2] = { 70, 5000, 145, 1450, },
- [3] = { 60, 4900, 115, 1150, },
- [4] = { 50, 3838, 90, 900, },
- [5] = { 40, 2904, 55, 550, },
- [6] = { 30, 2337, 30, 300, },
- [7] = { 20, 1608, 15, 150, },
- [8] = { 10, 800, 10, 100, },
- [9] = { 0, 0, 0, 50, }
- }"
-
- ## Fan options
- register "options.fan.fine_grained_control" = "1"
- register "options.fan.step_size" = "2"
-
device generic 0 alias dptf_policy on end
end
end

To view, visit change 80410. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I546b313a1e6af16029309174a5bed2d1e4aa4d11
Gerrit-Change-Number: 80410
Gerrit-PatchSet: 1
Gerrit-Owner: SH Kim <sh_.kim@samsung.corp-partner.google.com>
Gerrit-MessageType: newchange