xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/tps65217.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS65217 family of regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "ti,tps65217"
5*4882a593Smuzhiyun- reg: I2C slave address
6*4882a593Smuzhiyun- regulators: list of regulators provided by this controller, must be named
7*4882a593Smuzhiyun  after their hardware counterparts: dcdc[1-3] and ldo[1-4]
8*4882a593Smuzhiyun- regulators: This is the list of child nodes that specify the regulator
9*4882a593Smuzhiyun  initialization data for defined regulators. Not all regulators for the given
10*4882a593Smuzhiyun  device need to be present. The definition for each of these nodes is defined
11*4882a593Smuzhiyun  using the standard binding for regulators found at
12*4882a593Smuzhiyun  Documentation/devicetree/bindings/regulator/regulator.txt.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun- ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun  The valid names for regulators are:
18*4882a593Smuzhiyun  tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunExample:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	tps: tps@24 {
25*4882a593Smuzhiyun		compatible = "ti,tps65217";
26*4882a593Smuzhiyun		ti,pmic-shutdown-controller;
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun		regulators {
29*4882a593Smuzhiyun			dcdc1_reg: dcdc1 {
30*4882a593Smuzhiyun				regulator-min-microvolt = <900000>;
31*4882a593Smuzhiyun				regulator-max-microvolt = <1800000>;
32*4882a593Smuzhiyun				regulator-boot-on;
33*4882a593Smuzhiyun				regulator-always-on;
34*4882a593Smuzhiyun			};
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun			dcdc2_reg: dcdc2 {
37*4882a593Smuzhiyun				regulator-min-microvolt = <900000>;
38*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
39*4882a593Smuzhiyun				regulator-boot-on;
40*4882a593Smuzhiyun				regulator-always-on;
41*4882a593Smuzhiyun			};
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun			dcdc3_reg: dcc3 {
44*4882a593Smuzhiyun				regulator-min-microvolt = <900000>;
45*4882a593Smuzhiyun				regulator-max-microvolt = <1500000>;
46*4882a593Smuzhiyun				regulator-boot-on;
47*4882a593Smuzhiyun				regulator-always-on;
48*4882a593Smuzhiyun			};
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun			ldo1_reg: ldo1 {
51*4882a593Smuzhiyun				regulator-min-microvolt = <1000000>;
52*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
53*4882a593Smuzhiyun				regulator-boot-on;
54*4882a593Smuzhiyun				regulator-always-on;
55*4882a593Smuzhiyun			};
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun			ldo2_reg: ldo2 {
58*4882a593Smuzhiyun				regulator-min-microvolt = <900000>;
59*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
60*4882a593Smuzhiyun				regulator-boot-on;
61*4882a593Smuzhiyun				regulator-always-on;
62*4882a593Smuzhiyun			};
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun			ldo3_reg: ldo3 {
65*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
66*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
67*4882a593Smuzhiyun				regulator-boot-on;
68*4882a593Smuzhiyun				regulator-always-on;
69*4882a593Smuzhiyun			};
70*4882a593Smuzhiyun
71*4882a593Smuzhiyun			ldo4_reg: ldo4 {
72*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
73*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
74*4882a593Smuzhiyun				regulator-boot-on;
75*4882a593Smuzhiyun				regulator-always-on;
76*4882a593Smuzhiyun			};
77*4882a593Smuzhiyun		};
78*4882a593Smuzhiyun	};
79