diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-11-06 18:13:24 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-12-05 15:35:27 +0300 |
commit | 4c6f19ab2aed2abc78d788d5418047e5f44b1921 (patch) | |
tree | a63a4135861a374e96a82b45333e663c34c61037 /Documentation | |
parent | d951f8f5f23a9417b7952f22b33784c73caa1ebb (diff) | |
download | linux-4c6f19ab2aed2abc78d788d5418047e5f44b1921.tar.xz |
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 <alexander.stein@ew.tq-group.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml index c01dff3b7f84..a84a240a61dc 100644 --- a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml @@ -14,12 +14,10 @@ allOf: properties: "#pwm-cells": - description: | - Should be 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.yaml - in this directory for a description of the cells format. - enum: - - 2 - - 3 + description: + The only third cell flag supported by this binding is + PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags. + const: 3 compatible: oneOf: |