diff mbox series

dt-bindings: ata: renesas,rcar-sata: Make power-domains and resets required

Message ID ca35d7d837b155c69232a1c25060737b4c87720f.1619700260.git.geert+renesas@glider.be
State New
Headers show
Series dt-bindings: ata: renesas,rcar-sata: Make power-domains and resets required | expand

Commit Message

Geert Uytterhoeven April 29, 2021, 12:45 p.m. UTC
The "power-domains" property is present on all supported platforms.
The "resets" property is present on all but R-Car H1.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 .../devicetree/bindings/ata/renesas,rcar-sata.yaml    | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Rob Herring (Arm) May 3, 2021, 8:01 p.m. UTC | #1
On Thu, 29 Apr 2021 14:45:03 +0200, Geert Uytterhoeven wrote:
> The "power-domains" property is present on all supported platforms.
> The "resets" property is present on all but R-Car H1.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  .../devicetree/bindings/ata/renesas,rcar-sata.yaml    | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml b/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
index 2ad2444f10423eae..c4e4a9eab658056d 100644
--- a/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
+++ b/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
@@ -54,6 +54,17 @@  required:
   - reg
   - interrupts
   - clocks
+  - power-domains
+
+if:
+  not:
+    properties:
+      compatible:
+        contains:
+          const: renesas,sata-r8a7779
+then:
+  required:
+    - resets
 
 additionalProperties: false