summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/rockchip_thermal.c
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-03-29 12:29:17 +0200
committerEduardo Valentin <edubezval@gmail.com>2016-05-17 16:28:28 +0200
commitc35095215a80b13af2f521e1ab1c727a5224e53b (patch)
tree65b5f909335917a5c763b2557b15cbdbb8d0330a /drivers/thermal/rockchip_thermal.c
parentthermal: tegra: add a debugfs to show registers (diff)
downloadlinux-c35095215a80b13af2f521e1ab1c727a5224e53b.tar.xz
linux-c35095215a80b13af2f521e1ab1c727a5224e53b.zip
thermal: of-thermal: allow setting trip_temp on hardware
In current of-thermal, the .set_trip_temp only support to set trip_temp for SW. But some sensors support to set trip_temp on hardware, so that can trigger interrupt, shutdown or any other events. This patch adds .set_trip_temp() callback in thermal_zone_of_device_ops{}, so that the sensor device can use it to set trip_temp on hardware. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/rockchip_thermal.c')
0 files changed, 0 insertions, 0 deletions