Skip to content

hwmon: aspeed2600-pwm-tacho: Add driver support

Troy Lee linux-arm-kernel linux-aspeed lkml openbmc 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 6 repliesIn review
  2. v24 patches 7 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- declare local function as static function
- fixed dt binding yamllint warnings/errors
- rename dt property property name from pwm-freq to pwm-freq-hz

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: hwmon: Add Aspeed AST2600 PWM/FanDocumentation/devicetree/bindings/hwmon/aspeed,ast2600-pwm-tachometer.yaml+131 -01 reply
2/4hwmon: Add Aspeed AST2600 supportDocumentation/hwmon/aspeed2600-pwm-tachometer.rst Documentation/hwmon/index.rst+28 -00 replies
3/4ARM: dts: aspeed: Add Aspeed AST2600 PWM/Fan node in devicetreearch/arm/boot/dts/aspeed-ast2600-evb.dts arch/arm/boot/dts/aspeed-g6.dtsi+162 -00 replies
4/4hwmon: Support Aspeed AST2600 PWM/Fan tachometerdrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/aspeed2600-pwm-tacho.c+767 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] hwmon: aspeed2600-pwm-tacho: Add driver support

Aspeed AST2600 is a server management SoC which has 16 PWM channels and 16 fan tacho channel.

This series of patch provides AST2600 PWM/Fan tacho support in hwmon class.

The driver provides a sysfs interface, and user can configure PWM duty cycle and read current FAN speed in RPM.

Changes since v2:
- declare local function as static function
- fixed dt binding yamllint warnings/errors
- rename dt property property name from pwm-freq to pwm-freq-hz

Changes since v1:
- dt-binding rewrote with dt schema format
- register hwmon driver with devm_hwmon_device_register_with_info()
- moving default configurations to device tree

Troy Lee (4):
dt-bindings: hwmon: Add Aspeed AST2600 PWM/Fan
hwmon: Add Aspeed AST2600 support
ARM: dts: aspeed: Add Aspeed AST2600 PWM/Fan node in devicetree
hwmon: Support Aspeed AST2600 PWM/Fan tachometer

 .../hwmon/aspeed,ast2600-pwm-tachometer.yaml  | 131 +++
 .../hwmon/aspeed2600-pwm-tachometer.rst       |  27 +
 Documentation/hwmon/index.rst                 |   1 +
 arch/arm/boot/dts/aspeed-ast2600-evb.dts      | 152 ++++
 arch/arm/boot/dts/aspeed-g6.dtsi              |  10 +
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/aspeed2600-pwm-tacho.c          | 756 ++++++++++++++++++
 8 files changed, 1088 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed,ast2600-pwm-tachometer.yaml
 create mode 100644 Documentation/hwmon/aspeed2600-pwm-tachometer.rst
 create mode 100644 drivers/hwmon/aspeed2600-pwm-tacho.c

base-commit: 1d011777cdbe7ae38a854a0cbeb6bdfbf724cce0

Signature · 1 line
2.25.1