[linux-yocto] [PATCH 2/2] power: create the minimum set of cpu idle and cpufreq scaling for arm/arm64
Zumeng Chen
zumeng.chen at windriver.com
Wed Jun 5 18:18:48 PDT 2019
This patch is to create the minimum set for cpu idle/freq scaling, which is ok
to both arm and arm64 with DT enablement. And we leave more specific features
to the end users.
Signed-off-by: Zumeng.Chen <zumeng.chen at windriver.com>
---
features/power/arm.cfg | 7 +++++++
features/power/arm.scc | 4 ++++
2 files changed, 11 insertions(+)
create mode 100644 features/power/arm.cfg
create mode 100644 features/power/arm.scc
diff --git a/features/power/arm.cfg b/features/power/arm.cfg
new file mode 100644
index 0000000..94bfcf8
--- /dev/null
+++ b/features/power/arm.cfg
@@ -0,0 +1,7 @@
+# To enable cpu idle and frequency scaling with the least set, as for others we
+# leave them to the end user, like which governor for idle or scaling
+
+CONFIG_CPU_IDLE=y
+CONFIG_ARM_CPUIDLE=y
+CONFIG_CPU_FREQ=y
+CONFIG_CPUFREQ_DT=y
diff --git a/features/power/arm.scc b/features/power/arm.scc
new file mode 100644
index 0000000..644b293
--- /dev/null
+++ b/features/power/arm.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable ARM/ARM64 Power Management options"
+define KFEATURE_COMPATIBILITY board
+
+kconf non-hardware arm.cfg
--
2.7.4
More information about the linux-yocto
mailing list