Skip to content

Commit 53205a7

Browse files
DhruvaG2000vireshk
authored andcommitted
dt-bindings: opp: operating-points-v2-ti-cpu: Describe opp-supported-hw
It seems like we missed migrating the complete information from the old DT binding where we had described what the opp-supported-hw is supposed to describe. Hence, bring back the description from the previous binding to the current one along with a bit more context on what the values are supposed to be. Fixes: e576a9a ("dt-bindings: cpufreq: Convert ti-cpufreq to json schema") Signed-off-by: Dhruva Gole <d-gole@ti.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 217fa39 commit 53205a7

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,25 @@ patternProperties:
4545
clock-latency-ns: true
4646
opp-hz: true
4747
opp-microvolt: true
48-
opp-supported-hw: true
48+
opp-supported-hw:
49+
items:
50+
items:
51+
- description:
52+
The revision of the SoC the OPP is supported by.
53+
This can be easily obtained from the datasheet of the
54+
part being ordered/used. For example, it will be 0x01 for SR1.0
55+
56+
- description:
57+
The eFuse bits that indicate the particular OPP is available.
58+
The device datasheet has a table talking about Device Speed Grades.
59+
This table is to be sorted with only the unique elements of the
60+
MAXIMUM OPERATING FREQUENCY starting from the first row which
61+
tells the lowest OPP, to the highest. The corresponding bits
62+
need to be set based on N elements of speed grade the device supports.
63+
So, if there are 3 possible unique MAXIMUM OPERATING FREQUENCY
64+
in the table, then BIT(0) | (1) | (2) will be set, which means
65+
the value shall be 0x7.
66+
4967
opp-suspend: true
5068
turbo-mode: true
5169

0 commit comments

Comments
 (0)