import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / cpufreq / Kconfig
index 534fcb8251538a31d2695313b1d565990f8d51d4..aa287b4264b478ee8700d728f544c4e980979ee7 100644 (file)
@@ -3,8 +3,8 @@ menu "CPU Frequency scaling"
 config CPU_FREQ
        bool "CPU Frequency scaling"
        help
-         CPU Frequency scaling allows you to change the clock speed of 
-         CPUs on the fly. This is a nice method to save power, because 
+         CPU Frequency scaling allows you to change the clock speed of
+         CPUs on the fly. This is a nice method to save power, because
          the lower the CPU clock speed, the less power the CPU consumes.
 
          Note that this driver doesn't automatically change the CPU
@@ -75,7 +75,7 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
        select CPU_FREQ_GOV_USERSPACE
        help
          Use the CPUFreq governor 'userspace' as default. This allows
-         you to set the CPU frequency manually or when a userspace 
+         you to set the CPU frequency manually or when a userspace
          program shall be able to set the CPU dynamically without having
          to enable the userspace governor manually.
 
@@ -91,6 +91,18 @@ config CPU_FREQ_DEFAULT_GOV_ONDEMAND
          governor. If unsure have a look at the help section of the
          driver. Fallback governor will be the performance governor.
 
+config CPU_FREQ_DEFAULT_GOV_INTERACTIVEPLUS
+        bool "interactiveplus"
+        select CPU_FREQ_GOV_INTERACTIVEPLUS
+        select CPU_FREQ_GOV_PERFORMANCE
+        help
+          Use the CPUFreq governor 'interactiveplus' as default. This allows
+          you to get a full dynamic cpu frequency capable system by simply
+          loading your cpufreq low-level hardware driver, using the
+          'adapative' governor for latency-sensitive workloads. If unsure
+          have a look at the help section of the driver. Fallback governor
+          will be the performance governor.
+
 config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
        bool "conservative"
        select CPU_FREQ_GOV_CONSERVATIVE
@@ -102,8 +114,60 @@ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
          Be aware that not all cpufreq drivers support the conservative
          governor. If unsure have a look at the help section of the
          driver. Fallback governor will be the performance governor.
+
+config CPU_FREQ_DEFAULT_GOV_INTERACTIVE
+       bool "interactive"
+       select CPU_FREQ_GOV_INTERACTIVE
+       help
+         Use the CPUFreq governor 'interactive' as default. This allows
+         you to get a full dynamic cpu frequency capable system by simply
+         loading your cpufreq low-level hardware driver, using the
+         'interactive' governor for latency-sensitive workloads.
+
+config CPU_FREQ_DEFAULT_GOV_BALANCE
+       bool "balance"
+       select CPU_FREQ_GOV_BALANCE
+       select CPU_FREQ_GOV_PERFORMANCE
+       help
+         Use the CPUFreq governor 'balance' as default. This allows
+         you to get a full dynamic frequency capable system by simply
+         loading your cpufreq low-level hardware driver.
+         Be aware that not all cpufreq drivers support the balance
+         governor. If unsure have a look at the help section of the
+         driver. Fallback governor will be the performance governor.
+
+config CPU_FREQ_DEFAULT_GOV_HOTPLUG
+       bool "hotplug"
+       select CPU_FREQ_GOV_HOTPLUG
+       select CPU_FREQ_GOV_PERFORMANCE
+       help
+         Use the CPUFreq governor 'hotplug' as default. This allows
+         you to get a full dynamic frequency capable system by simply
+         loading your cpufreq low-level hardware driver.
+         Be aware that not all cpufreq drivers support the hotplug
+         governor. If unsure have a look at the help section of the
+         driver. Fallback governor will be the performance governor.
+
 endchoice
 
+config CPU_FREQ_GOV_BALANCE
+       tristate "'balance' cpufreq policy governor"
+       select CPU_FREQ_TABLE
+       help
+         'balance' - This driver adds a dynamic cpufreq policy governor.
+         The governor does a periodic polling and 
+         changes frequency based on the CPU utilization.
+         The support for this governor depends on CPU capability to
+         do fast frequency switching (i.e, very low latency frequency
+         transitions). 
+
+         To compile this driver as a module, choose M here: the
+         module will be called cpufreq_hotplug.
+
+         For details, take a look at linux/Documentation/cpu-freq.
+
+         If in doubt, say N.
+
 config CPU_FREQ_GOV_PERFORMANCE
        tristate "'performance' governor"
        help
@@ -131,7 +195,7 @@ config CPU_FREQ_GOV_USERSPACE
        help
          Enable this cpufreq governor when you either want to set the
          CPU frequency manually or when a userspace program shall
-         be able to set the CPU dynamically, like on LART 
+         be able to set the CPU dynamically, like on LART
          <http://www.lartmaker.nl/>.
 
          To compile this driver as a module, choose M here: the
@@ -147,11 +211,11 @@ config CPU_FREQ_GOV_ONDEMAND
        select CPU_FREQ_GOV_COMMON
        help
          'ondemand' - This driver adds a dynamic cpufreq policy governor.
-         The governor does a periodic polling and 
+         The governor does a periodic polling and
          changes frequency based on the CPU utilization.
          The support for this governor depends on CPU capability to
          do fast frequency switching (i.e, very low latency frequency
-         transitions). 
+         transitions).
 
          To compile this driver as a module, choose M here: the
          module will be called cpufreq_ondemand.
@@ -160,6 +224,42 @@ config CPU_FREQ_GOV_ONDEMAND
 
          If in doubt, say N.
 
+config CPU_FREQ_GOV_INTERACTIVEPLUS
+        tristate "'interactiveplus' cpufreq policy governor"
+       select CPU_FREQ_TABLE
+       select CPU_FREQ_GOV_COMMON
+        help
+          'interactiveplus' - This driver adds a dynamic cpufreq policy governor
+          designed for latency-sensitive workloads.
+
+          This governor attempts to reduce the latency of clock
+          increases so that the system is more responsive to
+          interactive workloads.
+
+          To compile this driver as a module, choose M here: the
+          module will be called cpufreq_adapative.
+
+          For details, take a look at linux/Documentation/cpu-freq.
+
+          If in doubt, say N.
+
+config CPU_FREQ_GOV_INTERACTIVE
+       tristate "'interactive' cpufreq policy governor"
+       help
+         'interactive' - This driver adds a dynamic cpufreq policy governor
+         designed for latency-sensitive workloads.
+
+         This governor attempts to reduce the latency of clock
+         increases so that the system is more responsive to
+         interactive workloads.
+
+         To compile this driver as a module, choose M here: the
+         module will be called cpufreq_interactive.
+
+         For details, take a look at linux/Documentation/cpu-freq.
+
+         If in doubt, say N.
+
 config CPU_FREQ_GOV_CONSERVATIVE
        tristate "'conservative' cpufreq governor"
        depends on CPU_FREQ
@@ -184,6 +284,25 @@ config CPU_FREQ_GOV_CONSERVATIVE
 
          If in doubt, say N.
 
+config CPU_FREQ_GOV_HOTPLUG
+       tristate "'hotplug' cpufreq policy governor"
+       select CPU_FREQ_TABLE
+       select CPU_FREQ_GOV_COMMON
+       help
+         'hotplug' - This driver adds a dynamic cpufreq policy governor.
+         The governor does a periodic polling and
+         changes frequency based on the CPU utilization.
+         The support for this governor depends on CPU capability to
+         do fast frequency switching (i.e, very low latency frequency
+         transitions).
+
+         To compile this driver as a module, choose M here: the
+         module will be called cpufreq_hotplug.
+
+         For details, take a look at linux/Documentation/cpu-freq.
+
+         If in doubt, say N.
+
 config GENERIC_CPUFREQ_CPU0
        tristate "Generic CPU0 cpufreq driver"
        depends on HAVE_CLK && REGULATOR && PM_OPP && OF
@@ -201,7 +320,7 @@ source "drivers/cpufreq/Kconfig.x86"
 endmenu
 
 menu "ARM CPU frequency scaling drivers"
-depends on ARM
+depends on ARM || ARM64
 source "drivers/cpufreq/Kconfig.arm"
 endmenu