Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm OPP bindings to describe OPP nodes.
0008 
0009 maintainers:
0010   - Niklas Cassel <nks@flawful.org>
0011 
0012 allOf:
0013   - $ref: opp-v2-base.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: operating-points-v2-qcom-level
0018 
0019 patternProperties:
0020   '^opp-?[0-9]+$':
0021     type: object
0022     additionalProperties: false
0023 
0024     properties:
0025       opp-level: true
0026 
0027       qcom,opp-fuse-level:
0028         description: |
0029           A positive value representing the fuse corner/level associated with
0030           this OPP node. Sometimes several corners/levels shares a certain fuse
0031           corner/level. A fuse corner/level contains e.g. ref uV, min uV,
0032           and max uV.
0033         $ref: /schemas/types.yaml#/definitions/uint32
0034 
0035     required:
0036       - opp-level
0037       - qcom,opp-fuse-level
0038 
0039 required:
0040   - compatible
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     cpr_opp_table: opp-table-cpr {
0047         compatible = "operating-points-v2-qcom-level";
0048 
0049         cpr_opp1: opp1 {
0050             opp-level = <1>;
0051             qcom,opp-fuse-level = <1>;
0052         };
0053         cpr_opp2: opp2 {
0054             opp-level = <2>;
0055             qcom,opp-fuse-level = <2>;
0056         };
0057         cpr_opp3: opp3 {
0058             opp-level = <3>;
0059             qcom,opp-fuse-level = <3>;
0060         };
0061     };