From 0a1fd595663c613e2ed171600aa91c02a4582026 Mon Sep 17 00:00:00 2001 From: "mason.huo" Date: Wed, 26 Oct 2022 11:43:20 +0800 Subject: [PATCH] riscv: defconfigs: Enable cpufreq for jh7110 Set the default cpufreq govenor to ondemand. Signed-off-by: mason.huo --- arch/riscv/configs/starfive_jh7110_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/riscv/configs/starfive_jh7110_defconfig b/arch/riscv/configs/starfive_jh7110_defconfig index b802534..f6b9e80 100644 --- a/arch/riscv/configs/starfive_jh7110_defconfig +++ b/arch/riscv/configs/starfive_jh7110_defconfig @@ -256,6 +256,14 @@ CONFIG_PWM=y CONFIG_PWM_STARFIVE_PTC=y CONFIG_PHY_M31_DPHY_RX0=y CONFIG_RAS=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y +CONFIG_CPUFREQ_DT=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_AUTOFS4_FS=y -- 2.7.4