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