Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | TPS65218 family of regulators |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "ti,tps65218" |
| 5 | - reg: I2C slave address |
| 6 | |
| 7 | - List of regulators provided by this controller, must be named |
| 8 | after their hardware counterparts: dcdc[1-6] and ldo1 |
| 9 | - This is the list of child nodes that specify the regulator |
| 10 | initialization data for defined regulators. Not all regulators for the given |
| 11 | device need to be present. The definition for each of these nodes is defined |
| 12 | using the standard binding for regulators found at ./regulator.txt. |
| 13 | |
| 14 | The valid names for regulators are: |
| 15 | tps65217: regulator-dcdc1, regulator-dcdc2, regulator-dcdc3, regulator-dcdc4, |
| 16 | regulator-dcdc5, regulator-dcdc6, regulator-ldo1, regulator-ls3. |
| 17 | Each regulator is defined using the standard binding for regulators. |
| 18 | |
| 19 | Example: |
| 20 | tps65218: tps65218@24 { |
| 21 | reg = <0x24>; |
| 22 | compatible = "ti,tps65218"; |
| 23 | interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */ |
| 24 | interrupt-controller; |
| 25 | #interrupt-cells = <2>; |
| 26 | |
| 27 | dcdc1: regulator-dcdc1 { |
| 28 | regulator-name = "vdd_core"; |
| 29 | regulator-min-microvolt = <912000>; |
| 30 | regulator-max-microvolt = <1144000>; |
| 31 | regulator-boot-on; |
| 32 | regulator-always-on; |
| 33 | }; |
| 34 | |
| 35 | dcdc2: regulator-dcdc2 { |
| 36 | regulator-name = "vdd_mpu"; |
| 37 | regulator-min-microvolt = <912000>; |
| 38 | regulator-max-microvolt = <1378000>; |
| 39 | regulator-boot-on; |
| 40 | regulator-always-on; |
| 41 | }; |
| 42 | |
| 43 | dcdc3: regulator-dcdc3 { |
| 44 | regulator-name = "vdcdc3"; |
| 45 | regulator-min-microvolt = <1500000>; |
| 46 | regulator-max-microvolt = <1500000>; |
| 47 | regulator-boot-on; |
| 48 | regulator-always-on; |
| 49 | }; |
| 50 | |
| 51 | dcdc5: regulator-dcdc5 { |
| 52 | regulator-name = "v1_0bat"; |
| 53 | regulator-min-microvolt = <1000000>; |
| 54 | regulator-max-microvolt = <1000000>; |
| 55 | regulator-boot-on; |
| 56 | regulator-always-on; |
| 57 | }; |
| 58 | |
| 59 | dcdc6: regulator-dcdc6 { |
| 60 | regulator-name = "v1_8bat"; |
| 61 | regulator-min-microvolt = <1800000>; |
| 62 | regulator-max-microvolt = <1800000>; |
| 63 | regulator-boot-on; |
| 64 | regulator-always-on; |
| 65 | }; |
| 66 | |
| 67 | ldo1: regulator-ldo1 { |
| 68 | regulator-min-microvolt = <1800000>; |
| 69 | regulator-max-microvolt = <1800000>; |
| 70 | regulator-boot-on; |
| 71 | regulator-always-on; |
| 72 | }; |
| 73 | |
| 74 | ls2: regulator-ls2 { |
| 75 | regulator-min-microamp = <100000>; |
| 76 | regulator-max-microamp = <1000000>; |
| 77 | }; |
| 78 | |
| 79 | ls3: regulator-ls3 { |
| 80 | regulator-min-microamp = <100000>; |
| 81 | regulator-max-microamp = <1000000>; |
| 82 | }; |
| 83 | }; |