set max cpu core frequency (#38132)

cap cpu core frequency

(cherry picked from commit c01b8be968)
This commit is contained in:
Daniel Koepping
2026-06-03 19:35:51 -07:00
committed by Jason Wen
parent 1e66d34eb2
commit fb9e8f4fd9
+3
View File
@@ -313,6 +313,9 @@ class Tici(HardwareBase):
continue
gov = 'ondemand' if powersave_enabled else 'performance'
sudo_write(gov, f'/sys/devices/system/cpu/cpufreq/policy{n}/scaling_governor')
if not powersave_enabled:
# cap max core freq to 1689 Mhz
sudo_write('1689600', f'/sys/devices/system/cpu/cpufreq/policy{n}/scaling_max_freq')
# *** IRQ config ***