Skip to content

Commit dd4c391

Browse files
ppailletdlezcano
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1f64fa3 commit dd4c391

File tree

1 file changed

+86
-212
lines changed

1 file changed

+86
-212
lines changed

0 commit comments

Comments
 (0)