Commit 42b9116c authored by Fabio Estevam's avatar Fabio Estevam Committed by Thierry Reding

dt-bindings: pwm: mxs: Document the clocks property

The 'clocks' property is mandatory for the PWM to operate.

Document it.
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Reviewed-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent c3c65342
...@@ -25,6 +25,9 @@ properties: ...@@ -25,6 +25,9 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
clocks:
maxItems: 1
"#pwm-cells": "#pwm-cells":
const: 3 const: 3
...@@ -35,6 +38,7 @@ properties: ...@@ -35,6 +38,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- clocks
- fsl,pwm-number - fsl,pwm-number
additionalProperties: false additionalProperties: false
...@@ -44,6 +48,7 @@ examples: ...@@ -44,6 +48,7 @@ examples:
pwm@80064000 { pwm@80064000 {
compatible = "fsl,imx23-pwm"; compatible = "fsl,imx23-pwm";
reg = <0x80064000 0x2000>; reg = <0x80064000 0x2000>;
clocks = <&clks 30>;
#pwm-cells = <3>; #pwm-cells = <3>;
fsl,pwm-number = <8>; fsl,pwm-number = <8>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment