diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2022-02-14 22:21:47 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-02-24 15:07:50 +0100 |
commit | 84b3b8df51e26b8bc2c7178b068ef447473d4609 (patch) | |
tree | 1db3be2df9800e442fc340062102367e18d77242 /Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | |
parent | e040921c9ba4b05aabff9be1e40b657628874fb5 (diff) |
dt-bindings: pwm: renesas,pwm: 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>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index 7ea1070b4b3a..1c94acbc2b4a 100644 --- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml @@ -59,21 +59,23 @@ properties: required: - compatible - reg - - '#pwm-cells' - clocks - power-domains -if: - not: - properties: - compatible: - contains: - enum: - - renesas,pwm-r8a7778 - - renesas,pwm-r8a7779 -then: - required: - - resets +allOf: + - $ref: pwm.yaml# + + - if: + not: + properties: + compatible: + contains: + enum: + - renesas,pwm-r8a7778 + - renesas,pwm-r8a7779 + then: + required: + - resets additionalProperties: false |