diff options
author | Caesar Wang <wxt@rock-chips.com> | 2016-06-22 16:42:05 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-09-27 14:02:16 +0800 |
commit | 148485023f2bff19732366789f2badb1cc3ac95b (patch) | |
tree | ac88043d52341d2a6da154f1cc1ccb9f1e15f6b4 /tools | |
parent | 897e721037753ca5b843c309d08dfb50387cbe84 (diff) | |
download | op-kernel-dev-148485023f2bff19732366789f2badb1cc3ac95b.zip op-kernel-dev-148485023f2bff19732366789f2badb1cc3ac95b.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions