diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-04-29 15:46:45 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-05-10 19:54:31 +0300 |
commit | 4fa9ee2e65ece14f040cc3596525c9e8d6a395eb (patch) | |
tree | 2d5df2a7e1a1f80d892f60dc237329e69af624cb /Documentation/devicetree/bindings/pwm | |
parent | a869742ff51e5eb6aeaa43151ad69281f0d3c98a (diff) | |
download | linux-4fa9ee2e65ece14f040cc3596525c9e8d6a395eb.tar.xz |
dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required
The "power-domains" property is present on all supported platforms.
The "resets" property is present on all but R-Car Gen1.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/16e82b5019b913f9a63e312166a37ef67266d425.1619700364.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index 3c2fa2e93d1b..7ea1070b4b3a 100644 --- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml @@ -61,6 +61,19 @@ required: - reg - '#pwm-cells' - clocks + - power-domains + +if: + not: + properties: + compatible: + contains: + enum: + - renesas,pwm-r8a7778 + - renesas,pwm-r8a7779 +then: + required: + - resets additionalProperties: false |