Support for ASPEED AST2400/AST2500 PWM driver
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 3 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Documentation: dt-bindings: Document binding for ASPEED AST2400/2500 PWM supportDocumentation/ | +104 | 1 reply | |
| 2/3 | drivers: hwmon: Hwmon driver for ASPEED AST2400/2500 PWM supportDocumentation/ drivers/ drivers/ +1 more | +692 | 2 replies | |
| 3/3 | arm: dts: Add dt-binding to support ASPEED AST2500 PWM output on zaiusarch/ arch/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH linux v3 0/3] Support for ASPEED AST2400/AST2500 PWM driver
Support for ASPEED AST2400/AST2500 PWM driver.
The AST2400/AST2500 PWM controller can support 8 PWM output ports. There can be three different PWM clock types (Type M, N and O); each PWM clock type can have different settings. Those three types just to have three independent PWM sources.
Each PWM output port can have one of the three different PWM clock types. 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 AST2400/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):
Documentation: dt-bindings: Document binding for ASPEED AST2400/2500
PWM support
drivers: hwmon: Hwmon driver for ASPEED AST2400/2500 PWM support
arm: dts: Add dt-binding to support ASPEED AST2500 PWM output on zaius
.../devicetree/bindings/hwmon/aspeed-pwm.txt | 104 ++++ Documentation/hwmon/aspeed-pwm | 18 + arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 40 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 6 + drivers/hwmon/Kconfig | 13 + drivers/hwmon/Makefile | 3 +- drivers/hwmon/aspeed-pwm.c | 660 +++++++++++++++++++++ 7 files changed, 842 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed-pwm.txt create mode 100644 Documentation/hwmon/aspeed-pwm create mode 100644 drivers/hwmon/aspeed-pwm.c
--
2.8.0.rc3.226.g39d4020