Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Abhinaba Rakshit and committed by
Herbert Xu
1eb6c478 635c3a75

+26
+26
Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
··· 31 31 clocks: 32 32 maxItems: 1 33 33 34 + operating-points-v2: true 35 + 36 + opp-table: 37 + type: object 38 + 34 39 required: 35 40 - compatible 36 41 - reg ··· 52 47 "qcom,inline-crypto-engine"; 53 48 reg = <0x01d88000 0x8000>; 54 49 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; 50 + 51 + operating-points-v2 = <&ice_opp_table>; 52 + 53 + ice_opp_table: opp-table { 54 + compatible = "operating-points-v2"; 55 + 56 + opp-100000000 { 57 + opp-hz = /bits/ 64 <100000000>; 58 + required-opps = <&rpmhpd_opp_low_svs>; 59 + }; 60 + 61 + opp-201500000 { 62 + opp-hz = /bits/ 64 <201500000>; 63 + required-opps = <&rpmhpd_opp_svs_l1>; 64 + }; 65 + 66 + opp-403000000 { 67 + opp-hz = /bits/ 64 <403000000>; 68 + required-opps = <&rpmhpd_opp_nom>; 69 + }; 70 + }; 55 71 }; 56 72 ...