From 7d1c54a0404e22dc1e2342b4ca5e0fa6d20615c3 Mon Sep 17 00:00:00 2001 From: Matt Filetto Date: Sun, 14 Jul 2013 18:33:00 -0700 Subject: [PATCH] drivers/cpufreq/Kconfig: add missing intellidemand config options Change-Id: I3e8f38aa826cb77a17bf59ea13c5e9a246514ac6 --- arch/arm/configs/chronic_jf_defconfig | 1 + drivers/cpufreq/Kconfig | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm/configs/chronic_jf_defconfig b/arch/arm/configs/chronic_jf_defconfig index 6f83dd4cb19..5d62d84fb49 100644 --- a/arch/arm/configs/chronic_jf_defconfig +++ b/arch/arm/configs/chronic_jf_defconfig @@ -731,6 +731,7 @@ CONFIG_CPU_FREQ_GOV_INTELLIDEMAND=y CONFIG_INTELLI_MAX_ACTIVE_FREQ=1512000 CONFIG_INTELLI_MAX_INACTIVE_FREQ=1134000 # CONFIG_CPUFREQ_ID_PERFLOCK is not set +# CPUFREQ_LIMIT_MAX_FREQ is not set # CONFIG_CPU_FREQ_GOV_NIGHTMARE is not set CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 3aeb000049b..4653272c4eb 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -414,6 +414,27 @@ config CPUFREQ_ID_PERFLOCK help Minimum CPU performance lock for Intellidemand governor +config INTELLI_MAX_ACTIVE_FREQ + int "Max Active Freq for Intellidemand" + depends on CPU_FREQ_GOV_INTELLIDEMAND + default 1512000 + help + Set default max active frequency for intellidemand + +config INTELLI_MAX_INACTIVE_FREQ + int "Max Inactive Freq for Intellidemand" + depends on CPU_FREQ_GOV_INTELLIDEMAND + default 1134000 + help + Set default max inactive frequency for intellidemand + +config CPUFREQ_LIMIT_MAX_FREQ + bool "Limit Max Freq" + depends on CPU_FREQ_GOV_INTELLIDEMAND + default n + help + Limit Max Freq while screen is on for Intellidemand governor + config CPU_FREQ_GOV_KTOONSERVATIVEQ tristate "'ktoonservativeq' cpufreq governor" depends on CPU_FREQ