luci-app-cpufreq: add mt7988 support

This commit is contained in:
coolsnowwolf 2024-06-10 02:06:41 +08:00
parent 457ba6c3bd
commit d950dac3fc
2 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting
LUCI_DEPENDS:=@(arm||aarch64)
PKG_NAME:=luci-app-cpufreq
PKG_VERSION:=10
PKG_VERSION:=11
PKG_RELEASE:=$(COMMITCOUNT)
include ../../luci.mk

View File

@ -53,6 +53,9 @@ case "$DISTRIB_TARGET" in
"meson/meson8b")
uci_write_config 0 schedutil 816000 $CPU_MAX_FREQ
;;
"mediatek/mt7988")
uci_write_config 0 schedutil 800000 2300000
;;
"mvebu/cortexa72")
uci_write_config 0 ondemand 550000 $CPU_MAX_FREQ 10 50
uci_write_config 2 ondemand 550000 $CPU2_MAX_FREQ 10 50