OSDN Git Service

ARM: configs: at91: sama7: add config for cpufreq
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 13 Jan 2022 14:49:00 +0000 (16:49 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 25 Feb 2022 11:20:43 +0000 (12:20 +0100)
Add config flags for CPUFreq. This includes enabling CPUFreq support,
CPUFreq DT driver and governors, default one being the conservative
governor.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220113144900.906370-11-claudiu.beznea@microchip.com
arch/arm/configs/sama7_defconfig

index d2c09d3..aad10ae 100644 (file)
@@ -26,6 +26,12 @@ CONFIG_FORCE_MAX_ZONEORDER=15
 CONFIG_UACCESS_WITH_MEMCPY=y
 # CONFIG_ATAGS is not set
 CONFIG_CMDLINE="console=ttyS0,115200 earlyprintk ignore_loglevel"
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPUFREQ_DT=y
 CONFIG_CPU_IDLE=y
 CONFIG_VFP=y
 CONFIG_NEON=y