hwmon: Add NPCM7xx PWM and Fan driver support
Status from this message: Applied to hwmon-next; while doing so, fixed a couple of whitespace errors
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 4 repliesApplied
- v72 patches 3 repliesSuperseded
- v62 patches 1 replySuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 2 patches | 1 reply | Superseded | |
| v4 | 2 patches | 5 replies | Superseded | |
| v3 | 2 patches | 1 reply | Superseded | |
| v2 | 2 patches | 6 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentationDocumentation/ | +84 | 2 replies | |
| 2/2 | hwmon: npcm750: add NPCM7xx PWM and Fan driverDocumentation/ drivers/ drivers/ +1 more | +1090 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/2] hwmon: Add NPCM7xx PWM and Fan driver support
This patch set adds Pulse Width Modulation (PWM) and Fan tacho support for the Nuvoton NPCM750/730/715/705 Baseboard Management Controller (BMC).
The Nuvoton BMC NPCM750/730/715/705 has two identical PWM controller modules, each module has four PWM controller outputs and eight identical Fan controller modules, each module has two Fan controller inputs.
The hwmon driver provides sysfs entries through which the user can configure and get the duty cycle between 0 (disable the specific PWM) to 255 of particular PWM output port and read the fan rpm values.
The driver support cooling device creation, that could be bound to a thermal zone for the thermal control.
The NPCM750 PWM and Fan driver tested on NPCM750 evaluation board.
Addressed comment from:.
- Rob Herring: https://www.spinics.net/lists/kernel/msg2845438.html
Changes since version 7:
- Modify NPCM7xx sensor configuration description.
- Modify clocks name.
- Modify dt-binding documentation.
Changes since version 6:
- Kconfig, Makefile and definitions alphabetic order.
- Error print prefix remove.
- dt-binding documentation haven't changed.
Changes since version 5:
- Removing unnececery lock.
- Modify dt-binding documentation.
Changes since version 4:
- Releasing Mutex before return from set PWM function.
- dt-binding documentation haven't changed.
Changes since version 3:
- Fixing incorrect word spelling.
- Removing npcm7xx_ in variable declarations.
- All variable declarations in structure on a single line.
- Removing variable unnecessary initialization.
- dt-binding documentation haven't changed.
Changes since version 2:
- Adding hwmon documentation
- Using dev_function instead pr_function
- Removing all typecast
- Removing unused definitions
- Adding () in macros parameters.
- dt-binding documentation haven't changed
Changes since version 1:
- Rename driver name
- Adding Fan Controller support
- Adding cooling device support
- Modifying dt-binding documentation for Fan and cooling binding
Tomer Maimon (2):
dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation
hwmon: npcm750: add NPCM7xx PWM and Fan driver
.../devicetree/bindings/hwmon/npcm750-pwm-fan.txt | 84 ++ Documentation/hwmon/npcm750-pwm-fan | 22 + drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/npcm750-pwm-fan.c | 1057 ++++++++++++++++++++ 5 files changed, 1174 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/npcm750-pwm-fan.txt create mode 100644 Documentation/hwmon/npcm750-pwm-fan create mode 100644 drivers/hwmon/npcm750-pwm-fan.c
Signature · 1 line
2.14.1