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