From: Geert Uytterhoeven Date: Thu, 29 Apr 2021 12:46:45 +0000 (+0200) Subject: dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required X-Git-Tag: v5.14-rc1~93^2~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fa9ee2e65ece14f040cc3596525c9e8d6a395eb;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/16e82b5019b913f9a63e312166a37ef67266d425.1619700364.git.geert+renesas@glider.be Signed-off-by: Rob Herring --- diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index 3c2fa2e93d1b1..7ea1070b4b3a8 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