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