nxp,pf8x00-regulator.yaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/nxp,pf8x00-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: NXP PF8100/PF8121A/PF8200 PMIC regulators
  7. maintainers:
  8. - Jagan Teki <jagan@amarulasolutions.com>
  9. - Troy Kisky <troy.kisky@boundarydevices.com>
  10. description: |
  11. PF8100/PF8121A/PF8200 is a PMIC designed for highperformance consumer
  12. applications. It features seven high efficiency buck converters, four
  13. linear and one vsnvs regulators. It has built-in one time programmable
  14. fuse bank for device configurations.
  15. properties:
  16. compatible:
  17. enum:
  18. - nxp,pf8100
  19. - nxp,pf8121a
  20. - nxp,pf8200
  21. reg:
  22. maxItems: 1
  23. regulators:
  24. type: object
  25. description: |
  26. list of regulators provided by this controller
  27. patternProperties:
  28. "^ldo[1-4]$":
  29. type: object
  30. $ref: regulator.yaml#
  31. description:
  32. Properties for single LDO regulator.
  33. unevaluatedProperties: false
  34. "^buck[1-7]$":
  35. type: object
  36. $ref: regulator.yaml#
  37. description:
  38. Properties for single BUCK regulator.
  39. properties:
  40. nxp,ilim-ma:
  41. $ref: /schemas/types.yaml#/definitions/uint32
  42. minimum: 2100
  43. maximum: 4500
  44. deprecated: true
  45. description:
  46. BUCK regulators current limit in mA.
  47. This property is deprecated, please use
  48. "regulator-max-microamp" instead.
  49. Listed current limits in mA are,
  50. 2100 (default)
  51. 2600
  52. 3000
  53. 4500
  54. nxp,phase-shift:
  55. $ref: /schemas/types.yaml#/definitions/uint32
  56. default: 0
  57. enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ]
  58. description:
  59. BUCK regulators phase shift control in degrees.
  60. unevaluatedProperties: false
  61. properties:
  62. vsnvs:
  63. type: object
  64. $ref: regulator.yaml#
  65. description:
  66. Properties for single VSNVS regulator.
  67. unevaluatedProperties: false
  68. additionalProperties: false
  69. required:
  70. - compatible
  71. - reg
  72. - regulators
  73. additionalProperties: false
  74. examples:
  75. - |
  76. i2c {
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. pmic@8 {
  80. compatible = "nxp,pf8100";
  81. reg = <0x08>;
  82. regulators {
  83. reg_ldo1: ldo1 {
  84. regulator-always-on;
  85. regulator-boot-on;
  86. regulator-max-microvolt = <5000000>;
  87. regulator-min-microvolt = <1500000>;
  88. };
  89. reg_ldo2: ldo2 {
  90. regulator-always-on;
  91. regulator-boot-on;
  92. regulator-max-microvolt = <5000000>;
  93. regulator-min-microvolt = <1500000>;
  94. };
  95. reg_ldo3: ldo3 {
  96. regulator-always-on;
  97. regulator-boot-on;
  98. regulator-max-microvolt = <5000000>;
  99. regulator-min-microvolt = <1500000>;
  100. };
  101. reg_ldo4: ldo4 {
  102. regulator-always-on;
  103. regulator-boot-on;
  104. regulator-max-microvolt = <5000000>;
  105. regulator-min-microvolt = <1500000>;
  106. };
  107. reg_buck1: buck1 {
  108. nxp,ilim-ma = <4500>;
  109. regulator-always-on;
  110. regulator-boot-on;
  111. regulator-max-microvolt = <1800000>;
  112. regulator-min-microvolt = <400000>;
  113. };
  114. reg_buck2: buck2 {
  115. regulator-always-on;
  116. regulator-boot-on;
  117. regulator-max-microvolt = <1800000>;
  118. regulator-min-microvolt = <400000>;
  119. };
  120. reg_buck3: buck3 {
  121. regulator-always-on;
  122. regulator-boot-on;
  123. regulator-max-microvolt = <1800000>;
  124. regulator-min-microvolt = <400000>;
  125. };
  126. reg_buck4: buck4 {
  127. regulator-always-on;
  128. regulator-boot-on;
  129. regulator-max-microvolt = <1800000>;
  130. regulator-min-microvolt = <400000>;
  131. };
  132. reg_buck5: buck5 {
  133. regulator-always-on;
  134. regulator-boot-on;
  135. regulator-max-microvolt = <1800000>;
  136. regulator-min-microvolt = <400000>;
  137. };
  138. reg_buck6: buck6 {
  139. regulator-always-on;
  140. regulator-boot-on;
  141. regulator-max-microvolt = <1800000>;
  142. regulator-min-microvolt = <400000>;
  143. };
  144. reg_buck7: buck7 {
  145. regulator-always-on;
  146. regulator-boot-on;
  147. regulator-max-microvolt = <3300000>;
  148. regulator-min-microvolt = <3300000>;
  149. };
  150. reg_vsnvs: vsnvs {
  151. regulator-always-on;
  152. regulator-boot-on;
  153. regulator-max-microvolt = <3300000>;
  154. regulator-min-microvolt = <1800000>;
  155. };
  156. };
  157. };
  158. };