From: Krzysztof Kozlowski Date: Mon, 14 Feb 2022 21:21:47 +0000 (+0100) Subject: dt-bindings: pwm: renesas,pwm: Include generic PWM schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=84b3b8df51e26b8bc2c7178b068ef447473d4609;p=linux.git 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 Reviewed-by: Yoshihiro Shimoda Signed-off-by: Thierry Reding --- diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index 7ea1070b4b3a8..1c94acbc2b4a0 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