summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Miao <jun.miao@windriver.com>2019-09-16 02:24:53 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-20 00:16:21 -0400
commit52ea1e6533d471daf2677a0b59dd65dffa3718b6 (patch)
treec749e45fa82c1de937ae3f0f04fad6ac4b76acbd
parente4e0aad4b655d34c80fdc79e1646f1cb2bcf04ed (diff)
downloadyocto-kernel-cache-52ea1e6533d471daf2677a0b59dd65dffa3718b6.tar.gz
yocto-kernel-cache-52ea1e6533d471daf2677a0b59dd65dffa3718b6.tar.bz2
yocto-kernel-cache-52ea1e6533d471daf2677a0b59dd65dffa3718b6.zip
ti-am335x: add CPU Freq/Idle support
enable kernel options to support the CPU Frequency/Idle. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--bsp/ti-am335x/ti-am335x.cfg21
1 files changed, 21 insertions, 0 deletions
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
index bd2711c8..40843b98 100644
--- a/bsp/ti-am335x/ti-am335x.cfg
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -34,6 +34,27 @@ CONFIG_REGMAP_IRQ=y
CONFIG_REGULATOR_TPS65910=y
CONFIG_REGULATOR_TPS65217=y
+
+#
+# CPU Frequency
+#
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+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_CPUFREQ_DT_PLATDEV=y
+CONFIG_ARM_TI_CPUFREQ=y
+
+# CPU Idle
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_DT_IDLE_STATES=y
+CONFIG_ARM_CPUIDLE=y
+
#
# RAM/ROM/Flash chip drivers
#