[PATCH 0/2] hwmon: add Axiado AX3000 and AX3005 PWM fan support
From: Petar Stepanovic
Date: Thu Aug 06 2026 - 05:02:10 EST
This series adds support for the fan controller found on the Axiado
AX3000 and AX3005 SoCs.
The controller provides a hardware tachometer block for measuring the
rotational speed of one fan. Fan speed is controlled through a PWM
signal supplied by an external PWM controller.
The tachometer counts fan pulses in hardware and reports the accumulated
count through an MMIO register when the measurement interval expires.
The generic pwm-fan driver counts tachometer interrupts in software and
therefore cannot directly operate this hardware counter block.
The driver registers with the hwmon subsystem and provides the
following standard sysfs attributes:
- fan1_input for the measured fan speed in RPM
- pwm1 for fan-speed control in the range 0 to 255
The number of tachometer pulses generated per fan revolution can be
configured using the pulses-per-revolution devicetree property. If the
property is not specified, the driver uses two pulses per revolution.
The series includes:
- Devicetree binding documentation
- Axiado PWM fan hwmon driver
- hwmon driver documentation
- MAINTAINERS entry
The driver was tested on AX3000 and AX3005 platforms.
Signed-off-by: Petar Stepanovic <pstepanovic@xxxxxxxxxx>
---
Petar Stepanovic (2):
dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller
hwmon: add Axiado AX3000 and AX3005 PWM fan controller driver
.../bindings/hwmon/axiado,ax3000-pwm-fan.yaml | 68 ++++
Documentation/hwmon/axiado-pwm-fan.rst | 38 ++
Documentation/hwmon/index.rst | 1 +
MAINTAINERS | 10 +
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/axiado-pwm-fan.c | 389 +++++++++++++++++++++
7 files changed, 519 insertions(+)
---
base-commit: 28807a684f870463e059fbc8cb22f5b780b94fe4
change-id: 20260520-axiado-ax3000-pwm-fan-36a89de6db61
Best regards,
--
Petar Stepanovic <pstepanovic@xxxxxxxxxx>