[PATCH 1/2] dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller

From: Petar Stepanovic

Date: Thu Aug 06 2026 - 05:02:10 EST


Add a Devicetree binding for the PWM fan controller found on the
Axiado AX3000 and AX3005 SoCs.

The controller measures fan speed using a hardware tachometer block.
Fan speed is controlled through a PWM signal supplied by an external
PWM controller.

Add a MAINTAINERS entry for the binding.

Signed-off-by: Petar Stepanovic <pstepanovic@xxxxxxxxxx>
---
.../bindings/hwmon/axiado,ax3000-pwm-fan.yaml | 68 ++++++++++++++++++++++
MAINTAINERS | 8 +++
2 files changed, 76 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml
new file mode 100644
index 000000000000..a985f49bbdcd
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml
@@ -0,0 +1,68 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/axiado,ax3000-pwm-fan.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Axiado AX3000 and AX3005 PWM Fan Controller
+
+maintainers:
+ - Petar Stepanovic <pstepanovic@xxxxxxxxxx>
+ - Akhila Kavi <akavi@xxxxxxxxxx>
+ - Prasad Bolisetty <pbolisetty@xxxxxxxxxx>
+
+description:
+ The Axiado AX3000 and AX3005 fan controllers use a hardware tachometer
+ block to measure fan speed. Fan speed is controlled through a PWM signal
+ supplied by an external PWM controller.
+
+properties:
+ compatible:
+ oneOf:
+ - const: axiado,ax3000-pwm-fan
+ - items:
+ - const: axiado,ax3005-pwm-fan
+ - const: axiado,ax3000-pwm-fan
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ pwms:
+ maxItems: 1
+ description:
+ PWM specifier used to control fan speed.
+
+ pulses-per-revolution:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 1
+ default: 2
+ description:
+ Number of tachometer pulses generated per fan revolution.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - pwms
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ fan@33001400 {
+ compatible = "axiado,ax3000-pwm-fan";
+ reg = <0x0 0x33001400 0x0 0x400>;
+ interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk>;
+ pwms = <&pwm0 0 400>;
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index a674e36529f7..f528b1a42e0f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4457,6 +4457,14 @@ W: https://ez.analog.com/linux-software-drivers
F: Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
F: drivers/pwm/pwm-axi-pwmgen.c

+AXIADO PWM FAN CONTROLLER DRIVER
+M: Petar Stepanovic <pstepanovic@xxxxxxxxxx>
+M: Akhila Kavi <akavi@xxxxxxxxxx>
+M: Prasad Bolisetty <pbolisetty@xxxxxxxxxx>
+L: linux-hwmon@xxxxxxxxxxxxxxx
+S: Supported
+F: Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml
+
AXIADO SPI DB DRIVER
M: Vladimir Moravcevic <vmoravcevic@xxxxxxxxxx>
M: Tzu-Hao Wei <twei@xxxxxxxxxx>

--
2.34.1