blob: a30ef93213c0990f4a4ab993f546ee140958ba47 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm OPP
8
9maintainers:
10 - Niklas Cassel <nks@flawful.org>
11
12allOf:
13 - $ref: opp-v2-base.yaml#
14
15properties:
16 compatible:
17 const: operating-points-v2-qcom-level
18
19patternProperties:
20 '^opp-?[0-9]+$':
21 type: object
22 additionalProperties: false
23
24 properties:
25 opp-level: true
26
27 qcom,opp-fuse-level:
28 description: |
29 A positive value representing the fuse corner/level associated with
30 this OPP node. Sometimes several corners/levels shares a certain fuse
31 corner/level. A fuse corner/level contains e.g. ref uV, min uV,
32 and max uV.
33 $ref: /schemas/types.yaml#/definitions/uint32-array
34 minItems: 1
35 maxItems: 2
36
37 required:
38 - opp-level
39 - qcom,opp-fuse-level
40
41required:
42 - compatible
43
44additionalProperties: false
45
46examples:
47 - |
48 cpr_opp_table: opp-table-cpr {
49 compatible = "operating-points-v2-qcom-level";
50
51 cpr_opp1: opp1 {
52 opp-level = <1>;
53 qcom,opp-fuse-level = <1>;
54 };
55 cpr_opp2: opp2 {
56 opp-level = <2>;
57 qcom,opp-fuse-level = <2>;
58 };
59 cpr_opp3: opp3 {
60 opp-level = <3>;
61 qcom,opp-fuse-level = <3>;
62 };
63 };