xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/tps6586x.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS6586x family of regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "ti,tps6586x"
5*4882a593Smuzhiyun- reg: I2C slave address
6*4882a593Smuzhiyun- interrupts: the interrupt outputs of the controller
7*4882a593Smuzhiyun- #gpio-cells: number of cells to describe a GPIO
8*4882a593Smuzhiyun- gpio-controller: mark the device as a GPIO controller
9*4882a593Smuzhiyun- regulators: A node that houses a sub-node for each regulator within the
10*4882a593Smuzhiyun  device. Each sub-node is identified using the node's name (or the deprecated
11*4882a593Smuzhiyun  regulator-compatible property if present), with valid values listed below.
12*4882a593Smuzhiyun  The content of each sub-node is defined by the standard binding for
13*4882a593Smuzhiyun  regulators; see regulator.txt.
14*4882a593Smuzhiyun  sys, sm[0-2], ldo[0-9] and ldo_rtc
15*4882a593Smuzhiyun- sys-supply: The input supply for SYS.
16*4882a593Smuzhiyun- vin-sm0-supply: The input supply for the SM0.
17*4882a593Smuzhiyun- vin-sm1-supply: The input supply for the SM1.
18*4882a593Smuzhiyun- vin-sm2-supply: The input supply for the SM2.
19*4882a593Smuzhiyun- vinldo01-supply: The input supply for the LDO1 and LDO2
20*4882a593Smuzhiyun- vinldo23-supply: The input supply for the LDO2 and LDO3
21*4882a593Smuzhiyun- vinldo4-supply: The input supply for the LDO4
22*4882a593Smuzhiyun- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
23*4882a593Smuzhiyun- vinldo9-supply: The input supply for the LDO9
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunOptional properties:
26*4882a593Smuzhiyun- ti,system-power-controller: Telling whether or not this pmic is controlling
27*4882a593Smuzhiyun  the system power.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators.
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunNote: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
32*4882a593Smuzhiyun      take care of making proper parent child relationship.
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunExample:
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	pmu: tps6586x@34 {
37*4882a593Smuzhiyun		compatible = "ti,tps6586x";
38*4882a593Smuzhiyun		reg = <0x34>;
39*4882a593Smuzhiyun		interrupts = <0 88 0x4>;
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun		#gpio-cells = <2>;
42*4882a593Smuzhiyun		gpio-controller;
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun		ti,system-power-controller;
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun		sys-supply = <&some_reg>;
47*4882a593Smuzhiyun		vin-sm0-supply = <&some_reg>;
48*4882a593Smuzhiyun		vin-sm1-supply = <&some_reg>;
49*4882a593Smuzhiyun		vin-sm2-supply = <&some_reg>;
50*4882a593Smuzhiyun		vinldo01-supply = <...>;
51*4882a593Smuzhiyun		vinldo23-supply = <...>;
52*4882a593Smuzhiyun		vinldo4-supply = <...>;
53*4882a593Smuzhiyun		vinldo678-supply = <...>;
54*4882a593Smuzhiyun		vinldo9-supply = <...>;
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun		regulators {
57*4882a593Smuzhiyun			sys_reg: sys {
58*4882a593Smuzhiyun				regulator-name = "vdd_sys";
59*4882a593Smuzhiyun				regulator-boot-on;
60*4882a593Smuzhiyun				regulator-always-on;
61*4882a593Smuzhiyun			};
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun			sm0_reg: sm0 {
64*4882a593Smuzhiyun				regulator-min-microvolt = < 725000>;
65*4882a593Smuzhiyun				regulator-max-microvolt = <1500000>;
66*4882a593Smuzhiyun				regulator-boot-on;
67*4882a593Smuzhiyun				regulator-always-on;
68*4882a593Smuzhiyun			};
69*4882a593Smuzhiyun
70*4882a593Smuzhiyun			sm1_reg: sm1 {
71*4882a593Smuzhiyun				regulator-min-microvolt = < 725000>;
72*4882a593Smuzhiyun				regulator-max-microvolt = <1500000>;
73*4882a593Smuzhiyun				regulator-boot-on;
74*4882a593Smuzhiyun				regulator-always-on;
75*4882a593Smuzhiyun			};
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun			sm2_reg: sm2 {
78*4882a593Smuzhiyun				regulator-min-microvolt = <3000000>;
79*4882a593Smuzhiyun				regulator-max-microvolt = <4550000>;
80*4882a593Smuzhiyun				regulator-boot-on;
81*4882a593Smuzhiyun				regulator-always-on;
82*4882a593Smuzhiyun			};
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun			ldo0_reg: ldo0 {
85*4882a593Smuzhiyun				regulator-name = "PCIE CLK";
86*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
87*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
88*4882a593Smuzhiyun			};
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun			ldo1_reg: ldo1 {
91*4882a593Smuzhiyun				regulator-min-microvolt = < 725000>;
92*4882a593Smuzhiyun				regulator-max-microvolt = <1500000>;
93*4882a593Smuzhiyun			};
94*4882a593Smuzhiyun
95*4882a593Smuzhiyun			ldo2_reg: ldo2 {
96*4882a593Smuzhiyun				regulator-min-microvolt = < 725000>;
97*4882a593Smuzhiyun				regulator-max-microvolt = <1500000>;
98*4882a593Smuzhiyun			};
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun			ldo3_reg: ldo3 {
101*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
102*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
103*4882a593Smuzhiyun			};
104*4882a593Smuzhiyun
105*4882a593Smuzhiyun			ldo4_reg: ldo4 {
106*4882a593Smuzhiyun				regulator-min-microvolt = <1700000>;
107*4882a593Smuzhiyun				regulator-max-microvolt = <2475000>;
108*4882a593Smuzhiyun			};
109*4882a593Smuzhiyun
110*4882a593Smuzhiyun			ldo5_reg: ldo5 {
111*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
112*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
113*4882a593Smuzhiyun			};
114*4882a593Smuzhiyun
115*4882a593Smuzhiyun			ldo6_reg: ldo6 {
116*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
117*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
118*4882a593Smuzhiyun			};
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun			ldo7_reg: ldo7 {
121*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
122*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
123*4882a593Smuzhiyun			};
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun			ldo8_reg: ldo8 {
126*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
127*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
128*4882a593Smuzhiyun			};
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun			ldo9_reg: ldo9 {
131*4882a593Smuzhiyun				regulator-min-microvolt = <1250000>;
132*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
133*4882a593Smuzhiyun			};
134*4882a593Smuzhiyun		};
135*4882a593Smuzhiyun	};
136