summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/dove_thermal.c
diff options
context:
space:
mode:
authorPascal Paillet <p.paillet@st.com>2020-01-10 11:16:03 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-01-27 15:40:16 +0100
commitdd4c3919a83074683aab3c1950c69e1131f3c46e (patch)
tree0186fda2678f7fc7fe2c43497d764d571d090672 /drivers/thermal/dove_thermal.c
parent1f64fa365148f003e39b28a86ce3ada020ea3eec (diff)
downloadlinux-dd4c3919a83074683aab3c1950c69e1131f3c46e.tar.gz
linux-dd4c3919a83074683aab3c1950c69e1131f3c46e.tar.bz2
linux-dd4c3919a83074683aab3c1950c69e1131f3c46e.zip
thermal: stm32: Handle multiple trip points
Let the thermal framework handle the trip points instead of custom code inside the driver. This is backward compatible, simplifies the driver and offers the possibility to the user to set any trip point he needs. stm_thermal_set_trips callback that is registered to set_trips ops to handle the low and high thresholds and replaces stm_thermal_set_threshold and stm_thermal_update_threshold functions. modify irq enable to handle the thresholds. Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200110101605.24984-5-p.paillet@st.com
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
0 files changed, 0 insertions, 0 deletions