Commit | Line | Data |
---|---|---|
a7f1b63e AC |
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 | ||
eb433dad CFP |
14 | Optional properties: |
15 | - ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle. | |
16 | ||
a7f1b63e AC |
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"; | |
eb433dad | 26 | ti,pmic-shutdown-controller; |
a7f1b63e AC |
27 | |
28 | regulators { | |
69760cb4 | 29 | dcdc1_reg: dcdc1 { |
a7f1b63e AC |
30 | regulator-min-microvolt = <900000>; |
31 | regulator-max-microvolt = <1800000>; | |
32 | regulator-boot-on; | |
33 | regulator-always-on; | |
34 | }; | |
35 | ||
69760cb4 | 36 | dcdc2_reg: dcdc2 { |
a7f1b63e AC |
37 | regulator-min-microvolt = <900000>; |
38 | regulator-max-microvolt = <3300000>; | |
39 | regulator-boot-on; | |
40 | regulator-always-on; | |
41 | }; | |
42 | ||
69760cb4 | 43 | dcdc3_reg: dcc3 { |
a7f1b63e AC |
44 | regulator-min-microvolt = <900000>; |
45 | regulator-max-microvolt = <1500000>; | |
46 | regulator-boot-on; | |
47 | regulator-always-on; | |
48 | }; | |
49 | ||
69760cb4 | 50 | ldo1_reg: ldo1 { |
a7f1b63e AC |
51 | regulator-min-microvolt = <1000000>; |
52 | regulator-max-microvolt = <3300000>; | |
53 | regulator-boot-on; | |
54 | regulator-always-on; | |
55 | }; | |
56 | ||
69760cb4 | 57 | ldo2_reg: ldo2 { |
a7f1b63e AC |
58 | regulator-min-microvolt = <900000>; |
59 | regulator-max-microvolt = <3300000>; | |
60 | regulator-boot-on; | |
61 | regulator-always-on; | |
62 | }; | |
63 | ||
69760cb4 | 64 | ldo3_reg: ldo3 { |
a7f1b63e AC |
65 | regulator-min-microvolt = <1800000>; |
66 | regulator-max-microvolt = <3300000>; | |
67 | regulator-boot-on; | |
68 | regulator-always-on; | |
69 | }; | |
70 | ||
69760cb4 | 71 | ldo4_reg: ldo4 { |
a7f1b63e AC |
72 | regulator-min-microvolt = <1800000>; |
73 | regulator-max-microvolt = <3300000>; | |
74 | regulator-boot-on; | |
75 | regulator-always-on; | |
76 | }; | |
77 | }; | |
78 | }; |