Skip to content

ASPEED AST2500 PWM support

Jaghathiswari Rankappagounder Natarajan openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3devicetree: binding documentation update for ASPEED AST2500 PWM driverDocumentation/devicetree/bindings/hwmon/aspeed,ast2500-pwm.txt+116 -02 replies
2/3drivers: hwmon: ASPEED AST2500 PWM driverdrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/aspeed_ast2500_pwm.c +1 more+796 -13 replies
3/3devicetree : Add support in Zaius platform for 4 PWM output portsarch/arm/boot/dts/aspeed-bmc-opp-zaius.dts+43 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH linux v2 0/3] ASPEED AST2500 PWM support

Support for ASPEED AST2500 PWM driver.
The AST2500 PWM controller can support 8 PWM output ports. There can be three different PWM sources (Type M, N and O); each PWM source can have different settings.
Each PWM output port can have one of the three different PWM sources. There is a sysfs file through which the user can configure the duty cycle for the particular PWM output port.
Added devicetree binding documentation for ast2500 pwm support. Added support in Zaius platform for 4 PWM output ports since it has four fans.

Tested on Zaius board and observed that when duty cycle is lowered then the fan speed is lowered and when the duty cycle is increased then the fan speed increases.

Tested on AST2500 EVB board and observed the PWM output pulses come correctly based on the given settings using Logic Saleae Analyzer.

Jaghathiswari Rankappagounder Natarajan (3):
devicetree: binding documentation update for ASPEED AST2500 PWM driver
drivers: hwmon: ASPEED AST2500 PWM driver
devicetree : Add support in Zaius platform for 4 PWM output ports

 .../bindings/hwmon/aspeed,ast2500-pwm.txt          | 116 ++++
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts         |  43 ++
 drivers/hwmon/Kconfig                              |   5 +
 drivers/hwmon/Makefile                             |   2 +-
 drivers/hwmon/aspeed_ast2500_pwm.c                 | 662 +++++++++++++++++++++
 drivers/hwmon/aspeed_ast2500_pwm.h                 | 128 ++++
 6 files changed, 955 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed,ast2500-pwm.txt
 create mode 100644 drivers/hwmon/aspeed_ast2500_pwm.c
 create mode 100644 drivers/hwmon/aspeed_ast2500_pwm.h

--
2.8.0.rc3.226.g39d4020