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.c...@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 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto