The goal of this patchset is to improve stm32 thermal driver: * add support for multiple trip points. Currently the driver supports only 2 trip points. * rework interrupt management to avoid receiving hundreds of interrupts when the temperature is close to a low threshold. * fix a mistake regarding the role of an engineering value. * suppress passive trip point on stm32mp157c because it is useless. Pascal Paillet (4): thermal: stm32: implement set_trips callback thermal: stm32: fix IRQ flood on low threshold thermal: stm32: fix engineering calibration value ARM: dts: stm32: remove thermal passive trip point on stm32mp157c arch/arm/boot/dts/stm32mp157c.dtsi | 6 - drivers/thermal/st/stm_thermal.c | 441 +++++++++-------------------- 2 files changed, 138 insertions(+), 309 deletions(-) -- 2.17.1