diff options
author | Anson Huang <b20788@freescale.com> | 2011-09-01 09:57:55 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 20:23:30 +0800 |
commit | 020e0036feb1c9ce4422708034f51ecf45b1551c (patch) | |
tree | fbf0a2fc083c9c071728dc4312a6ace3349b7574 /include/linux | |
parent | 187c2e1c0ba59ff4389b1ab65e5c4e03a976b3e7 (diff) |
ENGR00155627-1 [MX6]Add thermal cooling devie
1.Common code of thermal_sys has some bug,could
not set the mode via sysfs using echo enable/disabled
command;
2.Since the anatop thermal formula still not accurate,
in order to help test and adjust the trip point of
anatop thermal zone, we add the set trip point temp
value into the sysfs interface.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/thermal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index d3ec89fb4122..b7c80e19b7b1 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -4,6 +4,7 @@ * Copyright (C) 2008 Intel Corp * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> + * Copyright (C) 2011 Freescale Semiconductor, Inc. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * This program is free software; you can redistribute it and/or modify @@ -58,6 +59,8 @@ struct thermal_zone_device_ops { enum thermal_trip_type *); int (*get_trip_temp) (struct thermal_zone_device *, int, unsigned long *); + int (*set_trip_temp) (struct thermal_zone_device *, int, + unsigned long *); int (*get_crit_temp) (struct thermal_zone_device *, unsigned long *); int (*notify) (struct thermal_zone_device *, int, enum thermal_trip_type); |