pwm-fan: Support multiple tachometer inputs
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesApplied
- v24 patches 4 repliesSuperseded
- v12 patches 3 repliesSuperseded
Changes in v3 from the cover letter
* Split refactoring and API conversion into a separate patch series which has now been accepted. These changes now use the recommended hwmon API and dynamically allocate struct hwmon_channel_info objects as needed.
* Rebased changes on the current HEAD of hwmon-next.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hwmon: pwm-fan: Store tach data separatelydrivers/ | +32 | 1 reply | |
| 2/2 | hwmon: pwm-fan: Support multiple fan tachometersdrivers/ | +53 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] pwm-fan: Support multiple tachometer inputs
These changes were made to support a custom board where one PWM output is routed to two fans, each of which has a tachometer signal routed to a GPIO input on the SoC.
As the custom board doesn't currently support the latest mainline kernel I've tested these changes 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 variants of the device tree with 0, 1 and 2 fan tachometer inputs configured to ensure the logic in the probe function is correct.
The device tree bindings changes have been submitted in a separate series:
https://lore.kernel.org/linux-devicetree/[email protected]/
These changes can also be pulled from:
https://gitlab.com/pbarker.dev/staging/linux.git
tag: for-hwmon/pwm-fan-tachometers-v3_2020-12-12
Changes since v2:
* Split refactoring and API conversion into a separate patch series which has now been accepted. These changes now use the recommended hwmon API and dynamically allocate struct hwmon_channel_info objects as needed.
* Rebased changes on the current HEAD of hwmon-next.
Changes since v1:
* Split RPM calculation fix into a separate patch which has now been accepted.
* Break the changes down into smaller patches so they're easier to review.
* Rebased changes on hwmon-next.
Paul Barker (2):
hwmon: pwm-fan: Store tach data separately
hwmon: pwm-fan: Support multiple fan tachometers
drivers/hwmon/pwm-fan.c | 111 +++++++++++++++++++++++++--------------- 1 file changed, 69 insertions(+), 42 deletions(-)
base-commit: 1a033769a4fe9a86ee791fd553b6a996dd76e026
Signature · 1 line
2.26.2