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