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

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
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment