From 91a58795fa4db31d73e56b384a2db7a501df36cc Mon Sep 17 00:00:00 2001 From: Durgadoss R Date: Fri, 21 Sep 2012 14:32:24 +0530 Subject: [PATCH] --- yaml --- r: 339271 b: refs/heads/master c: a56757af8e7d7d8bfb6317c25b6a8809abfceb9a h: refs/heads/master i: 339269: 9ae40af84a69bc5a78ea2955bcc1a5f802b2d564 339267: 74692298e92b00593b724e910f0a9a62c2423a0a 339263: 96fdf8d77c9898efec07604940e9d69da487c499 v: v3 --- [refs] | 2 +- trunk/drivers/thermal/Kconfig | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6fd75e994bbd..f01b6e002805 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ea083b18d39b35730e59587128cfd6f68bd30bc +refs/heads/master: a56757af8e7d7d8bfb6317c25b6a8809abfceb9a diff --git a/trunk/drivers/thermal/Kconfig b/trunk/drivers/thermal/Kconfig index f679eea2addb..266c15eb89ea 100644 --- a/trunk/drivers/thermal/Kconfig +++ b/trunk/drivers/thermal/Kconfig @@ -73,3 +73,34 @@ config USER_SPACE depends on THERMAL help Enable this to let the user space manage the platform thermals. + +choice + prompt "Default Thermal governor" + depends on THERMAL + default THERMAL_DEFAULT_GOV_STEP_WISE + help + This option sets which thermal governor shall be loaded at + startup. If in doubt, select 'step_wise'. + +config THERMAL_DEFAULT_GOV_STEP_WISE + bool "step_wise" + select STEP_WISE + help + Use the step_wise governor as default. This throttles the + devices one step at a time. + +config THERMAL_DEFAULT_GOV_FAIR_SHARE + bool "fair_share" + select FAIR_SHARE + help + Use the fair_share governor as default. This throttles the + devices based on their 'contribution' to a zone. The + contribution should be provided through platform data. + +config THERMAL_DEFAULT_GOV_USER_SPACE + bool "user_space" + select USER_SPACE + help + Select this if you want to let the user space manage the + platform thermals. +endchoice