ARM: configs: tizen_bcm2711_defconfig: Enable CONFIG_CPUFREQ_DT config
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Apr 2020 01:35:06 +0000 (10:35 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 08:44:01 +0000 (17:44 +0900)
The cpufreq subsystem provides the generic cpufreq driver
based on device-tree, CONFIG_CPUFREQ_DT config. Enable CONFIG_CPUFREQ_DT
to support cpufreq driver instead of BCM legacy driver. By using
CONFIG_CPUFREQ_DT, be able to use the features provided by other linux kernel
framework like thermal. And control the fine-grained CPU frequency with 4 step
as following:

[Before available CPU frequencies]
600000
1500000

[After available CPU frequencies]
600000
700000
1000000
1500000

Change-Id: I3119b54d82822da9bbf0c2ddd6b2fbb17389b7cf
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
arch/arm/configs/tizen_bcm2711_defconfig

index 72c60da..b577669 100644 (file)
@@ -52,6 +52,9 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
 CONFIG_CPU_FREQ_GOV_ONDEMAND=y
 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPUFREQ_DT=y
+CONFIG_ARM_RASPBERRYPI_CPUFREQ=y
+# CONFIG_ARM_BCM2835_CPUFREQ is not set
 CONFIG_VFP=y
 CONFIG_NEON=y
 CONFIG_KERNEL_MODE_NEON=y