[PATCH] dt-bindings: crypto: ice: add operating-points-v2 property for QCOM ICE

Abhinaba Rakshit posted 1 patch 2 weeks ago
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
[PATCH] dt-bindings: crypto: ice: add operating-points-v2 property for QCOM ICE
Posted by Abhinaba Rakshit 2 weeks ago
Add support for specifying OPPs for the Qualcomm Inline Crypto Engine
by allowing the use of the standard "operating-points-v2" property in
the ICE device node. OPP-tabel is kept as an optional property.

Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
---
 .../bindings/crypto/qcom,inline-crypto-engine.yaml | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
index c3408dcf5d2057270a732fe0e6744f4aa6496e06..0e7844e64555ed8b4350f0e18bdd20fb64f2ac6b 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
@@ -30,6 +30,14 @@ properties:
   clocks:
     maxItems: 1
 
+  operating-points-v2:
+    description:
+      Each OPP entry contains the frequency configuration for the ICE device
+      clock(s).
+
+  opp-table:
+    type: object
+
 required:
   - compatible
   - reg
@@ -46,5 +54,21 @@ examples:
                    "qcom,inline-crypto-engine";
       reg = <0x01d88000 0x8000>;
       clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+
+      operating-points-v2 = <&ice_opp_table>;
+
+      ice_opp_table: opp-table {
+        compatible = "operating-points-v2";
+
+        opp-201600000 {
+          opp-hz = /bits/ 64 <201600000>;
+          required-opps = <&rpmhpd_opp_svs_l1>;
+        };
+
+        opp-403200000 {
+          opp-hz = /bits/ 64 <403200000>;
+          required-opps = <&rpmhpd_opp_nom>;
+        };
+      };
     };
 ...

---
base-commit: 46fe65a2c28ecf5df1a7475aba1f08ccf4c0ac1b
change-id: 20260123-add-operating-points-v2-property-for-qcom-ice-bindings-e4e27598fabd

Best regards,
-- 
Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>