mediatek,mt6357-regulator.yaml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MediaTek MT6357 Regulators
  7. maintainers:
  8. - Chen Zhong <chen.zhong@mediatek.com>
  9. - Fabien Parent <fabien.parent@linaro.org>
  10. - Alexandre Mergnat <amergnat@baylibre.com>
  11. description: |
  12. The MT6357 PMIC provides 5 BUCK and 29 LDO.
  13. Regulators and nodes are named according to the regulator type:
  14. - buck-<name>
  15. - ldo-<name>.
  16. MT6357 regulators node should be sub node of the MT6397 MFD node.
  17. patternProperties:
  18. "^buck-v(core|modem|pa|proc|s1)$":
  19. type: object
  20. $ref: regulator.yaml#
  21. unevaluatedProperties: false
  22. description:
  23. Properties for single BUCK regulator.
  24. required:
  25. - regulator-name
  26. - regulator-min-microvolt
  27. - regulator-max-microvolt
  28. "^ldo-v(camio18|aud28|aux18|io18|io28|rf12|rf18|cn18|cn28|fe28)$":
  29. type: object
  30. $ref: regulator.yaml#
  31. unevaluatedProperties: false
  32. description:
  33. Properties for single fixed LDO regulator.
  34. required:
  35. - regulator-name
  36. - regulator-min-microvolt
  37. - regulator-max-microvolt
  38. "^ldo-v(efuse|ibr|ldo28|mch|cama|camd|cn33-bt|cn33-wifi)$":
  39. type: object
  40. $ref: regulator.yaml#
  41. unevaluatedProperties: false
  42. description:
  43. Properties for single LDO regulator.
  44. required:
  45. - regulator-name
  46. - regulator-min-microvolt
  47. - regulator-max-microvolt
  48. "^ldo-v(xo22|emc|mc|sim1|sim2|sram-others|sram-proc|dram|usb33)$":
  49. type: object
  50. $ref: regulator.yaml#
  51. unevaluatedProperties: false
  52. description:
  53. Properties for single LDO regulator.
  54. required:
  55. - regulator-name
  56. - regulator-min-microvolt
  57. - regulator-max-microvolt
  58. additionalProperties: false
  59. examples:
  60. - |
  61. pmic {
  62. regulators {
  63. mt6357_vproc_reg: buck-vproc {
  64. regulator-name = "vproc";
  65. regulator-min-microvolt = <518750>;
  66. regulator-max-microvolt = <1312500>;
  67. regulator-ramp-delay = <6250>;
  68. regulator-enable-ramp-delay = <220>;
  69. regulator-always-on;
  70. };
  71. mt6357_vcore_reg: buck-vcore {
  72. regulator-name = "vcore";
  73. regulator-min-microvolt = <518750>;
  74. regulator-max-microvolt = <1312500>;
  75. regulator-ramp-delay = <6250>;
  76. regulator-enable-ramp-delay = <220>;
  77. regulator-always-on;
  78. };
  79. mt6357_vmodem_reg: buck-vmodem {
  80. regulator-name = "vmodem";
  81. regulator-min-microvolt = <500000>;
  82. regulator-max-microvolt = <1193750>;
  83. regulator-ramp-delay = <6250>;
  84. regulator-enable-ramp-delay = <220>;
  85. };
  86. mt6357_vs1_reg: buck-vs1 {
  87. regulator-name = "vs1";
  88. regulator-min-microvolt = <1200000>;
  89. regulator-max-microvolt = <2200000>;
  90. regulator-ramp-delay = <12500>;
  91. regulator-enable-ramp-delay = <220>;
  92. regulator-always-on;
  93. };
  94. mt6357_vpa_reg: buck-vpa {
  95. regulator-name = "vpa";
  96. regulator-min-microvolt = <500000>;
  97. regulator-max-microvolt = <3650000>;
  98. regulator-ramp-delay = <50000>;
  99. regulator-enable-ramp-delay = <220>;
  100. };
  101. mt6357_vfe28_reg: ldo-vfe28 {
  102. regulator-name = "vfe28";
  103. regulator-min-microvolt = <2800000>;
  104. regulator-max-microvolt = <2800000>;
  105. regulator-enable-ramp-delay = <264>;
  106. };
  107. mt6357_vxo22_reg: ldo-vxo22 {
  108. regulator-name = "vxo22";
  109. regulator-min-microvolt = <2200000>;
  110. regulator-max-microvolt = <2400000>;
  111. regulator-enable-ramp-delay = <110>;
  112. };
  113. mt6357_vrf18_reg: ldo-vrf18 {
  114. regulator-name = "vrf18";
  115. regulator-min-microvolt = <1800000>;
  116. regulator-max-microvolt = <1800000>;
  117. regulator-enable-ramp-delay = <110>;
  118. };
  119. mt6357_vrf12_reg: ldo-vrf12 {
  120. regulator-name = "vrf12";
  121. regulator-min-microvolt = <1200000>;
  122. regulator-max-microvolt = <1200000>;
  123. regulator-enable-ramp-delay = <110>;
  124. };
  125. mt6357_vefuse_reg: ldo-vefuse {
  126. regulator-name = "vefuse";
  127. regulator-min-microvolt = <1200000>;
  128. regulator-max-microvolt = <3300000>;
  129. regulator-enable-ramp-delay = <264>;
  130. };
  131. mt6357_vcn33_bt_reg: ldo-vcn33-bt {
  132. regulator-name = "vcn33-bt";
  133. regulator-min-microvolt = <3300000>;
  134. regulator-max-microvolt = <3500000>;
  135. regulator-enable-ramp-delay = <264>;
  136. };
  137. mt6357_vcn33_wifi_reg: ldo-vcn33-wifi {
  138. regulator-name = "vcn33-wifi";
  139. regulator-min-microvolt = <3300000>;
  140. regulator-max-microvolt = <3500000>;
  141. regulator-enable-ramp-delay = <264>;
  142. };
  143. mt6357_vcn28_reg: ldo-vcn28 {
  144. regulator-name = "vcn28";
  145. regulator-min-microvolt = <2800000>;
  146. regulator-max-microvolt = <2800000>;
  147. regulator-enable-ramp-delay = <264>;
  148. };
  149. mt6357_vcn18_reg: ldo-vcn18 {
  150. regulator-name = "vcn18";
  151. regulator-min-microvolt = <1800000>;
  152. regulator-max-microvolt = <1800000>;
  153. regulator-enable-ramp-delay = <264>;
  154. };
  155. mt6357_vcama_reg: ldo-vcama {
  156. regulator-name = "vcama";
  157. regulator-min-microvolt = <2500000>;
  158. regulator-max-microvolt = <2800000>;
  159. regulator-enable-ramp-delay = <264>;
  160. };
  161. mt6357_vcamd_reg: ldo-vcamd {
  162. regulator-name = "vcamd";
  163. regulator-min-microvolt = <1000000>;
  164. regulator-max-microvolt = <1800000>;
  165. regulator-enable-ramp-delay = <264>;
  166. };
  167. mt6357_vcamio_reg: ldo-vcamio18 {
  168. regulator-name = "vcamio";
  169. regulator-min-microvolt = <1800000>;
  170. regulator-max-microvolt = <1800000>;
  171. regulator-enable-ramp-delay = <264>;
  172. };
  173. mt6357_vldo28_reg: ldo-vldo28 {
  174. regulator-name = "vldo28";
  175. regulator-min-microvolt = <2800000>;
  176. regulator-max-microvolt = <3000000>;
  177. regulator-enable-ramp-delay = <264>;
  178. };
  179. mt6357_vsram_others_reg: ldo-vsram-others {
  180. regulator-name = "vsram-others";
  181. regulator-min-microvolt = <518750>;
  182. regulator-max-microvolt = <1312500>;
  183. regulator-ramp-delay = <6250>;
  184. regulator-enable-ramp-delay = <110>;
  185. regulator-always-on;
  186. };
  187. mt6357_vsram_proc_reg: ldo-vsram-proc {
  188. regulator-name = "vsram-proc";
  189. regulator-min-microvolt = <518750>;
  190. regulator-max-microvolt = <1312500>;
  191. regulator-ramp-delay = <6250>;
  192. regulator-enable-ramp-delay = <110>;
  193. regulator-always-on;
  194. };
  195. mt6357_vaux18_reg: ldo-vaux18 {
  196. regulator-name = "vaux18";
  197. regulator-min-microvolt = <1800000>;
  198. regulator-max-microvolt = <1800000>;
  199. regulator-enable-ramp-delay = <264>;
  200. };
  201. mt6357_vaud28_reg: ldo-vaud28 {
  202. regulator-name = "vaud28";
  203. regulator-min-microvolt = <2800000>;
  204. regulator-max-microvolt = <2800000>;
  205. regulator-enable-ramp-delay = <264>;
  206. };
  207. mt6357_vio28_reg: ldo-vio28 {
  208. regulator-name = "vio28";
  209. regulator-min-microvolt = <2800000>;
  210. regulator-max-microvolt = <2800000>;
  211. regulator-enable-ramp-delay = <264>;
  212. };
  213. mt6357_vio18_reg: ldo-vio18 {
  214. regulator-name = "vio18";
  215. regulator-min-microvolt = <1800000>;
  216. regulator-max-microvolt = <1800000>;
  217. regulator-enable-ramp-delay = <264>;
  218. regulator-always-on;
  219. };
  220. mt6357_vdram_reg: ldo-vdram {
  221. regulator-name = "vdram";
  222. regulator-min-microvolt = <1100000>;
  223. regulator-max-microvolt = <1200000>;
  224. regulator-enable-ramp-delay = <3300>;
  225. };
  226. mt6357_vmc_reg: ldo-vmc {
  227. regulator-name = "vmc";
  228. regulator-min-microvolt = <1800000>;
  229. regulator-max-microvolt = <3300000>;
  230. regulator-enable-ramp-delay = <44>;
  231. };
  232. mt6357_vmch_reg: ldo-vmch {
  233. regulator-name = "vmch";
  234. regulator-min-microvolt = <2900000>;
  235. regulator-max-microvolt = <3300000>;
  236. regulator-enable-ramp-delay = <44>;
  237. };
  238. mt6357_vemc_reg: ldo-vemc {
  239. regulator-name = "vemc";
  240. regulator-min-microvolt = <2900000>;
  241. regulator-max-microvolt = <3300000>;
  242. regulator-enable-ramp-delay = <44>;
  243. regulator-always-on;
  244. };
  245. mt6357_vsim1_reg: ldo-vsim1 {
  246. regulator-name = "vsim1";
  247. regulator-min-microvolt = <1700000>;
  248. regulator-max-microvolt = <3100000>;
  249. regulator-enable-ramp-delay = <264>;
  250. };
  251. mt6357_vsim2_reg: ldo-vsim2 {
  252. regulator-name = "vsim2";
  253. regulator-min-microvolt = <1700000>;
  254. regulator-max-microvolt = <3100000>;
  255. regulator-enable-ramp-delay = <264>;
  256. };
  257. mt6357_vibr_reg: ldo-vibr {
  258. regulator-name = "vibr";
  259. regulator-min-microvolt = <1200000>;
  260. regulator-max-microvolt = <3300000>;
  261. regulator-enable-ramp-delay = <44>;
  262. };
  263. mt6357_vusb33_reg: ldo-vusb33 {
  264. regulator-name = "vusb33";
  265. regulator-min-microvolt = <3000000>;
  266. regulator-max-microvolt = <3100000>;
  267. regulator-enable-ramp-delay = <264>;
  268. };
  269. };
  270. };
  271. ...