[Letux-kernel] [PATCH] letux_defconfig: enable cpuidle
H. Nikolaus Schaller
hns at goldelico.com
Wed Feb 28 10:51:22 CET 2018
> Am 27.02.2018 um 22:52 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> CPU idle support was not enabled, so lets enable it.
Oops! Looks better if we want the CPU to idle :)
> That reduces the idle current seen by around 10mA.
Great!
I have tried on GTA04 and on Pyra it seems to have no negative effects.
It could have an even greater effect on OMAP5 but can't do reliable energy
consumption tests on Pyra yet since the fuel gauge chip seems not
to be properly calibrated in mA.
So let's include in letux-4.16-rc4.
BR and thanks,
Nikolaus
>
> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
> ---
> arch/arm/configs/letux_defconfig | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/letux_defconfig b/arch/arm/configs/letux_defconfig
> index 2a487543ccd6..1c0aa0399c2b 100644
> --- a/arch/arm/configs/letux_defconfig
> +++ b/arch/arm/configs/letux_defconfig
> @@ -687,7 +687,14 @@ CONFIG_ARM_TI_CPUFREQ=y
> #
> # CPU Idle
> #
> -# CONFIG_CPU_IDLE is not set
> +CONFIG_CPU_IDLE=y
> +CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
> +CONFIG_CPU_IDLE_GOV_MENU=y
> +CONFIG_DT_IDLE_STATES=y
> +
> +# ARM CPU Idle Drivers
> +#
> +CONFIG_ARM_CPUIDLE=y
> CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED=y
>
> #
> --
> 2.11.0
>
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
More information about the Letux-kernel
mailing list