* [PATCH] dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required
@ 2021-04-29 12:46 Geert Uytterhoeven
2021-05-03 20:03 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-04-29 12:46 UTC (permalink / raw)
To: Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring,
Yoshihiro Shimoda
Cc: linux-pwm, linux-renesas-soc, devicetree, Geert Uytterhoeven
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>
---
.../devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml
index 3c2fa2e93d1b17d6..7ea1070b4b3a82ec 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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required
2021-04-29 12:46 [PATCH] dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required Geert Uytterhoeven
@ 2021-05-03 20:03 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-05-03 20:03 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Uwe Kleine-König, devicetree, linux-pwm, Rob Herring,
Lee Jones, Yoshihiro Shimoda, Thierry Reding, linux-renesas-soc
On Thu, 29 Apr 2021 14:46:45 +0200, Geert Uytterhoeven wrote:
> 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>
> ---
> .../devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-03 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 12:46 [PATCH] dt-bindings: pwm: renesas,pwm-rcar: Make power-domains and resets required Geert Uytterhoeven
2021-05-03 20:03 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).