1*c66ec88fSEmmanuel VadotTPS65132 regulators
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "ti,tps65132"
5*c66ec88fSEmmanuel Vadot- reg: I2C slave address
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotOptional Subnode:
8*c66ec88fSEmmanuel VadotDevice supports two regulators OUTP and OUTN. A sub node within the
9*c66ec88fSEmmanuel Vadot   device node describe the properties of these regulators. The sub-node
10*c66ec88fSEmmanuel Vadot   names must be as follows:
11*c66ec88fSEmmanuel Vadot	-For regulator outp, the sub node name should be "outp".
12*c66ec88fSEmmanuel Vadot	-For regulator outn, the sub node name should be "outn".
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot-enable-gpios:(active high, output) Regulators are controlled by the input pins.
15*c66ec88fSEmmanuel Vadot   If it is connected to GPIO through host system then provide the
16*c66ec88fSEmmanuel Vadot   gpio number as per gpio.txt.
17*c66ec88fSEmmanuel Vadot-active-discharge-gpios: (active high, output) Some configurations use delay mechanisms
18*c66ec88fSEmmanuel Vadot  on the enable pin, to keep the regulator enabled for some time after
19*c66ec88fSEmmanuel Vadot  the enable signal goes low. This GPIO is used to actively discharge
20*c66ec88fSEmmanuel Vadot  the delay mechanism. Requires specification of ti,active-discharge-time-us
21*c66ec88fSEmmanuel Vadot-ti,active-discharge-time-us: how long the active discharge gpio should be
22*c66ec88fSEmmanuel Vadot  asserted for during active discharge, in microseconds.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotEach regulator is defined using the standard binding for regulators.
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExample:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	tps65132@3e {
29*c66ec88fSEmmanuel Vadot		compatible = "ti,tps65132";
30*c66ec88fSEmmanuel Vadot		reg = <0x3e>;
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot		outp {
33*c66ec88fSEmmanuel Vadot			regulator-name = "outp";
34*c66ec88fSEmmanuel Vadot			regulator-boot-on;
35*c66ec88fSEmmanuel Vadot			regulator-always-on;
36*c66ec88fSEmmanuel Vadot			enable-gpios = <&gpio 23 0>;
37*c66ec88fSEmmanuel Vadot		};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot		outn {
40*c66ec88fSEmmanuel Vadot			regulator-name = "outn";
41*c66ec88fSEmmanuel Vadot			regulator-boot-on;
42*c66ec88fSEmmanuel Vadot			regulator-always-on;
43*c66ec88fSEmmanuel Vadot			regulator-active-discharge = <0>;
44*c66ec88fSEmmanuel Vadot			enable-gpios = <&gpio 40 0>;
45*c66ec88fSEmmanuel Vadot		};
46*c66ec88fSEmmanuel Vadot	};
47