summaryrefslogtreecommitdiff
path: root/tools/thermal/tmon/pid.c
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-06-22 16:42:05 +0800
committerZhang Rui <rui.zhang@intel.com>2016-09-27 14:02:16 +0800
commit148485023f2bff19732366789f2badb1cc3ac95b (patch)
treeac88043d52341d2a6da154f1cc1ccb9f1e15f6b4 /tools/thermal/tmon/pid.c
parent897e721037753ca5b843c309d08dfb50387cbe84 (diff)
thermal: rockchip: add the set_trips function
Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A sensor driver callback `set_trips' is then called with the temperatures. Lastly, The sensor will trigger the hardware high temperature interrupts to increase the sampleing rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: linux-pm@vger.kernel.org Tested-by: Stephen Barber <smbarber@chromium.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/thermal/tmon/pid.c')
0 files changed, 0 insertions, 0 deletions