Hi,

On Fri, Jan 09, 2026 at 11:31:00AM -0500, Bruce Ashfield wrote:
> On Fri, Jan 9, 2026 at 10:35 AM Mikko Rapeli <[email protected]>
> wrote:
> 
> > arm64 supports CPU_IDLE directly and ARM_CPUIDLE
> > gets disabled.
> >
> > Signed-off-by: Mikko Rapeli <[email protected]>
> > ---
> >  features/power/arm.cfg        | 6 ------
> >  features/power/arm.scc        | 6 +++++-
> >  features/power/arm_common.cfg | 7 +++++++
> >  3 files changed, 12 insertions(+), 7 deletions(-)
> >  create mode 100644 features/power/arm_common.cfg
> >
> > diff --git a/features/power/arm.cfg b/features/power/arm.cfg
> > index e557fcc44b67..55966801b78a 100644
> > --- a/features/power/arm.cfg
> > +++ b/features/power/arm.cfg
> > @@ -1,8 +1,2 @@
> >  # SPDX-License-Identifier: MIT
> > -# 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
> > index d10c35717919..7f9c7e18714f 100644
> > --- a/features/power/arm.scc
> > +++ b/features/power/arm.scc
> > @@ -2,4 +2,8 @@
> >  define KFEATURE_DESCRIPTION "Enable ARM/ARM64 Power Management options"
> >  define KFEATURE_COMPATIBILITY board
> >
> > -kconf non-hardware arm.cfg
> > +kconf non-hardware arm_common.cfg
> > +
> > +if [ "$KARCH" = "arm" ]; then
> > +       kconf hardware arm.cfg
> > +fi
> >
> 
> That's 32 bit arm, correct ? if just looks odd to
> check the arch in the "arm.scc" file, maybe a
> comment indicating that it is 32bit related, otherwise
> I'll surely get confused later.

Yes, I can add a comment.

-Mikko

> Bruce
> 
> 
> 
> > diff --git a/features/power/arm_common.cfg b/features/power/arm_common.cfg
> > new file mode 100644
> > index 000000000000..0744c889eeaf
> > --- /dev/null
> > +++ b/features/power/arm_common.cfg
> > @@ -0,0 +1,7 @@
> > +# SPDX-License-Identifier: MIT
> > +# 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_CPU_FREQ=y
> > +CONFIG_CPUFREQ_DT=y
> > --
> > 2.34.1
> >
> >
> 
> -- 
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16198): 
https://lists.yoctoproject.org/g/linux-yocto/message/16198
Mute This Topic: https://lists.yoctoproject.org/mt/117176762/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to