mediatek,mt6332-regulator.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MT6332 Regulator from MediaTek Integrated
  7. maintainers:
  8. - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
  9. description: |
  10. The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout)
  11. regulators and nodes are named according to the regulator type:
  12. buck-<name> and ldo-<name>.
  13. MT6332 regulators node should be sub node of the MT6397 MFD node.
  14. patternProperties:
  15. "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$":
  16. type: object
  17. $ref: regulator.yaml#
  18. properties:
  19. regulator-name:
  20. pattern: "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$"
  21. unevaluatedProperties: false
  22. "^ldo-v(bif28|dig18|sram|usb33)$":
  23. type: object
  24. $ref: regulator.yaml#
  25. properties:
  26. regulator-name:
  27. pattern: "^v(bif28|dig18|sram|usb33)$"
  28. unevaluatedProperties: false
  29. additionalProperties: false
  30. examples:
  31. - |
  32. pmic {
  33. regulators {
  34. mt6332_vdram_reg: buck-vdram {
  35. regulator-name = "vdram";
  36. regulator-min-microvolt = <700000>;
  37. regulator-max-microvolt = <1493750>;
  38. regulator-ramp-delay = <12500>;
  39. regulator-allowed-modes = <0 1>;
  40. regulator-always-on;
  41. };
  42. mt6332_vdvfs2_reg: buck-vdvfs2 {
  43. regulator-name = "vdvfs2";
  44. regulator-min-microvolt = <700000>;
  45. regulator-max-microvolt = <1312500>;
  46. regulator-ramp-delay = <12500>;
  47. regulator-enable-ramp-delay = <1>;
  48. regulator-allowed-modes = <0 1>;
  49. };
  50. mt6332_vpa_reg: buck-vpa {
  51. regulator-name = "vpa";
  52. regulator-min-microvolt = <500000>;
  53. regulator-max-microvolt = <3400000>;
  54. };
  55. mt6332_vrf18a_reg: buck-vrf18a {
  56. regulator-name = "vrf18a";
  57. regulator-min-microvolt = <1050000>;
  58. regulator-max-microvolt = <2240625>;
  59. regulator-allowed-modes = <0 1>;
  60. };
  61. mt6332_vrf18b_reg: buck-vrf18b {
  62. regulator-name = "vrf18b";
  63. regulator-min-microvolt = <1050000>;
  64. regulator-max-microvolt = <2240625>;
  65. regulator-allowed-modes = <0 1>;
  66. };
  67. mt6332_vsbst_reg: buck-vsbst {
  68. regulator-name = "vsbst";
  69. regulator-min-microvolt = <3500000>;
  70. regulator-max-microvolt = <7468750>;
  71. };
  72. mt6332_vauxb32_reg: ldo-vauxb32 {
  73. regulator-name = "vauxb32";
  74. regulator-min-microvolt = <2800000>;
  75. regulator-max-microvolt = <3200000>;
  76. };
  77. mt6332_vbif28_reg: ldo-vbif28 {
  78. regulator-name = "vbif28";
  79. regulator-min-microvolt = <2800000>;
  80. regulator-max-microvolt = <2800000>;
  81. };
  82. mt6332_vdig18_reg: ldo-vdig18 {
  83. regulator-name = "vdig18";
  84. regulator-min-microvolt = <1200000>;
  85. regulator-max-microvolt = <1800000>;
  86. regulator-always-on;
  87. };
  88. mt6332_vsram_reg: ldo-vsram {
  89. regulator-name = "vauxa32";
  90. regulator-min-microvolt = <700000>;
  91. regulator-max-microvolt = <1493750>;
  92. regulator-always-on;
  93. };
  94. mt6332_vusb33_reg: ldo-vusb33 {
  95. regulator-name = "vusb33";
  96. regulator-min-microvolt = <3300000>;
  97. regulator-max-microvolt = <3300000>;
  98. };
  99. };
  100. };
  101. ...