diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2013-12-20 09:24:51 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-16 20:00:45 -0500 |
commit | 2fb4719b25602a03fb6c7da77d029db03103663d (patch) | |
tree | a86007243b613f4cbd8caef85145224af923b369 /drivers/cpufreq | |
parent | cfc9c8ed03e4d908f2388af8815f44c87b503aaf (diff) |
cpufreq / boost: Kconfig: Support for software-managed BOOST
Add CONFIG_CPU_FREQ_BOOST_SW Kconfig option such that software-managed
boost is enabled only after selecting "EXYNOS Frequency Overclocking -
Software". It also depends on the thermal subsystem to be compiled in,
which is necessary for disabling boost and cooling down the device when
overheating is detected.
Software-managed boost _MUST_ _NOT_ be enabled without thermal subsystem
with properly defined overheating temperature thresholds.
This option doesn't affect the x86's hardware-driven boost support
in the acpi-cpufreq driver.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/Kconfig | 4 | ||||
-rw-r--r-- | drivers/cpufreq/Kconfig.arm | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 386dbc9ccdfd..d100926aca0a 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig | |||
@@ -20,6 +20,10 @@ if CPU_FREQ | |||
20 | config CPU_FREQ_GOV_COMMON | 20 | config CPU_FREQ_GOV_COMMON |
21 | bool | 21 | bool |
22 | 22 | ||
23 | config CPU_FREQ_BOOST_SW | ||
24 | bool | ||
25 | depends on THERMAL | ||
26 | |||
23 | config CPU_FREQ_STAT | 27 | config CPU_FREQ_STAT |
24 | tristate "CPU frequency translation statistics" | 28 | tristate "CPU frequency translation statistics" |
25 | default y | 29 | default y |
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 0468ad147301..31297499a60a 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm | |||
@@ -66,6 +66,21 @@ config ARM_EXYNOS5440_CPUFREQ | |||
66 | 66 | ||
67 | If in doubt, say N. | 67 | If in doubt, say N. |
68 | 68 | ||
69 | config ARM_EXYNOS_CPU_FREQ_BOOST_SW | ||
70 | bool "EXYNOS Frequency Overclocking - Software" | ||
71 | depends on ARM_EXYNOS_CPUFREQ | ||
72 | select CPU_FREQ_BOOST_SW | ||
73 | select EXYNOS_THERMAL | ||
74 | help | ||
75 | This driver supports software managed overclocking (BOOST). | ||
76 | It allows usage of special frequencies for Samsung Exynos | ||
77 | processors if thermal conditions are appropriate. | ||
78 | |||
79 | It reguires, for safe operation, thermal framework with properly | ||
80 | defined trip points. | ||
81 | |||
82 | If in doubt, say N. | ||
83 | |||
69 | config ARM_HIGHBANK_CPUFREQ | 84 | config ARM_HIGHBANK_CPUFREQ |
70 | tristate "Calxeda Highbank-based" | 85 | tristate "Calxeda Highbank-based" |
71 | depends on ARCH_HIGHBANK | 86 | depends on ARCH_HIGHBANK |