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:
parent
360e770c9c
commit
e766d5b80a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue