[PATCH 3/3]: Support cpu frequency scaling and power management for iMX6SL

Shawn Guo shawn.guo at linaro.org
Tue Dec 17 09:15:40 EST 2013


On Mon, Dec 16, 2013 at 05:40:20PM -0800, John Tobias wrote:
> Enable cpu frequency on imx6 config
> 
> From: John Tobias <john.tobias.ph at gmail.com>
> 
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig
> b/arch/arm/configs/imx_v6_v7_defconfig
> index 8d0c5a0..a56cb2c 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -43,6 +43,17 @@ CONFIG_PREEMPT_VOLUNTARY=y
>  CONFIG_AEABI=y
>  # CONFIG_OABI_COMPAT is not set
>  CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
> +CONFIG_CPU_FREQ=y
> +CONFIG_CPU_FREQ_GOV_COMMON=y
> +CONFIG_CPU_FREQ_STAT=y
> +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y

We probably want to set ONDEMAND as the default one.

> +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_GENERIC_CPUFREQ_CPU0=y

We do not need this one.

Shawn

> +CONFIG_ARM_IMX6Q_CPUFREQ=y
>  CONFIG_VFP=y
>  CONFIG_NEON=y
>  CONFIG_BINFMT_MISC=m




More information about the linux-arm-kernel mailing list