diff options
author | Amit Daniel Kachhap <amit.kachhap@linaro.org> | 2012-04-10 10:28:30 +0530 |
---|---|---|
committer | Amit Daniel Kachhap <amit.kachhap@linaro.org> | 2012-04-11 09:18:04 +0530 |
commit | e806c348ea20c61f63a243db850f19eb4a239fc0 (patch) | |
tree | d0044f28c83979f71dff12777806283ea30efa71 /Documentation | |
parent | 868ce538015c69232d2e0c00da7ca6066ed94672 (diff) |
thermal: Add Passive type cooling for cpufreq cooling devices.
This patch adds passive type cooling in registered cpufreq cooling
devices. To select this type of cooling device the user of the
API should pass THERMAL_TRIP_PASSIVE as the trip type.
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/thermal/cpu-cooling-api.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/thermal/cpu-cooling-api.txt b/Documentation/thermal/cpu-cooling-api.txt index 6eb648ed5b18..f51f7af89cb4 100644 --- a/Documentation/thermal/cpu-cooling-api.txt +++ b/Documentation/thermal/cpu-cooling-api.txt @@ -19,7 +19,7 @@ the cooling device pointer. 1.1 cpufreq registration/unregistration APIs 1.1.1 struct thermal_cooling_device *cpufreq_cooling_register( struct freq_clip_table *tab_ptr, unsigned int tab_size, - const struct cpumask *mask_val) + const struct cpumask *mask_val, enum thermal_trip_type type) This interface function registers the cpufreq cooling device with the name "thermal-cpufreq-%x". This api can support multiple instances of cpufreq @@ -31,6 +31,8 @@ the cooling device pointer. cpus. tab_size: the total number of cpufreq cooling states. mask_val: all the allowed cpu's where frequency clipping can happen. + type: This can have values like (THERMAL_TRIP_PASSIVE, THERMAL_TRIP_ACTIVE, + and THERMAL_TRIP_STATE_INSTANCE) 1.1.2 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) |