Commit e766d5b8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Thierry Reding
Browse files

dt-bindings: pwm: imx: Include generic PWM schema



Include generic pwm.yaml schema, which enforces PWM node naming and
brings pwm-cells requirement.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 360e770c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ title: Freescale i.MX PWM controller
maintainers:
  - Philipp Zabel <p.zabel@pengutronix.de>

allOf:
  - $ref: pwm.yaml#

properties:
  "#pwm-cells":
    description: |
@@ -59,7 +62,6 @@ properties:
    maxItems: 1

required:
  - "#pwm-cells"
  - compatible
  - reg
  - clocks
+3 −1
Original line number Diff line number Diff line
@@ -13,6 +13,9 @@ description: |
  The TPM counter and period counter are shared between multiple
  channels, so all channels should use same period setting.

allOf:
  - $ref: pwm.yaml#

properties:
  "#pwm-cells":
    const: 3
@@ -34,7 +37,6 @@ properties:
    maxItems: 1

required:
  - "#pwm-cells"
  - compatible
  - reg
  - clocks