Skip to content

Commit 35e0964

Browse files
Ansuelvireshk
authored andcommitted
dt-bindings: opp: opp-v2-kryo-cpu: Document named opp-microvolt property
Document named opp-microvolt property for opp-v2-kryo-cpu schema. This property is used to declare multiple voltage ranges selected on the different values read from efuses. The selection is done based on the speed pvs values and the named opp-microvolt property is selected by the qcom-cpufreq-nvmem driver. Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 5ea4911 commit 35e0964

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ patternProperties:
6868
6: MSM8996SG, speedbin 2
6969
7-31: unused
7070
71+
Bitmap for IPQ806x SoC:
72+
0: IPQ8062
73+
1: IPQ8064/IPQ8066/IPQ8068
74+
2: IPQ8065/IPQ8069
75+
3-31: unused
76+
7177
Other platforms use bits directly corresponding to speedbin index.
7278
7379
clock-latency-ns: true
@@ -262,6 +268,22 @@ examples:
262268
};
263269
};
264270
271+
/* Dummy opp table to give example for named opp-microvolt */
272+
opp-table-2 {
273+
compatible = "operating-points-v2-krait-cpu";
274+
nvmem-cells = <&speedbin_efuse>;
275+
276+
opp-384000000 {
277+
opp-hz = /bits/ 64 <384000000>;
278+
opp-microvolt-speed0-pvs0 = <1000000 950000 1050000>;
279+
opp-microvolt-speed0-pvs1 = <925000 878750 971250>;
280+
opp-microvolt-speed0-pvs2 = <875000 831250 918750>;
281+
opp-microvolt-speed0-pvs3 = <800000 760000 840000>;
282+
opp-supported-hw = <0x7>;
283+
clock-latency-ns = <100000>;
284+
};
285+
};
286+
265287
smem {
266288
compatible = "qcom,smem";
267289
memory-region = <&smem_mem>;

0 commit comments

Comments
 (0)