mbox series

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

Message ID 1577023823-9615-1-git-send-email-akinobu.mita@gmail.com (mailing list archive)
Headers show
Series hwmon: (pwm-fan) add option to stop fan on shutdown | expand

Message

Akinobu Mita Dec. 22, 2019, 2:10 p.m. UTC
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(-)

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Kamil Debski <kamil@wypas.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Guenter Roeck <linux@roeck-us.net>