]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
media: dt-bindings: media: venus: Add an optional power domain for perf voting
authorRajendra Nayak <rnayak@codeaurora.org>
Tue, 1 Sep 2020 14:20:22 +0000 (16:20 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 8 Oct 2020 07:10:32 +0000 (09:10 +0200)
Venus needs to vote for the performance state of a power domain (cx)
to be able to support DVFS. This 'cx' power domain is controlled by
rpmh and is a common power domain (scalable) not specific to
venus alone. This is optional in the sense that, leaving this power
domain out does not really impact the functionality but just makes
the platform a little less power efficient.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml

index 55f2d67ae34e1a07517bb3cfb6445ef9c65baff2..04e303b12638f0c7b3bdf9b44bcf02d538267481 100644 (file)
@@ -25,12 +25,16 @@ properties:
     maxItems: 1
 
   power-domains:
-    maxItems: 2
+    minItems: 2
+    maxItems: 3
 
   power-domain-names:
+    minItems: 2
+    maxItems: 3
     items:
       - const: venus
       - const: vcodec0
+      - const: cx
 
   clocks:
     maxItems: 5
index 157dff8057e956b14d72c9bce8975f69a4a0f7d6..90013d4b6b930fd442dd2641c9061cb70ab7fde7 100644 (file)
@@ -25,13 +25,17 @@ properties:
     maxItems: 1
 
   power-domains:
-    maxItems: 3
+    minItems: 3
+    maxItems: 4
 
   power-domain-names:
+    minItems: 3
+    maxItems: 4
     items:
       - const: venus
       - const: vcodec0
       - const: vcodec1
+      - const: cx
 
   clocks:
     maxItems: 7