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

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 <ansuelsmth@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

authored by

Christian Marangi and committed by
Viresh Kumar
35e0964e 5ea49113

+22
+22
Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
··· 68 68 6: MSM8996SG, speedbin 2 69 69 7-31: unused 70 70 71 + Bitmap for IPQ806x SoC: 72 + 0: IPQ8062 73 + 1: IPQ8064/IPQ8066/IPQ8068 74 + 2: IPQ8065/IPQ8069 75 + 3-31: unused 76 + 71 77 Other platforms use bits directly corresponding to speedbin index. 72 78 73 79 clock-latency-ns: true ··· 265 259 opp-supported-hw = <0x1>; 266 260 clock-latency-ns = <200000>; 267 261 required-opps = <&cpr_opp6>; 262 + }; 263 + }; 264 + 265 + /* Dummy opp table to give example for named opp-microvolt */ 266 + opp-table-2 { 267 + compatible = "operating-points-v2-krait-cpu"; 268 + nvmem-cells = <&speedbin_efuse>; 269 + 270 + opp-384000000 { 271 + opp-hz = /bits/ 64 <384000000>; 272 + opp-microvolt-speed0-pvs0 = <1000000 950000 1050000>; 273 + opp-microvolt-speed0-pvs1 = <925000 878750 971250>; 274 + opp-microvolt-speed0-pvs2 = <875000 831250 918750>; 275 + opp-microvolt-speed0-pvs3 = <800000 760000 840000>; 276 + opp-supported-hw = <0x7>; 277 + clock-latency-ns = <100000>; 268 278 }; 269 279 }; 270 280