From: Hector Martin <marcan@marcan.st>
Date: Thu, 9 Dec 2021 04:50:42 +0000 (+0900)
Subject: dt-bindings: mailbox: apple,mailbox: Add power-domains property
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=301f651614c3396d711a8cc3f92f6fb95b12f5c5;p=linux.git

dt-bindings: mailbox: apple,mailbox: Add power-domains property

This will bind to the PMGR pwrstate nodes that control power/clock
gating to SoC blocks. The mailbox driver doesn't do runtime-pm yet, so
initially this will just keep the domain on permanently.

Reviewed-by: Sven Peter <sven@svenpeter.dev>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
---

diff --git a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
index 2c1704b34e7aa..c4255f42e8019 100644
--- a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
+++ b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
@@ -56,6 +56,9 @@ properties:
   "#mbox-cells":
     const: 0
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg