]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: pwm: adi,axi-pwmgen: Increase #pwm-cells to 3
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 24 Oct 2024 10:25:54 +0000 (12:25 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Fri, 25 Oct 2024 09:42:37 +0000 (11:42 +0200)
Using 3 cells allows to pass additional flags and is the normal
abstraction for new PWM descriptions. There are no device trees yet to
adapt to this change.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Trevor Gamblin <tgamblin@baylibre.com>
Link: https://lore.kernel.org/r/20241024102554.711689-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml

index ec6115d3796baba14c1bb6782ec3a73108ff98a6..aa35209f74cfa89960197754c82537beb8141645 100644 (file)
@@ -27,7 +27,7 @@ properties:
     maxItems: 1
 
   "#pwm-cells":
-    const: 2
+    const: 3
 
   clocks:
     maxItems: 1
@@ -44,5 +44,5 @@ examples:
        compatible = "adi,axi-pwmgen-2.00.a";
        reg = <0x44b00000 0x1000>;
        clocks = <&spi_clk>;
-       #pwm-cells = <2>;
+       #pwm-cells = <3>;
     };