Skip to content

Commit 5dfee6e

Browse files
committed
RISC-V: d1nezha_defconfig: enable cpufreq and cpu thermal
1 parent aa7eacf commit 5dfee6e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

arch/riscv/configs/d1nezha_defconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,14 @@ CONFIG_CPU_IDLE_GOV_MENU=y
281281
#
282282
# CPU Frequency scaling
283283
#
284-
# CONFIG_CPU_FREQ is not set
284+
CONFIG_CPU_FREQ=y
285+
286+
#
287+
# CPU frequency scaling drivers
288+
#
289+
CONFIG_CPUFREQ_DT=m
290+
CONFIG_CPUFREQ_DT_PLATDEV=m
291+
CONFIG_RISCV_ALLWINNER_SUN50I_CPUFREQ_NVMEM=m
285292
# end of CPU Frequency scaling
286293
# end of CPU Power Management
287294

@@ -2017,6 +2024,7 @@ CONFIG_THERMAL_GOV_STEP_WISE=y
20172024
# CONFIG_THERMAL_GOV_BANG_BANG is not set
20182025
CONFIG_THERMAL_GOV_USER_SPACE=y
20192026
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
2027+
CONFIG_CPU_THERMAL=y
20202028
CONFIG_THERMAL_EMULATION=y
20212029
# CONFIG_THERMAL_MMIO is not set
20222030
# CONFIG_QORIQ_THERMAL is not set

0 commit comments

Comments
 (0)