1d57287b4SSean WangMediaTek MT6380 Regulator 2d57287b4SSean Wang 3d57287b4SSean WangAll voltage regulators provided by the MT6380 PMIC are described as the 4d57287b4SSean Wangsubnodes of the MT6380 regulators node. Each regulator is named according 5d57287b4SSean Wangto its regulator type, buck-<name> and ldo-<name>. The definition for each 6d57287b4SSean Wangof these nodes is defined using the standard binding for regulators at 7d57287b4SSean WangDocumentation/devicetree/bindings/regulator/regulator.txt. 8d57287b4SSean Wang 9d57287b4SSean WangThe valid names for regulators are: 10d57287b4SSean WangBUCK: 11d57287b4SSean Wang buck-core1, buck-vcore, buck-vrf 12d57287b4SSean WangLDO: 13d57287b4SSean Wang ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt 14d57287b4SSean Wang 15d57287b4SSean WangExample: 16d57287b4SSean Wang 17d57287b4SSean Wang regulators { 18d57287b4SSean Wang compatible = "mediatek,mt6380-regulator"; 19d57287b4SSean Wang 20d57287b4SSean Wang mt6380_vcpu_reg: buck-vcore1 { 21d57287b4SSean Wang regulator-name = "vcore1"; 22d57287b4SSean Wang regulator-min-microvolt = < 600000>; 23d57287b4SSean Wang regulator-max-microvolt = <1393750>; 24d57287b4SSean Wang regulator-ramp-delay = <6250>; 25d57287b4SSean Wang regulator-always-on; 26d57287b4SSean Wang regulator-boot-on; 27d57287b4SSean Wang }; 28d57287b4SSean Wang 29d57287b4SSean Wang mt6380_vcore_reg: buck-vcore { 30d57287b4SSean Wang regulator-name = "vcore"; 31d57287b4SSean Wang regulator-min-microvolt = <600000>; 32d57287b4SSean Wang regulator-max-microvolt = <1393750>; 33d57287b4SSean Wang regulator-ramp-delay = <6250>; 34d57287b4SSean Wang }; 35d57287b4SSean Wang 36d57287b4SSean Wang mt6380_vrf_reg: buck-vrf { 37d57287b4SSean Wang regulator-name = "vrf"; 38d57287b4SSean Wang regulator-min-microvolt = <1200000>; 39d57287b4SSean Wang regulator-max-microvolt = <1575000>; 40d57287b4SSean Wang regulator-ramp-delay = <0>; 41d57287b4SSean Wang regulator-always-on; 42d57287b4SSean Wang regulator-boot-on; 43d57287b4SSean Wang }; 44d57287b4SSean Wang 45d57287b4SSean Wang mt6380_vm_reg: ldo-vm { 46d57287b4SSean Wang regulator-name = "vm"; 47d57287b4SSean Wang regulator-min-microvolt = <1050000>; 48d57287b4SSean Wang regulator-max-microvolt = <1400000>; 49d57287b4SSean Wang regulator-ramp-delay = <0>; 50d57287b4SSean Wang regulator-always-on; 51d57287b4SSean Wang regulator-boot-on; 52d57287b4SSean Wang }; 53d57287b4SSean Wang 54d57287b4SSean Wang mt6380_va_reg: ldo-va { 55d57287b4SSean Wang regulator-name = "va"; 56d57287b4SSean Wang regulator-min-microvolt = <2200000>; 57d57287b4SSean Wang regulator-max-microvolt = <3300000>; 58d57287b4SSean Wang regulator-ramp-delay = <0>; 59d57287b4SSean Wang regulator-always-on; 60d57287b4SSean Wang regulator-boot-on; 61d57287b4SSean Wang }; 62d57287b4SSean Wang 63d57287b4SSean Wang mt6380_vphy_reg: ldo-vphy { 64d57287b4SSean Wang regulator-name = "vphy"; 65d57287b4SSean Wang regulator-min-microvolt = <1800000>; 66d57287b4SSean Wang regulator-max-microvolt = <1800000>; 67d57287b4SSean Wang regulator-ramp-delay = <0>; 68d57287b4SSean Wang regulator-always-on; 69d57287b4SSean Wang regulator-boot-on; 70d57287b4SSean Wang }; 71d57287b4SSean Wang 72d57287b4SSean Wang mt6380_vddr_reg: ldo-vddr { 73d57287b4SSean Wang regulator-name = "vddr"; 74d57287b4SSean Wang regulator-min-microvolt = <1240000>; 75d57287b4SSean Wang regulator-max-microvolt = <1840000>; 76d57287b4SSean Wang regulator-ramp-delay = <0>; 77d57287b4SSean Wang regulator-always-on; 78d57287b4SSean Wang regulator-boot-on; 79d57287b4SSean Wang }; 80d57287b4SSean Wang 81d57287b4SSean Wang mt6380_vt_reg: ldo-vt { 82d57287b4SSean Wang regulator-name = "vt"; 83d57287b4SSean Wang regulator-min-microvolt = <2200000>; 84d57287b4SSean Wang regulator-max-microvolt = <3300000>; 85d57287b4SSean Wang regulator-ramp-delay = <0>; 86d57287b4SSean Wang regulator-always-on; 87d57287b4SSean Wang regulator-boot-on; 88d57287b4SSean Wang }; 89d57287b4SSean Wang }; 90