Skip to content

Commit 0a86a68

Browse files
committed
FROMLIST: dt-bindings: crypto: ice: add operating-points-v2 property for QCOM ICE
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. ICE clock management was handled by the storage drivers in legacy bindings, so the ICE driver itself had no mechanism for clock scaling. With the introduction of the new standalone ICE device node, clock control must now be performed directly by the ICE driver. Enabling operating-points-v2 allows the driver to describe and manage the frequency and voltage requirements for proper DVFS operation. Link: https://lore.kernel.org/all/20260219-enable-ufs-ice-clock-scaling-v6-1-0c5245117d45@oss.qualcomm.com/ Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
1 parent ec002ab commit 0a86a68

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ properties:
4040
power-domains:
4141
maxItems: 1
4242

43+
operating-points-v2: true
44+
45+
opp-table:
46+
type: object
47+
4348
required:
4449
- compatible
4550
- reg
@@ -79,5 +84,26 @@ examples:
7984
clock-names = "core",
8085
"iface";
8186
power-domains = <&gcc UFS_PHY_GDSC>;
87+
88+
operating-points-v2 = <&ice_opp_table>;
89+
90+
ice_opp_table: opp-table {
91+
compatible = "operating-points-v2";
92+
93+
opp-100000000 {
94+
opp-hz = /bits/ 64 <100000000>;
95+
required-opps = <&rpmhpd_opp_low_svs>;
96+
};
97+
98+
opp-201500000 {
99+
opp-hz = /bits/ 64 <201500000>;
100+
required-opps = <&rpmhpd_opp_svs_l1>;
101+
};
102+
103+
opp-403000000 {
104+
opp-hz = /bits/ 64 <403000000>;
105+
required-opps = <&rpmhpd_opp_nom>;
106+
};
107+
};
82108
};
83109
...

0 commit comments

Comments
 (0)