summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2016-09-06 14:17:03 +0530
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-10 23:10:07 +0100
commit24bd9a55c95c4aec04a6e0e81cc704a012d4f7e3 (patch)
tree4ab3b2956aaa0a34568e1ad4e99305abeb5cb005 /Documentation
parente32dd66348b457be5c4ea8299a9be95e3d139b27 (diff)
arm: dts: imx7: Add support for PWM polarity control
Update #pwm-cells to 3 in order to support PWM signal polarity control. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit a97e7559fb82ddf9be12c5d31adbd35937f24ce7)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pwm/imx-pwm.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.txt b/Documentation/devicetree/bindings/pwm/imx-pwm.txt
index e00c2e9f484d..c4c2b2cdf34b 100644
--- a/Documentation/devicetree/bindings/pwm/imx-pwm.txt
+++ b/Documentation/devicetree/bindings/pwm/imx-pwm.txt
@@ -6,8 +6,8 @@ Required properties:
- "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1
- "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27
- reg: physical base address and length of the controller's registers
-- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
- the cells format.
+- #pwm-cells: 2 for i.MX1 and 3 for i.MX27. See pwm.txt in this directory for
+ a description of the cells format.
- clocks : Clock specifiers for both ipg and per clocks.
- clock-names : Clock names should include both "ipg" and "per"
See the clock consumer binding,
@@ -17,7 +17,7 @@ See the clock consumer binding,
Example:
pwm1: pwm@53fb4000 {
- #pwm-cells = <2>;
+ #pwm-cells = <3>;
compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
reg = <0x53fb4000 0x4000>;
clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,