diff mbox series

[4/8] media: dt-bindings: qcom,sc7180-venus: document OPP table

Message ID 20221227144102.79391-4-krzysztof.kozlowski@linaro.org
State Accepted
Commit 9457d55ece55d6f4b4488a93a6970415e102d459
Headers show
Series [1/8] media: dt-bindings: qcom,venus: cleanup | expand

Commit Message

Krzysztof Kozlowski Dec. 27, 2022, 2:40 p.m. UTC
Venus on Qualcomm SC7180 uses Operating Performance Points (both in DTS
and driver):

  sc7180-idp.dtb: video-codec@aa00000: Unevaluated properties are not allowed ('operating-points-v2', 'opp-table' were unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/media/qcom,sc7180-venus.yaml          | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring Jan. 8, 2023, 6:23 p.m. UTC | #1
On Tue, 27 Dec 2022 15:40:58 +0100, Krzysztof Kozlowski wrote:
> Venus on Qualcomm SC7180 uses Operating Performance Points (both in DTS
> and driver):
> 
>   sc7180-idp.dtb: video-codec@aa00000: Unevaluated properties are not allowed ('operating-points-v2', 'opp-table' were unexpected)
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/media/qcom,sc7180-venus.yaml          | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
index acdb54d5c69e..5cec1d077cda 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
@@ -56,6 +56,10 @@  properties:
       - const: video-mem
       - const: cpu-cfg
 
+  operating-points-v2: true
+  opp-table:
+    type: object
+
   video-decoder:
     type: object