dt-bindings: ata: renesas,rcar-sata: Make power-domains and resets required
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 29 Apr 2021 12:45:03 +0000 (14:45 +0200)
committerRob Herring <robh@kernel.org>
Mon, 10 May 2021 16:54:31 +0000 (11:54 -0500)
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>
Link: https://lore.kernel.org/r/ca35d7d837b155c69232a1c25060737b4c87720f.1619700260.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml

index d06096a..c060c79 100644 (file)
@@ -53,6 +53,17 @@ required:
   - reg
   - interrupts
   - clocks
+  - power-domains
+
+if:
+  not:
+    properties:
+      compatible:
+        contains:
+          const: renesas,sata-r8a7779
+then:
+  required:
+    - resets
 
 additionalProperties: false