]> Git Repo - linux.git/commitdiff
dt-bindings: pwm: mxs: Document the clocks property
authorFabio Estevam <[email protected]>
Fri, 22 Sep 2023 12:42:28 +0000 (09:42 -0300)
committerThierry Reding <[email protected]>
Fri, 6 Oct 2023 08:44:26 +0000 (10:44 +0200)
The 'clocks' property is mandatory for the PWM to operate.

Document it.

Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml

index 655f008081d55bb91edf7de4dcf0e5c4c3e5006e..8f50e23ca8c9b3a3ead1bf9e1d554b8a4277b33e 100644 (file)
@@ -25,6 +25,9 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
   "#pwm-cells":
     const: 3
 
@@ -35,6 +38,7 @@ properties:
 required:
   - compatible
   - reg
+  - clocks
   - fsl,pwm-number
 
 additionalProperties: false
@@ -44,6 +48,7 @@ examples:
     pwm@80064000 {
         compatible = "fsl,imx23-pwm";
         reg = <0x80064000 0x2000>;
+        clocks = <&clks 30>;
         #pwm-cells = <3>;
         fsl,pwm-number = <8>;
     };
This page took 0.064067 seconds and 4 git commands to generate.