mbox series

[RFC,0/3] hwmon: pwm-fan: Add RPM support

Message ID 1548860827-29796-1-git-send-email-stefan.wahren@i2se.com (mailing list archive)
Headers show
Series hwmon: pwm-fan: Add RPM support | expand

Message

Stefan Wahren Jan. 30, 2019, 3:07 p.m. UTC
Contrary to the gpio-fan the pwm-fan driver isn't easy to setup
with pwmconfig/fancontrol because of the missing hwmon sysfs entry
for actual revolutions per minute. This series adds this feature.

This series based on the recently submitted regulator support.

Stefan Wahren (3):
  dt-bindings: hwmon: Add tachometer interrupt to pwm-fan
  Documentation: pwm-fan: Add description for RPM support
  hwmon: pwm-fan: Add RPM support via external interrupt

 .../devicetree/bindings/hwmon/pwm-fan.txt          |  3 ++
 Documentation/hwmon/pwm-fan                        |  4 ++
 drivers/hwmon/pwm-fan.c                            | 55 ++++++++++++++++++++++
 3 files changed, 62 insertions(+)