summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-09-22 14:42:28 +0200
committerThierry Reding <thierry.reding@gmail.com>2023-10-06 10:44:26 +0200
commit42b9116ce12579692ec18ad9446ea5ad832ea0ef (patch)
tree3cad0f9040d45a581ebfa4b311e17641a48c67d2 /Documentation
parentdt-bindings: pwm: mxs: Document fsl,imx28-pwm (diff)
downloadlinux-42b9116ce12579692ec18ad9446ea5ad832ea0ef.tar.xz
linux-42b9116ce12579692ec18ad9446ea5ad832ea0ef.zip
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 <festevam@denx.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pwm/mxs-pwm.yaml5
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>;
};