Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / Documentation / devicetree / bindings / regulator / tps62360-regulator.txt
blobc8ca6b8f6582264d1cf695c7e61e376678d99ae1
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: Inital state of vsel0 input is high.
21   If this property is missing, then assume the state as low (0).
22 - ti,vsel1-state-high: Inital 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         };