Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | TPS65217 family of regulators |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "ti,tps65217" |
| 5 | - reg: I2C slave address |
| 6 | - regulators: list of regulators provided by this controller, must be named |
| 7 | after their hardware counterparts: dcdc[1-3] and ldo[1-4] |
| 8 | - regulators: This is the list of child nodes that specify the regulator |
| 9 | initialization data for defined regulators. Not all regulators for the given |
| 10 | device need to be present. The definition for each of these nodes is defined |
| 11 | using the standard binding for regulators found at |
| 12 | Documentation/devicetree/bindings/regulator/regulator.txt. |
| 13 | |
| 14 | Optional properties: |
| 15 | - ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle. |
| 16 | |
| 17 | The valid names for regulators are: |
| 18 | tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4 |
| 19 | |
| 20 | Each regulator is defined using the standard binding for regulators. |
| 21 | |
| 22 | Example: |
| 23 | |
| 24 | tps: tps@24 { |
| 25 | compatible = "ti,tps65217"; |
| 26 | ti,pmic-shutdown-controller; |
| 27 | |
| 28 | regulators { |
| 29 | dcdc1_reg: dcdc1 { |
| 30 | regulator-min-microvolt = <900000>; |
| 31 | regulator-max-microvolt = <1800000>; |
| 32 | regulator-boot-on; |
| 33 | regulator-always-on; |
| 34 | }; |
| 35 | |
| 36 | dcdc2_reg: dcdc2 { |
| 37 | regulator-min-microvolt = <900000>; |
| 38 | regulator-max-microvolt = <3300000>; |
| 39 | regulator-boot-on; |
| 40 | regulator-always-on; |
| 41 | }; |
| 42 | |
| 43 | dcdc3_reg: dcc3 { |
| 44 | regulator-min-microvolt = <900000>; |
| 45 | regulator-max-microvolt = <1500000>; |
| 46 | regulator-boot-on; |
| 47 | regulator-always-on; |
| 48 | }; |
| 49 | |
| 50 | ldo1_reg: ldo1 { |
| 51 | regulator-min-microvolt = <1000000>; |
| 52 | regulator-max-microvolt = <3300000>; |
| 53 | regulator-boot-on; |
| 54 | regulator-always-on; |
| 55 | }; |
| 56 | |
| 57 | ldo2_reg: ldo2 { |
| 58 | regulator-min-microvolt = <900000>; |
| 59 | regulator-max-microvolt = <3300000>; |
| 60 | regulator-boot-on; |
| 61 | regulator-always-on; |
| 62 | }; |
| 63 | |
| 64 | ldo3_reg: ldo3 { |
| 65 | regulator-min-microvolt = <1800000>; |
| 66 | regulator-max-microvolt = <3300000>; |
| 67 | regulator-boot-on; |
| 68 | regulator-always-on; |
| 69 | }; |
| 70 | |
| 71 | ldo4_reg: ldo4 { |
| 72 | regulator-min-microvolt = <1800000>; |
| 73 | regulator-max-microvolt = <3300000>; |
| 74 | regulator-boot-on; |
| 75 | regulator-always-on; |
| 76 | }; |
| 77 | }; |
| 78 | }; |