set max cpu core frequency (#38132)

cap cpu core frequency
This commit is contained in:
Daniel Koepping
2026-06-03 19:35:51 -07:00
committed by GitHub
parent 094591793a
commit c01b8be968
+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 ***