xref: /openbmc/linux/Documentation/devicetree/bindings/mfd/tps6507x.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*6116ad94SVishwanathrao Badarkhe, ManishTPS6507x Power Management Integrated Circuit
2*6116ad94SVishwanathrao Badarkhe, Manish
3*6116ad94SVishwanathrao Badarkhe, ManishRequired properties:
4*6116ad94SVishwanathrao Badarkhe, Manish- compatible: "ti,tps6507x"
5*6116ad94SVishwanathrao Badarkhe, Manish- reg: I2C slave address
6*6116ad94SVishwanathrao Badarkhe, Manish- regulators: This is the list of child nodes that specify the regulator
7*6116ad94SVishwanathrao Badarkhe, Manish  initialization data for defined regulators. Not all regulators for the
8*6116ad94SVishwanathrao Badarkhe, Manish  given device need to be present. The definition for each of these nodes
9*6116ad94SVishwanathrao Badarkhe, Manish  is defined using the standard binding for regulators found at
10*6116ad94SVishwanathrao Badarkhe, Manish  Documentation/devicetree/bindings/regulator/regulator.txt.
11*6116ad94SVishwanathrao Badarkhe, Manish  The regulator is matched with the regulator-compatible.
12*6116ad94SVishwanathrao Badarkhe, Manish
13*6116ad94SVishwanathrao Badarkhe, Manish  The valid regulator-compatible values are:
14*6116ad94SVishwanathrao Badarkhe, Manish  tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2
15*6116ad94SVishwanathrao Badarkhe, Manish- xxx-supply: Input voltage supply regulator.
16*6116ad94SVishwanathrao Badarkhe, Manish  These entries are required if regulators are enabled for a device.
17*6116ad94SVishwanathrao Badarkhe, Manish  Missing of these properties can cause the regulator registration
18*6116ad94SVishwanathrao Badarkhe, Manish  fails.
19*6116ad94SVishwanathrao Badarkhe, Manish  If some of input supply is powered through battery or always-on
20*6116ad94SVishwanathrao Badarkhe, Manish  supply then also it is require to have these parameters with proper
21*6116ad94SVishwanathrao Badarkhe, Manish  node handle of always on power supply.
22*6116ad94SVishwanathrao Badarkhe, Manish  tps6507x:
23*6116ad94SVishwanathrao Badarkhe, Manish       vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
24*6116ad94SVishwanathrao Badarkhe, Manish       vindcdc3-supply  : VDCDC3 input.
25*6116ad94SVishwanathrao Badarkhe, Manish       vldo1_2-supply   : VLDO1 and VLDO2 input.
26*6116ad94SVishwanathrao Badarkhe, Manish
27*6116ad94SVishwanathrao Badarkhe, ManishRegulator Optional properties:
28*6116ad94SVishwanathrao Badarkhe, Manish- defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
29*6116ad94SVishwanathrao Badarkhe, Manish			0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND.
30*6116ad94SVishwanathrao Badarkhe, Manish			1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
31*6116ad94SVishwanathrao Badarkhe, Manish  If this property is not defined, it defaults to 0 (not enabled).
32*6116ad94SVishwanathrao Badarkhe, Manish
33*6116ad94SVishwanathrao Badarkhe, ManishExample:
34*6116ad94SVishwanathrao Badarkhe, Manish
35*6116ad94SVishwanathrao Badarkhe, Manish	pmu: tps6507x@48 {
36*6116ad94SVishwanathrao Badarkhe, Manish		compatible = "ti,tps6507x";
37*6116ad94SVishwanathrao Badarkhe, Manish		reg = <0x48>;
38*6116ad94SVishwanathrao Badarkhe, Manish
39*6116ad94SVishwanathrao Badarkhe, Manish		vindcdc1_2-supply = <&vbat>;
40*6116ad94SVishwanathrao Badarkhe, Manish		vindcdc3-supply = <...>;
41*6116ad94SVishwanathrao Badarkhe, Manish		vinldo1_2-supply = <...>;
42*6116ad94SVishwanathrao Badarkhe, Manish
43*6116ad94SVishwanathrao Badarkhe, Manish		regulators {
44*6116ad94SVishwanathrao Badarkhe, Manish			#address-cells = <1>;
45*6116ad94SVishwanathrao Badarkhe, Manish			#size-cells = <0>;
46*6116ad94SVishwanathrao Badarkhe, Manish
47*6116ad94SVishwanathrao Badarkhe, Manish			vdcdc1_reg: regulator@0 {
48*6116ad94SVishwanathrao Badarkhe, Manish				regulator-compatible = "VDCDC1";
49*6116ad94SVishwanathrao Badarkhe, Manish				reg = <0>;
50*6116ad94SVishwanathrao Badarkhe, Manish				regulator-min-microvolt = <3150000>;
51*6116ad94SVishwanathrao Badarkhe, Manish				regulator-max-microvolt = <3450000>;
52*6116ad94SVishwanathrao Badarkhe, Manish				regulator-always-on;
53*6116ad94SVishwanathrao Badarkhe, Manish				regulator-boot-on;
54*6116ad94SVishwanathrao Badarkhe, Manish			};
55*6116ad94SVishwanathrao Badarkhe, Manish			vdcdc2_reg: regulator@1 {
56*6116ad94SVishwanathrao Badarkhe, Manish				regulator-compatible = "VDCDC2";
57*6116ad94SVishwanathrao Badarkhe, Manish				reg = <1>;
58*6116ad94SVishwanathrao Badarkhe, Manish				regulator-min-microvolt = <1710000>;
59*6116ad94SVishwanathrao Badarkhe, Manish				regulator-max-microvolt = <3450000>;
60*6116ad94SVishwanathrao Badarkhe, Manish				regulator-always-on;
61*6116ad94SVishwanathrao Badarkhe, Manish				regulator-boot-on;
62*6116ad94SVishwanathrao Badarkhe, Manish				defdcdc_default = <1>;
63*6116ad94SVishwanathrao Badarkhe, Manish			};
64*6116ad94SVishwanathrao Badarkhe, Manish			vdcdc3_reg: regulator@2 {
65*6116ad94SVishwanathrao Badarkhe, Manish				regulator-compatible = "VDCDC3";
66*6116ad94SVishwanathrao Badarkhe, Manish				reg = <2>;
67*6116ad94SVishwanathrao Badarkhe, Manish				regulator-min-microvolt = <950000>
68*6116ad94SVishwanathrao Badarkhe, Manish				regulator-max-microvolt = <1350000>;
69*6116ad94SVishwanathrao Badarkhe, Manish				regulator-always-on;
70*6116ad94SVishwanathrao Badarkhe, Manish				regulator-boot-on;
71*6116ad94SVishwanathrao Badarkhe, Manish				defdcdc_default = <1>;
72*6116ad94SVishwanathrao Badarkhe, Manish			};
73*6116ad94SVishwanathrao Badarkhe, Manish			ldo1_reg: regulator@3 {
74*6116ad94SVishwanathrao Badarkhe, Manish				regulator-compatible = "LDO1";
75*6116ad94SVishwanathrao Badarkhe, Manish				reg = <3>;
76*6116ad94SVishwanathrao Badarkhe, Manish				regulator-min-microvolt = <1710000>;
77*6116ad94SVishwanathrao Badarkhe, Manish				regulator-max-microvolt = <1890000>;
78*6116ad94SVishwanathrao Badarkhe, Manish				regulator-always-on;
79*6116ad94SVishwanathrao Badarkhe, Manish				regulator-boot-on;
80*6116ad94SVishwanathrao Badarkhe, Manish			};
81*6116ad94SVishwanathrao Badarkhe, Manish			ldo2_reg: regulator@4 {
82*6116ad94SVishwanathrao Badarkhe, Manish				regulator-compatible = "LDO2";
83*6116ad94SVishwanathrao Badarkhe, Manish				reg = <4>;
84*6116ad94SVishwanathrao Badarkhe, Manish				regulator-min-microvolt = <1140000>;
85*6116ad94SVishwanathrao Badarkhe, Manish				regulator-max-microvolt = <1320000>;
86*6116ad94SVishwanathrao Badarkhe, Manish				regulator-always-on;
87*6116ad94SVishwanathrao Badarkhe, Manish				regulator-boot-on;
88*6116ad94SVishwanathrao Badarkhe, Manish			};
89*6116ad94SVishwanathrao Badarkhe, Manish		};
90*6116ad94SVishwanathrao Badarkhe, Manish
91*6116ad94SVishwanathrao Badarkhe, Manish	};
92