dt-bindings: pwm: mxs: Include generic PWM schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 14 Feb 2022 21:21:44 +0000 (22:21 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 24 Feb 2022 14:04:28 +0000 (15:04 +0100)
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>
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml

index 8740e076061e3868c3708215b420cca2b782e8bb..a34cbc13f691c5765577fba1311d060ed2c1c72c 100644 (file)
@@ -10,6 +10,9 @@ maintainers:
   - Shawn Guo <shawnguo@kernel.org>
   - Anson Huang <anson.huang@nxp.com>
 
+allOf:
+  - $ref: pwm.yaml#
+
 properties:
   compatible:
     enum:
@@ -28,7 +31,6 @@ properties:
 required:
   - compatible
   - reg
-  - "#pwm-cells"
   - fsl,pwm-number
 
 additionalProperties: false