dt-bindings: power: apple,pmgr-pwrstate: Add apple,min-state prop
authorHector Martin <marcan@marcan.st>
Thu, 9 Dec 2021 04:44:59 +0000 (13:44 +0900)
committerHector Martin <marcan@marcan.st>
Sun, 12 Dec 2021 01:25:22 +0000 (10:25 +0900)
A few devices (DCP/DCPEXT) need to have the minimum power state for
auto-PM configured. Add a property that allows the DT to specify this
value.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml

index 5056d08..19a1949 100644 (file)
@@ -61,6 +61,14 @@ properties:
       Forces this power domain to always be powered up.
     type: boolean
 
+  apple,min-state:
+    description:
+      Specifies the minimum power state for auto-PM.
+      0 = power gated, 4 = clock gated, 15 = on.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 15
+
 required:
   - compatible
   - reg