xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/regulator/tps65090.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS65090 regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "ti,tps65090"
5*4882a593Smuzhiyun- reg: I2C slave address
6*4882a593Smuzhiyun- interrupts: the interrupt outputs of the controller
7*4882a593Smuzhiyun- regulators: A node that houses a sub-node for each regulator within the
8*4882a593Smuzhiyun  device. Each sub-node is identified using the node's name, with valid
9*4882a593Smuzhiyun  values listed below. The content of each sub-node is defined by the
10*4882a593Smuzhiyun  standard binding for regulators; see regulator.txt.
11*4882a593Smuzhiyun  dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12*4882a593Smuzhiyun- vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13*4882a593Smuzhiyun- infet[1-7]-supply: The input supply for FET[1-7] respectively.
14*4882a593Smuzhiyun- vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOptional properties:
17*4882a593Smuzhiyun- ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
18*4882a593Smuzhiyun  If DCDCs are externally controlled then this property should be there.
19*4882a593Smuzhiyun- "dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
20*4882a593Smuzhiyun  If DCDCs are externally controlled and if it is from GPIO then GPIO
21*4882a593Smuzhiyun  number should be provided. If it is externally controlled and no GPIO
22*4882a593Smuzhiyun  entry then driver will just configure this rails as external control
23*4882a593Smuzhiyun  and will not provide any enable/disable APIs.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators.
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunExample:
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	tps65090@48 {
30*4882a593Smuzhiyun		compatible = "ti,tps65090";
31*4882a593Smuzhiyun		reg = <0x48>;
32*4882a593Smuzhiyun		interrupts = <0 88 0x4>;
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun		vsys1-supply = <&some_reg>;
35*4882a593Smuzhiyun		vsys2-supply = <&some_reg>;
36*4882a593Smuzhiyun		vsys3-supply = <&some_reg>;
37*4882a593Smuzhiyun		infet1-supply = <&some_reg>;
38*4882a593Smuzhiyun		infet2-supply = <&some_reg>;
39*4882a593Smuzhiyun		infet3-supply = <&some_reg>;
40*4882a593Smuzhiyun		infet4-supply = <&some_reg>;
41*4882a593Smuzhiyun		infet5-supply = <&some_reg>;
42*4882a593Smuzhiyun		infet6-supply = <&some_reg>;
43*4882a593Smuzhiyun		infet7-supply = <&some_reg>;
44*4882a593Smuzhiyun		vsys_l1-supply = <&some_reg>;
45*4882a593Smuzhiyun		vsys_l2-supply = <&some_reg>;
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun		regulators {
48*4882a593Smuzhiyun			dcdc1 {
49*4882a593Smuzhiyun				regulator-name = "dcdc1";
50*4882a593Smuzhiyun				regulator-boot-on;
51*4882a593Smuzhiyun				regulator-always-on;
52*4882a593Smuzhiyun				ti,enable-ext-control;
53*4882a593Smuzhiyun				dcdc-ext-control-gpios = <&gpio 10 0>;
54*4882a593Smuzhiyun			};
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun			dcdc2 {
57*4882a593Smuzhiyun				regulator-name = "dcdc2";
58*4882a593Smuzhiyun				regulator-boot-on;
59*4882a593Smuzhiyun				regulator-always-on;
60*4882a593Smuzhiyun			};
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun			dcdc3 {
63*4882a593Smuzhiyun				regulator-name = "dcdc3";
64*4882a593Smuzhiyun				regulator-boot-on;
65*4882a593Smuzhiyun				regulator-always-on;
66*4882a593Smuzhiyun			};
67*4882a593Smuzhiyun
68*4882a593Smuzhiyun			fet1 {
69*4882a593Smuzhiyun				regulator-name = "fet1";
70*4882a593Smuzhiyun				regulator-boot-on;
71*4882a593Smuzhiyun				regulator-always-on;
72*4882a593Smuzhiyun			};
73*4882a593Smuzhiyun
74*4882a593Smuzhiyun			fet2 {
75*4882a593Smuzhiyun				regulator-name = "fet2";
76*4882a593Smuzhiyun				regulator-boot-on;
77*4882a593Smuzhiyun				regulator-always-on;
78*4882a593Smuzhiyun			};
79*4882a593Smuzhiyun
80*4882a593Smuzhiyun			fet3 {
81*4882a593Smuzhiyun				regulator-name = "fet3";
82*4882a593Smuzhiyun				regulator-boot-on;
83*4882a593Smuzhiyun				regulator-always-on;
84*4882a593Smuzhiyun			};
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun			fet4 {
87*4882a593Smuzhiyun				regulator-name = "fet4";
88*4882a593Smuzhiyun				regulator-boot-on;
89*4882a593Smuzhiyun				regulator-always-on;
90*4882a593Smuzhiyun			};
91*4882a593Smuzhiyun
92*4882a593Smuzhiyun			fet5 {
93*4882a593Smuzhiyun				regulator-name = "fet5";
94*4882a593Smuzhiyun				regulator-boot-on;
95*4882a593Smuzhiyun				regulator-always-on;
96*4882a593Smuzhiyun			};
97*4882a593Smuzhiyun
98*4882a593Smuzhiyun			fet6 {
99*4882a593Smuzhiyun				regulator-name = "fet6";
100*4882a593Smuzhiyun				regulator-boot-on;
101*4882a593Smuzhiyun				regulator-always-on;
102*4882a593Smuzhiyun			};
103*4882a593Smuzhiyun
104*4882a593Smuzhiyun			fet7 {
105*4882a593Smuzhiyun				regulator-name = "fet7";
106*4882a593Smuzhiyun				regulator-boot-on;
107*4882a593Smuzhiyun				regulator-always-on;
108*4882a593Smuzhiyun			};
109*4882a593Smuzhiyun
110*4882a593Smuzhiyun			ldo1 {
111*4882a593Smuzhiyun				regulator-name = "ldo1";
112*4882a593Smuzhiyun				regulator-boot-on;
113*4882a593Smuzhiyun				regulator-always-on;
114*4882a593Smuzhiyun			};
115*4882a593Smuzhiyun
116*4882a593Smuzhiyun			ldo2 {
117*4882a593Smuzhiyun				regulator-name = "ldo2";
118*4882a593Smuzhiyun				regulator-boot-on;
119*4882a593Smuzhiyun				regulator-always-on;
120*4882a593Smuzhiyun			};
121*4882a593Smuzhiyun		};
122*4882a593Smuzhiyun	};
123