Commit 366486e0 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Thierry Reding

dt-bindings: pwm: mxs-pwm: Increase #pwm-cells

We need to increase the pwm-cells for the optional flags parameter, in
order to implement support for polarity setting via DT.
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 2cf0f6fe
...@@ -3,7 +3,7 @@ Freescale MXS PWM controller ...@@ -3,7 +3,7 @@ Freescale MXS PWM controller
Required properties: Required properties:
- compatible: should be "fsl,imx23-pwm" - compatible: should be "fsl,imx23-pwm"
- reg: physical base address and length of the controller's registers - reg: physical base address and length of the controller's registers
- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of - #pwm-cells: should be 3. See pwm.yaml in this directory for a description of
the cells format. the cells format.
- fsl,pwm-number: the number of PWM devices - fsl,pwm-number: the number of PWM devices
...@@ -12,6 +12,6 @@ Example: ...@@ -12,6 +12,6 @@ Example:
pwm: pwm@80064000 { pwm: pwm@80064000 {
compatible = "fsl,imx28-pwm", "fsl,imx23-pwm"; compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
reg = <0x80064000 0x2000>; reg = <0x80064000 0x2000>;
#pwm-cells = <2>; #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