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