diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-07-20 22:41:06 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-07-20 22:41:06 +0800 |
commit | f60d251b27f6599b3407950924ac9b2c7a94b714 (patch) | |
tree | b0211b7915b34153e1933974c88b06e5fbd94000 /arch/loongarch/Kconfig | |
parent | 8e02c3b782ec64343f3cccc8dc5a8be2b379e80b (diff) |
LoongArch: Add architectural preparation for CPUFreq
Add architectural preparation for CPUFreq driver, including: Kconfig,
register definition and platform device registration.
Some of LoongArch processors support DVFS, their IOCSR.FEATURES has
IOCSRF_FREQSCALE set. And they has a micro-core in the package called
SMC (System Management Controller) to scale frequency, voltage, etc.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Kconfig')
-rw-r--r-- | arch/loongarch/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 0693b621ebd4..9687b1d24126 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -702,6 +702,7 @@ config ARCH_HIBERNATION_POSSIBLE source "kernel/power/Kconfig" source "drivers/acpi/Kconfig" +source "drivers/cpufreq/Kconfig" endmenu |