lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250614-topic-venus_opp-v1-1-5ec6f64f395d@oss.qualcomm.com>
Date: Sat, 14 Jun 2025 22:05:09 +0200
From: Konrad Dybcio <konradybcio@...nel.org>
To: Vikash Garodia <quic_vgarodia@...cinc.com>, 
 Dikshita Agarwal <quic_dikshita@...cinc.com>, 
 Bryan O'Donoghue <bryan.odonoghue@...aro.org>, 
 Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, Abhinav Kumar <abhinav.kumar@...ux.dev>, 
 Stanimir Varbanov <stanimir.varbanov@...aro.org>
Cc: Marijn Suijten <marijn.suijten@...ainline.org>, 
 linux-media@...r.kernel.org, linux-arm-msm@...r.kernel.org, 
 devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: [PATCH] media: dt-bindings: qcom,venus: Allow OPP specifics
 universally

From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>

All venus hardware has a number of OPPs, so it only makes sense to
commonize the allowing of operating-points-v2/opp-table. Do so.

Signed-off-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
---
 Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml    | 4 ----
 Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml    | 4 ----
 Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 4 ----
 Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml    | 4 ----
 Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml     | 5 -----
 Documentation/devicetree/bindings/media/qcom,venus-common.yaml    | 4 ++++
 6 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
index bfd8b1ad473128c974bce84639cb0aff59d8c2cc..e5c05b9c1e914a618a71b86a75ff5516556d55ef 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
@@ -61,10 +61,6 @@ properties:
       - const: video-mem
       - const: cpu-cfg
 
-  operating-points-v2: true
-  opp-table:
-    type: object
-
   video-decoder:
     type: object
 
diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml
index 413c5b4ee6504ba1d5fe9f74d5be04ad8c90c318..0a3b3cd525678b13c201f417f418de4927ea1d8d 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml
@@ -54,10 +54,6 @@ properties:
       - const: cpu-cfg
       - const: video-mem
 
-  operating-points-v2: true
-  opp-table:
-    type: object
-
   video-decoder:
     type: object
 
diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
index c839cb1ebc0999e10b865f4bb43ea76ffa2bf46d..c177c96d6bd1d4e10de816a330b4e7b1c6e3f3dc 100644
--- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
@@ -56,10 +56,6 @@ properties:
       - const: video-mem
       - const: cpu-cfg
 
-  operating-points-v2: true
-  opp-table:
-    type: object
-
   video-core0:
     type: object
 
diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
index da54493220c9dc90e7d9f5fcfce7590acb241c85..89db76817be4c6a8d10e46b95546397e85481988 100644
--- a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
@@ -51,10 +51,6 @@ properties:
       - const: cpu-cfg
       - const: video-mem
 
-  operating-points-v2: true
-  opp-table:
-    type: object
-
   resets:
     maxItems: 2
 
diff --git a/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml b/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
index c79bf2101812d83b99704f38b7348a9f728dff44..c2076e80bb5c5f976384875f0406bbfa2cd6f100 100644
--- a/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
@@ -69,11 +69,6 @@ properties:
 
   dma-coherent: true
 
-  operating-points-v2: true
-
-  opp-table:
-    type: object
-
 required:
   - compatible
   - power-domain-names
diff --git a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml
index 3153d91f9d18a327559dd750f152332cdc652ac4..67f0e0f78c72756e9d4ccc34def3da1402b7aa38 100644
--- a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml
@@ -47,6 +47,10 @@ properties:
     minItems: 1
     maxItems: 4
 
+  operating-points-v2: true
+  opp-table:
+    type: object
+
   video-firmware:
     type: object
     additionalProperties: false

---
base-commit: bc6e0ba6c9bafa6241b05524b9829808056ac4ad
change-id: 20250614-topic-venus_opp-f04af788db7e

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@....qualcomm.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ