dt-bindings: pwm: fsl-ftm: Add compatible string for i.MX8QM
authorshenwei.wang@nxp.com <shenwei.wang@nxp.com>
Fri, 8 Jun 2018 19:22:37 +0000 (14:22 -0500)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 9 Jul 2018 17:08:26 +0000 (19:08 +0200)
i.MX8QM integrates a new version of FTM IP block. It adds eight PWM
enable bits in FTM_SC register.

Add a new compatible string of "fsl,imx8qm-ftm-pwm" for i.MX8QM to
differentiate it from the previous SoCs.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm-fsl-ftm.txt

index 3899d6a..576ad00 100644 (file)
@@ -16,7 +16,10 @@ modes in device tree.
 
 
 Required properties:
-- compatible: Should be "fsl,vf610-ftm-pwm".
+- compatible : should be "fsl,<soc>-ftm-pwm" and one of the following
+   compatible strings:
+  - "fsl,vf610-ftm-pwm" for PWM compatible with the one integrated on VF610
+  - "fsl,imx8qm-ftm-pwm" for PWM compatible with the one integrated on i.MX8QM
 - reg: Physical base address and length of the controller's registers
 - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
   the cells format.