opp-v2-qcom-level.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # 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. title: Qualcomm OPP
  7. maintainers:
  8. - Niklas Cassel <nks@flawful.org>
  9. allOf:
  10. - $ref: opp-v2-base.yaml#
  11. properties:
  12. compatible:
  13. const: operating-points-v2-qcom-level
  14. patternProperties:
  15. '^opp-?[0-9]+$':
  16. type: object
  17. additionalProperties: false
  18. properties:
  19. opp-level: true
  20. qcom,opp-fuse-level:
  21. description: |
  22. A positive value representing the fuse corner/level associated with
  23. this OPP node. Sometimes several corners/levels shares a certain fuse
  24. corner/level. A fuse corner/level contains e.g. ref uV, min uV,
  25. and max uV.
  26. $ref: /schemas/types.yaml#/definitions/uint32-array
  27. minItems: 1
  28. maxItems: 2
  29. required:
  30. - opp-level
  31. - qcom,opp-fuse-level
  32. required:
  33. - compatible
  34. additionalProperties: false
  35. examples:
  36. - |
  37. cpr_opp_table: opp-table-cpr {
  38. compatible = "operating-points-v2-qcom-level";
  39. cpr_opp1: opp1 {
  40. opp-level = <1>;
  41. qcom,opp-fuse-level = <1>;
  42. };
  43. cpr_opp2: opp2 {
  44. opp-level = <2>;
  45. qcom,opp-fuse-level = <2>;
  46. };
  47. cpr_opp3: opp3 {
  48. opp-level = <3>;
  49. qcom,opp-fuse-level = <3>;
  50. };
  51. };