Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pwm: adi,axi-pwmgen: Increase #pwm-cells to 3
@ 2024-10-24 10:25 Uwe Kleine-König
  2024-10-24 11:17 ` Sa, Nuno
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2024-10-24 10:25 UTC (permalink / raw)
  To: Michael Hennerich, Nuno Sá, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Trevor Gamblin, linux-pwm, devicetree

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>
---
Hello,

missed that during review of that new binding. Just noticed that now
when (internally) reviewing a machine dt using that device.

There is no need for driver adaptions, the pwm core handles both cases
just fine.

Best regards
Uwe

 Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml b/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
index ec6115d3796b..aa35209f74cf 100644
--- a/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
+++ b/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
@@ -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>;
     };
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-24 20:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 10:25 [PATCH] dt-bindings: pwm: adi,axi-pwmgen: Increase #pwm-cells to 3 Uwe Kleine-König
2024-10-24 11:17 ` Sa, Nuno
2024-10-24 16:22 ` Conor Dooley
2024-10-24 16:34 ` Trevor Gamblin
2024-10-24 20:45 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox