diff options
author | Fabio Estevam <[email protected]> | 2023-09-22 09:42:28 -0300 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-10-06 10:44:26 +0200 |
commit | 42b9116ce12579692ec18ad9446ea5ad832ea0ef (patch) | |
tree | 3cad0f9040d45a581ebfa4b311e17641a48c67d2 | |
parent | c3c653422a265a3b5dfdf8567eebd5116311c36d (diff) |
dt-bindings: pwm: mxs: Document the clocks property
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]>
-rw-r--r-- | Documentation/devicetree/bindings/pwm/mxs-pwm.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/mxs-pwm.yaml b/Documentation/devicetree/bindings/pwm/mxs-pwm.yaml index 655f008081d5..8f50e23ca8c9 100644 --- a/Documentation/devicetree/bindings/pwm/mxs-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/mxs-pwm.yaml @@ -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>; }; |