This is the result of the RFC [1] previously sent. The main differences from the RFC are: * Dropped the tacho evaluation stuff as that will be done differently (the core will just expose a minimum fan speed below which faults are asserted). * Converted half of the auto points to hysteresis points as suggested by Guenter. [1]: https://www.spinics.net/lists/linux-hwmon/msg12015.html Nuno Sá (3): hwmon: axi-fan-control: make sure the clock is enabled hwmon: axi-fan-control: handle irqs in natural order hwmon: axi-fan-control: support temperature vs pwm points drivers/hwmon/axi-fan-control.c | 117 +++++++++++++++++++++++++++----- 1 file changed, 101 insertions(+), 16 deletions(-) -- 2.32.0