Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / tps65090.txt
blobae326f26359740bce4fe7ac119288447649b6429
1 TPS65090 regulators
3 Required properties:
4 - compatible: "ti,tps65090"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8   device. Each sub-node is identified using the node's name, with valid
9   values listed below. The content of each sub-node is defined by the
10   standard binding for regulators; see regulator.txt.
11   dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13 - infet[1-7]-supply: The input supply for FET[1-7] respectively.
14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
16 Optional properties:
17 - ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
18   If DCDCs are externally controlled then this property should be there.
19 - dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
20   If DCDCs are externally controlled and if it is from GPIO then GPIO
21   number should be provided. If it is externally controlled and no GPIO
22   entry then driver will just configure this rails as external control
23   and will not provide any enable/disable APIs.
24 - ti,overcurrent-wait: This is applicable to FET registers, which have a
25   poorly defined "overcurrent wait" field.  If this property is present it
26   should be between 0 - 3.  If this property isn't present we won't touch the
27   "overcurrent wait" field and we'll leave it to the BIOS/EC to deal with.
29 Each regulator is defined using the standard binding for regulators.
31 Example:
33         tps65090@48 {
34                 compatible = "ti,tps65090";
35                 reg = <0x48>;
36                 interrupts = <0 88 0x4>;
38                 vsys1-supply = <&some_reg>;
39                 vsys2-supply = <&some_reg>;
40                 vsys3-supply = <&some_reg>;
41                 infet1-supply = <&some_reg>;
42                 infet2-supply = <&some_reg>;
43                 infet3-supply = <&some_reg>;
44                 infet4-supply = <&some_reg>;
45                 infet5-supply = <&some_reg>;
46                 infet6-supply = <&some_reg>;
47                 infet7-supply = <&some_reg>;
48                 vsys-l1-supply = <&some_reg>;
49                 vsys-l2-supply = <&some_reg>;
51                 regulators {
52                         dcdc1 {
53                                 regulator-name = "dcdc1";
54                                 regulator-boot-on;
55                                 regulator-always-on;
56                                 ti,enable-ext-control;
57                                 dcdc-ext-control-gpios = <&gpio 10 0>;
58                         };
60                         dcdc2 {
61                                 regulator-name = "dcdc2";
62                                 regulator-boot-on;
63                                 regulator-always-on;
64                         };
66                         dcdc3 {
67                                 regulator-name = "dcdc3";
68                                 regulator-boot-on;
69                                 regulator-always-on;
70                         };
72                         fet1 {
73                                 regulator-name = "fet1";
74                                 regulator-boot-on;
75                                 regulator-always-on;
76                         };
78                         fet2 {
79                                 regulator-name = "fet2";
80                                 regulator-boot-on;
81                                 regulator-always-on;
82                         };
84                         fet3 {
85                                 regulator-name = "fet3";
86                                 regulator-boot-on;
87                                 regulator-always-on;
88                         };
90                         fet4 {
91                                 regulator-name = "fet4";
92                                 regulator-boot-on;
93                                 regulator-always-on;
94                         };
96                         fet5 {
97                                 regulator-name = "fet5";
98                                 regulator-boot-on;
99                                 regulator-always-on;
100                         };
102                         fet6 {
103                                 regulator-name = "fet6";
104                                 regulator-boot-on;
105                                 regulator-always-on;
106                         };
108                         fet7 {
109                                 regulator-name = "fet7";
110                                 regulator-boot-on;
111                                 regulator-always-on;
112                         };
114                         ldo1 {
115                                 regulator-name = "ldo1";
116                                 regulator-boot-on;
117                                 regulator-always-on;
118                         };
120                         ldo2 {
121                                 regulator-name = "ldo2";
122                                 regulator-boot-on;
123                                 regulator-always-on;
124                         };
125                 };
126         };