xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/tps65218.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS65218 family of regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "ti,tps65218"
5*4882a593Smuzhiyun- reg: I2C slave address
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun- List of regulators provided by this controller, must be named
8*4882a593Smuzhiyun  after their hardware counterparts: dcdc[1-6] and ldo1
9*4882a593Smuzhiyun- This is the list of child nodes that specify the regulator
10*4882a593Smuzhiyun  initialization data for defined regulators. Not all regulators for the given
11*4882a593Smuzhiyun  device need to be present. The definition for each of these nodes is defined
12*4882a593Smuzhiyun  using the standard binding for regulators found at ./regulator.txt.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun  The valid names for regulators are:
15*4882a593Smuzhiyun  tps65217: regulator-dcdc1, regulator-dcdc2, regulator-dcdc3, regulator-dcdc4,
16*4882a593Smuzhiyun  regulator-dcdc5, regulator-dcdc6, regulator-ldo1, regulator-ls3.
17*4882a593Smuzhiyun  Each regulator is defined using the standard binding for regulators.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyuntps65218: tps65218@24 {
21*4882a593Smuzhiyun	reg = <0x24>;
22*4882a593Smuzhiyun	compatible = "ti,tps65218";
23*4882a593Smuzhiyun	interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
24*4882a593Smuzhiyun	interrupt-controller;
25*4882a593Smuzhiyun	#interrupt-cells = <2>;
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	dcdc1: regulator-dcdc1 {
28*4882a593Smuzhiyun		regulator-name = "vdd_core";
29*4882a593Smuzhiyun		regulator-min-microvolt = <912000>;
30*4882a593Smuzhiyun		regulator-max-microvolt = <1144000>;
31*4882a593Smuzhiyun		regulator-boot-on;
32*4882a593Smuzhiyun		regulator-always-on;
33*4882a593Smuzhiyun	};
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun	dcdc2: regulator-dcdc2 {
36*4882a593Smuzhiyun		regulator-name = "vdd_mpu";
37*4882a593Smuzhiyun		regulator-min-microvolt = <912000>;
38*4882a593Smuzhiyun		regulator-max-microvolt = <1378000>;
39*4882a593Smuzhiyun		regulator-boot-on;
40*4882a593Smuzhiyun		regulator-always-on;
41*4882a593Smuzhiyun	};
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun	dcdc3: regulator-dcdc3 {
44*4882a593Smuzhiyun		regulator-name = "vdcdc3";
45*4882a593Smuzhiyun		regulator-min-microvolt = <1500000>;
46*4882a593Smuzhiyun		regulator-max-microvolt = <1500000>;
47*4882a593Smuzhiyun		regulator-boot-on;
48*4882a593Smuzhiyun		regulator-always-on;
49*4882a593Smuzhiyun	};
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun	dcdc5: regulator-dcdc5 {
52*4882a593Smuzhiyun		regulator-name = "v1_0bat";
53*4882a593Smuzhiyun		regulator-min-microvolt = <1000000>;
54*4882a593Smuzhiyun		regulator-max-microvolt = <1000000>;
55*4882a593Smuzhiyun		regulator-boot-on;
56*4882a593Smuzhiyun		regulator-always-on;
57*4882a593Smuzhiyun	};
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun	dcdc6: regulator-dcdc6 {
60*4882a593Smuzhiyun		regulator-name = "v1_8bat";
61*4882a593Smuzhiyun		regulator-min-microvolt = <1800000>;
62*4882a593Smuzhiyun		regulator-max-microvolt = <1800000>;
63*4882a593Smuzhiyun		regulator-boot-on;
64*4882a593Smuzhiyun		regulator-always-on;
65*4882a593Smuzhiyun	};
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun	ldo1: regulator-ldo1 {
68*4882a593Smuzhiyun		regulator-min-microvolt = <1800000>;
69*4882a593Smuzhiyun		regulator-max-microvolt = <1800000>;
70*4882a593Smuzhiyun		regulator-boot-on;
71*4882a593Smuzhiyun		regulator-always-on;
72*4882a593Smuzhiyun	};
73*4882a593Smuzhiyun
74*4882a593Smuzhiyun	ls2: regulator-ls2 {
75*4882a593Smuzhiyun		regulator-min-microamp = <100000>;
76*4882a593Smuzhiyun		regulator-max-microamp = <1000000>;
77*4882a593Smuzhiyun	};
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun	ls3: regulator-ls3 {
80*4882a593Smuzhiyun		regulator-min-microamp = <100000>;
81*4882a593Smuzhiyun		regulator-max-microamp = <1000000>;
82*4882a593Smuzhiyun	};
83*4882a593Smuzhiyun};
84