[PATCH 0/2] hwmon: (pwm-fan) add option to stop fan on shutdown

Akinobu Mita
2019-12-22T14:10:53Z

The pwm-fan driver leaves the fun running when shutting down the system.
(On the other hand the gpio-fan driver stops it.)

This adds an optional property "disable-state-shutdown" in case someone
wants to stop the fun running when shutting down the system.

Akinobu Mita (2):
hwmon: (pwm-fan) add option to stop fan on shutdown
dt-bindings: hwmon: (pwm-fan) add disable-state-shutdown property

.../devicetree/bindings/hwmon/pwm-fan.txt | 2 ++
drivers/hwmon/pwm-fan.c | 24 ++++++++++++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)