Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / tps62360-regulator.txt
blob1b20c3dbcdb89485afc1ff9f1c116d7c72127b7e
1 TPS62360 Voltage regulators
3 Required properties:
4 - compatible: Must be one of the following.
5         "ti,tps62360"
6         "ti,tps62361",
7         "ti,tps62362",
8         "ti,tps62363",
9 - reg: I2C slave address
11 Optional properties:
12 - ti,enable-vout-discharge: Enable output discharge. This is boolean value.
13 - ti,enable-pull-down: Enable pull down. This is boolean value.
14 - ti,vsel0-gpio: GPIO for controlling VSEL0 line.
15   If this property is missing, then assume that there is no GPIO
16   for vsel0 control.
17 - ti,vsel1-gpio: Gpio for controlling VSEL1 line.
18   If this property is missing, then assume that there is no GPIO
19   for vsel1 control.
20 - ti,vsel0-state-high: Initial state of vsel0 input is high.
21   If this property is missing, then assume the state as low (0).
22 - ti,vsel1-state-high: Initial state of vsel1 input is high.
23   If this property is missing, then assume the state as low (0).
25 Any property defined as part of the core regulator binding, defined in
26 regulator.txt, can also be used.
28 Example:
30         abc: tps62360 {
31                 compatible = "ti,tps62361";
32                 reg =  <0x60>;
33                 regulator-name = "tps62361-vout";
34                 regulator-min-microvolt = <500000>;
35                 regulator-max-microvolt = <1500000>;
36                 regulator-boot-on
37                 ti,vsel0-gpio = <&gpio1 16 0>;
38                 ti,vsel1-gpio = <&gpio1 17 0>;
39                 ti,vsel0-state-high;
40                 ti,vsel1-state-high;
41                 ti,enable-pull-down;
42                 ti,enable-force-pwm;
43                 ti,enable-vout-discharge;
44         };