summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRex Chou <rex_chou@compal.corp-partner.google.com>2024-01-16 14:52:31 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-01-18 14:56:20 +0000
commit01522a0f5634c64f5c17f7f9542dd42237ba289d (patch)
tree9ada6a04a73a4a50ba5eaad6b79fc7e4512941bc /src
parent7f176f2a291a47f7dd5cb269326ca9fcf0f98205 (diff)
downloadcoreboot-01522a0f5634c64f5c17f7f9542dd42237ba289d.tar.gz
coreboot-01522a0f5634c64f5c17f7f9542dd42237ba289d.tar.bz2
coreboot-01522a0f5634c64f5c17f7f9542dd42237ba289d.zip
mb/google/nissa/var/craaskov: Add fan performance control
Add 6w and 15w fan performance control. BUG=b:318454915 TEST=emerge-nissa coreboot chromeos-bootimage Thermal team test pass. Change-Id: If21baa2f6f9bcd527cec2bced27c5fb2cd607830 Signed-off-by: Rex Chou <rex_chou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79988 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/craaskov/overridetree.cb36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/craaskov/overridetree.cb b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
index 263c4c26fb54..a070b467c058 100644
--- a/src/mainboard/google/brya/variants/craaskov/overridetree.cb
+++ b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
@@ -187,6 +187,24 @@ chip soc/intel/alderlake
[3] = { 8, 500 }
}"
+ ## Fan Performance Control (Percent, Speed, Noise, Power)
+ register "controls.fan_perf" = "{
+ [0] = { 100, 6000, 220, 2200, },
+ [1] = { 92, 5500, 180, 1800, },
+ [2] = { 85, 5000, 145, 1450, },
+ [3] = { 70, 4400, 115, 1150, },
+ [4] = { 56, 3900, 90, 900, },
+ [5] = { 45, 3300, 55, 550, },
+ [6] = { 38, 3000, 30, 300, },
+ [7] = { 33, 2900, 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 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_6W
end
@@ -266,6 +284,24 @@ chip soc/intel/alderlake
[3] = { 8, 500 }
}"
+ ## Fan Performance Control (Percent, Speed, Noise, Power)
+ register "controls.fan_perf" = "{
+ [0] = { 100, 6000, 220, 2200, },
+ [1] = { 92, 5500, 180, 1800, },
+ [2] = { 85, 5000, 145, 1450, },
+ [3] = { 70, 4400, 115, 1150, },
+ [4] = { 56, 3900, 90, 900, },
+ [5] = { 45, 3300, 55, 550, },
+ [6] = { 38, 3000, 30, 300, },
+ [7] = { 33, 2900, 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 1 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_15W
end