18c2ecf20Sopenharmony_ciMediaTek MT6380 Regulator 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciAll voltage regulators provided by the MT6380 PMIC are described as the 48c2ecf20Sopenharmony_cisubnodes of the MT6380 regulators node. Each regulator is named according 58c2ecf20Sopenharmony_cito its regulator type, buck-<name> and ldo-<name>. The definition for each 68c2ecf20Sopenharmony_ciof these nodes is defined using the standard binding for regulators at 78c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/regulator/regulator.txt. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciThe valid names for regulators are: 108c2ecf20Sopenharmony_ciBUCK: 118c2ecf20Sopenharmony_ci buck-core1, buck-vcore, buck-vrf 128c2ecf20Sopenharmony_ciLDO: 138c2ecf20Sopenharmony_ci ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciExample: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci regulators { 188c2ecf20Sopenharmony_ci compatible = "mediatek,mt6380-regulator"; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci mt6380_vcpu_reg: buck-vcore1 { 218c2ecf20Sopenharmony_ci regulator-name = "vcore1"; 228c2ecf20Sopenharmony_ci regulator-min-microvolt = < 600000>; 238c2ecf20Sopenharmony_ci regulator-max-microvolt = <1393750>; 248c2ecf20Sopenharmony_ci regulator-ramp-delay = <6250>; 258c2ecf20Sopenharmony_ci regulator-always-on; 268c2ecf20Sopenharmony_ci regulator-boot-on; 278c2ecf20Sopenharmony_ci }; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci mt6380_vcore_reg: buck-vcore { 308c2ecf20Sopenharmony_ci regulator-name = "vcore"; 318c2ecf20Sopenharmony_ci regulator-min-microvolt = <600000>; 328c2ecf20Sopenharmony_ci regulator-max-microvolt = <1393750>; 338c2ecf20Sopenharmony_ci regulator-ramp-delay = <6250>; 348c2ecf20Sopenharmony_ci }; 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci mt6380_vrf_reg: buck-vrf { 378c2ecf20Sopenharmony_ci regulator-name = "vrf"; 388c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 398c2ecf20Sopenharmony_ci regulator-max-microvolt = <1575000>; 408c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 418c2ecf20Sopenharmony_ci regulator-always-on; 428c2ecf20Sopenharmony_ci regulator-boot-on; 438c2ecf20Sopenharmony_ci }; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci mt6380_vm_reg: ldo-vm { 468c2ecf20Sopenharmony_ci regulator-name = "vm"; 478c2ecf20Sopenharmony_ci regulator-min-microvolt = <1050000>; 488c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 498c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 508c2ecf20Sopenharmony_ci regulator-always-on; 518c2ecf20Sopenharmony_ci regulator-boot-on; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci mt6380_va_reg: ldo-va { 558c2ecf20Sopenharmony_ci regulator-name = "va"; 568c2ecf20Sopenharmony_ci regulator-min-microvolt = <2200000>; 578c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 588c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 598c2ecf20Sopenharmony_ci regulator-always-on; 608c2ecf20Sopenharmony_ci regulator-boot-on; 618c2ecf20Sopenharmony_ci }; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci mt6380_vphy_reg: ldo-vphy { 648c2ecf20Sopenharmony_ci regulator-name = "vphy"; 658c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 668c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 678c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 688c2ecf20Sopenharmony_ci regulator-always-on; 698c2ecf20Sopenharmony_ci regulator-boot-on; 708c2ecf20Sopenharmony_ci }; 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ci mt6380_vddr_reg: ldo-vddr { 738c2ecf20Sopenharmony_ci regulator-name = "vddr"; 748c2ecf20Sopenharmony_ci regulator-min-microvolt = <1240000>; 758c2ecf20Sopenharmony_ci regulator-max-microvolt = <1840000>; 768c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 778c2ecf20Sopenharmony_ci regulator-always-on; 788c2ecf20Sopenharmony_ci regulator-boot-on; 798c2ecf20Sopenharmony_ci }; 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci mt6380_vt_reg: ldo-vt { 828c2ecf20Sopenharmony_ci regulator-name = "vt"; 838c2ecf20Sopenharmony_ci regulator-min-microvolt = <2200000>; 848c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 858c2ecf20Sopenharmony_ci regulator-ramp-delay = <0>; 868c2ecf20Sopenharmony_ci regulator-always-on; 878c2ecf20Sopenharmony_ci regulator-boot-on; 888c2ecf20Sopenharmony_ci }; 898c2ecf20Sopenharmony_ci }; 90