xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/tps62360-regulator.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS62360 Voltage regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Must be one of the following.
5*4882a593Smuzhiyun	"ti,tps62360"
6*4882a593Smuzhiyun	"ti,tps62361",
7*4882a593Smuzhiyun	"ti,tps62362",
8*4882a593Smuzhiyun	"ti,tps62363",
9*4882a593Smuzhiyun- reg: I2C slave address
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun- ti,enable-vout-discharge: Enable output discharge. This is boolean value.
13*4882a593Smuzhiyun- ti,enable-pull-down: Enable pull down. This is boolean value.
14*4882a593Smuzhiyun- ti,vsel0-gpio: GPIO for controlling VSEL0 line.
15*4882a593Smuzhiyun  If this property is missing, then assume that there is no GPIO
16*4882a593Smuzhiyun  for vsel0 control.
17*4882a593Smuzhiyun- ti,vsel1-gpio: Gpio for controlling VSEL1 line.
18*4882a593Smuzhiyun  If this property is missing, then assume that there is no GPIO
19*4882a593Smuzhiyun  for vsel1 control.
20*4882a593Smuzhiyun- ti,vsel0-state-high: Initial state of vsel0 input is high.
21*4882a593Smuzhiyun  If this property is missing, then assume the state as low (0).
22*4882a593Smuzhiyun- ti,vsel1-state-high: Initial state of vsel1 input is high.
23*4882a593Smuzhiyun  If this property is missing, then assume the state as low (0).
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunAny property defined as part of the core regulator binding, defined in
26*4882a593Smuzhiyunregulator.txt, can also be used.
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunExample:
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun	abc: tps62360 {
31*4882a593Smuzhiyun		compatible = "ti,tps62361";
32*4882a593Smuzhiyun		reg =  <0x60>;
33*4882a593Smuzhiyun		regulator-name = "tps62361-vout";
34*4882a593Smuzhiyun		regulator-min-microvolt = <500000>;
35*4882a593Smuzhiyun		regulator-max-microvolt = <1500000>;
36*4882a593Smuzhiyun		regulator-boot-on
37*4882a593Smuzhiyun		ti,vsel0-gpio = <&gpio1 16 0>;
38*4882a593Smuzhiyun		ti,vsel1-gpio = <&gpio1 17 0>;
39*4882a593Smuzhiyun		ti,vsel0-state-high;
40*4882a593Smuzhiyun		ti,vsel1-state-high;
41*4882a593Smuzhiyun		ti,enable-pull-down;
42*4882a593Smuzhiyun		ti,enable-force-pwm;
43*4882a593Smuzhiyun		ti,enable-vout-discharge;
44*4882a593Smuzhiyun	};
45