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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Krzysztof Kozlowski 2022-02-14 22:21:41 +01:00 committed by Thierry Reding
parent 360e770c9c
commit e766d5b80a
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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