64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm OPP8 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-level18 19patternProperties:20 '^opp-?[0-9]+$':21 type: object22 additionalProperties: false23 24 properties:25 opp-level: true26 27 qcom,opp-fuse-level:28 description: |29 A positive value representing the fuse corner/level associated with30 this OPP node. Sometimes several corners/levels shares a certain fuse31 corner/level. A fuse corner/level contains e.g. ref uV, min uV,32 and max uV.33 $ref: /schemas/types.yaml#/definitions/uint32-array34 minItems: 135 maxItems: 236 37 required:38 - opp-level39 - qcom,opp-fuse-level40 41required:42 - compatible43 44additionalProperties: false45 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 };64