diff options
author | Durgadoss R <durgadoss.r@intel.com> | 2012-09-21 05:02:24 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-05 01:00:09 -0500 |
commit | a56757af8e7d7d8bfb6317c25b6a8809abfceb9a (patch) | |
tree | 87021b42cd1d5f28229d2b3b9d6f4bde7d331b31 /drivers/thermal/Kconfig | |
parent | 6ea083b18d39b35730e59587128cfd6f68bd30bc (diff) |
Thermal: Provide option to choose default thermal governor
This patch provides option to choose the default thermal
governor. If no option is provided, the step_wise
governor is selected by default.
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index f679eea2addb..266c15eb89ea 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -73,3 +73,34 @@ config USER_SPACE | |||
73 | depends on THERMAL | 73 | depends on THERMAL |
74 | help | 74 | help |
75 | Enable this to let the user space manage the platform thermals. | 75 | Enable this to let the user space manage the platform thermals. |
76 | |||
77 | choice | ||
78 | prompt "Default Thermal governor" | ||
79 | depends on THERMAL | ||
80 | default THERMAL_DEFAULT_GOV_STEP_WISE | ||
81 | help | ||
82 | This option sets which thermal governor shall be loaded at | ||
83 | startup. If in doubt, select 'step_wise'. | ||
84 | |||
85 | config THERMAL_DEFAULT_GOV_STEP_WISE | ||
86 | bool "step_wise" | ||
87 | select STEP_WISE | ||
88 | help | ||
89 | Use the step_wise governor as default. This throttles the | ||
90 | devices one step at a time. | ||
91 | |||
92 | config THERMAL_DEFAULT_GOV_FAIR_SHARE | ||
93 | bool "fair_share" | ||
94 | select FAIR_SHARE | ||
95 | help | ||
96 | Use the fair_share governor as default. This throttles the | ||
97 | devices based on their 'contribution' to a zone. The | ||
98 | contribution should be provided through platform data. | ||
99 | |||
100 | config THERMAL_DEFAULT_GOV_USER_SPACE | ||
101 | bool "user_space" | ||
102 | select USER_SPACE | ||
103 | help | ||
104 | Select this if you want to let the user space manage the | ||
105 | platform thermals. | ||
106 | endchoice | ||