[PATCH v2 0/5] thermal: stm32: driver improvements

From: Pascal Paillet
Date: Mon Nov 04 2019 - 08:30:53 EST


The goal of this patchset is to improve and simplify the stm32 thermal
driver:
* remove hardware interrupt handler that is useless
* let the framewwork handle the trip points
* fix interrupt management to avoid receiving hundreds of
interrupts when the temperature is close to the low threshold.
* improve temperature reading resolution

Pascal Paillet (5):
thermal: stm32: remove hardware irq handler
thermal: stm32: fix icifr register name
thermal: stm32: handle multiple trip points
thermal: stm32: improve temperature resolution
thermal: stm32: fix low threshold interrupt flood

drivers/thermal/st/stm_thermal.c | 367 ++++++++++---------------------
1 file changed, 111 insertions(+), 256 deletions(-)

--
2.17.1