Skip to content

Commit 4c6f19a

Browse files
tq-steinaShawn Guo
authored andcommitted
dt-bindings: pwm: imx-pwm: Unify #pwm-cells for all compatibles
Use #pwm-cells for all i.MX variants. Only fsl,imx1-pwm does not support inverted PWM output. Keep it the same for consistency. Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent d951f8f commit 4c6f19a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Documentation/devicetree/bindings/pwm/imx-pwm.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ allOf:
1414

1515
properties:
1616
"#pwm-cells":
17-
description: |
18-
Should be 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.yaml
19-
in this directory for a description of the cells format.
20-
enum:
21-
- 2
22-
- 3
17+
description:
18+
The only third cell flag supported by this binding is
19+
PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags.
20+
const: 3
2321

2422
compatible:
2523
oneOf:

0 commit comments

Comments
 (0)