[PATCH 1/3] dt-bindings: mfd: airoha: add #pwm-cells to AN7589 gpio-sysctl

From: John Crispin

Date: Tue Dec 01 2026 - 14:45:12 EST


The AN7589 PWM controller sits in the GPIO system controller. It has
no resources of its own, so it gets no child node. The system
controller node is the PWM provider.

Signed-off-by: John Crispin <john@xxxxxxxxxxx>
---
.../devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
index 0785b61bdda3..476f7241bb1b 100644
--- a/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
+++ b/Documentation/devicetree/bindings/mfd/airoha,an7589-gpio-sysctl.yaml
@@ -11,7 +11,7 @@ maintainers:

description:
Airoha AN7589 SoC GPIO system controller which provides a register map
- for controlling the GPIO and pins of the SoC.
+ for controlling the GPIO, pins and PWM of the SoC.

properties:
compatible:
@@ -29,6 +29,9 @@ properties:
description:
Child node definition for AN7589 Pin controller

+ "#pwm-cells":
+ const: 3
+
required:
- compatible
- reg
@@ -42,6 +45,7 @@ examples:
system-controller@1fbf0200 {
compatible = "airoha,an7589-gpio-sysctl", "syscon", "simple-mfd";
reg = <0x1fbf0200 0x100>;
+ #pwm-cells = <3>;

pinctrl {
compatible = "airoha,an7589-pinctrl";
--
2.34.1