All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm-fan: Refactor and convert to recommended API
@ 2020-11-26 17:44 Paul Barker
  2020-11-26 17:44 ` [PATCH 1/2] hwmon: pwm-fan: Refactor pwm_fan_probe Paul Barker
  2020-11-26 17:44 ` [PATCH 2/2] hwmon: pwm-fan: Convert to hwmon_device_register_with_info API Paul Barker
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Barker @ 2020-11-26 17:44 UTC (permalink / raw)
  To: Kamil Debski, Bartlomiej Zolnierkiewicz, Jean Delvare, Guenter Roeck
  Cc: Paul Barker, linux-hwmon

This series includes the first patch from my previous series adding support
for multiple fan tachometers [1] which Guenter has already reviewed, plus a
second patch to convert the driver to use the hwmon_device_register_with_info
API as requested.

These patches have been tested on a SanCloud BeagleBone Enhanced using an
oscilloscope to check the PWM output and a signal generator to simulate
the fan tachometer signals. I've tested both with and without a fan
tachometer input defined in the device tree.

There shouldn't be any functional change to the driver after these patches,
it just puts us in a much better place for further development.

These changes can also be pulled from:

  https://gitlab.com/pbarker.dev/staging/linux.git
  tag: for-hwmon/pwm-fan-refactor_2020-11-26

Paul Barker (2):
  hwmon: pwm-fan: Refactor pwm_fan_probe
  hwmon: pwm-fan: Convert to hwmon_device_register_with_info API

 drivers/hwmon/pwm-fan.c | 162 ++++++++++++++++++++++++++--------------
 1 file changed, 104 insertions(+), 58 deletions(-)


base-commit: e6e2c18f63c62df778ce484945fccad088594533
-- 
2.26.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-27 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26 17:44 [PATCH 0/2] pwm-fan: Refactor and convert to recommended API Paul Barker
2020-11-26 17:44 ` [PATCH 1/2] hwmon: pwm-fan: Refactor pwm_fan_probe Paul Barker
2020-11-26 17:44 ` [PATCH 2/2] hwmon: pwm-fan: Convert to hwmon_device_register_with_info API Paul Barker
2020-11-27 15:55   ` Guenter Roeck
2020-11-27 16:10     ` Paul Barker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.