xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/lp873x.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTI LP873X PMIC MFD driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible:	"ti,lp8732", "ti,lp8733"
5*4882a593Smuzhiyun  - reg:		I2C slave address.
6*4882a593Smuzhiyun  - gpio-controller:	Marks the device node as a GPIO Controller.
7*4882a593Smuzhiyun  - #gpio-cells:	Should be two.  The first cell is the pin number and
8*4882a593Smuzhiyun			the second cell is used to specify flags.
9*4882a593Smuzhiyun			See ../gpio/gpio.txt for more information.
10*4882a593Smuzhiyun  - xxx-in-supply:	Phandle to parent supply node of each regulator
11*4882a593Smuzhiyun			populated under regulators node. xxx can be
12*4882a593Smuzhiyun			buck0, buck1, ldo0 or ldo1.
13*4882a593Smuzhiyun  - regulators:	List of child nodes that specify the regulator
14*4882a593Smuzhiyun			initialization data.
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunpmic: lp8733@60 {
18*4882a593Smuzhiyun	compatible = "ti,lp8733";
19*4882a593Smuzhiyun	reg = <0x60>;
20*4882a593Smuzhiyun	gpio-controller;
21*4882a593Smuzhiyun	#gpio-cells = <2>;
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	buck0-in-supply = <&vsys_3v3>;
24*4882a593Smuzhiyun	buck1-in-supply = <&vsys_3v3>;
25*4882a593Smuzhiyun	ldo0-in-supply = <&vsys_3v3>;
26*4882a593Smuzhiyun	ldo1-in-supply = <&vsys_3v3>;
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	regulators {
29*4882a593Smuzhiyun		lp8733_buck0: buck0 {
30*4882a593Smuzhiyun			regulator-name = "lp8733-buck0";
31*4882a593Smuzhiyun			regulator-min-microvolt = <800000>;
32*4882a593Smuzhiyun			regulator-max-microvolt = <1400000>;
33*4882a593Smuzhiyun			regulator-min-microamp = <1500000>;
34*4882a593Smuzhiyun			regulator-max-microamp = <4000000>;
35*4882a593Smuzhiyun			regulator-ramp-delay = <10000>;
36*4882a593Smuzhiyun			regulator-always-on;
37*4882a593Smuzhiyun			regulator-boot-on;
38*4882a593Smuzhiyun		};
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun		lp8733_buck1: buck1 {
41*4882a593Smuzhiyun			regulator-name = "lp8733-buck1";
42*4882a593Smuzhiyun			regulator-min-microvolt = <800000>;
43*4882a593Smuzhiyun			regulator-max-microvolt = <1400000>;
44*4882a593Smuzhiyun			regulator-min-microamp = <1500000>;
45*4882a593Smuzhiyun			regulator-max-microamp = <4000000>;
46*4882a593Smuzhiyun			regulator-ramp-delay = <10000>;
47*4882a593Smuzhiyun			regulator-boot-on;
48*4882a593Smuzhiyun			regulator-always-on;
49*4882a593Smuzhiyun		};
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun		lp8733_ldo0: ldo0 {
52*4882a593Smuzhiyun			regulator-name = "lp8733-ldo0";
53*4882a593Smuzhiyun			regulator-min-microvolt = <800000>;
54*4882a593Smuzhiyun			regulator-max-microvolt = <3000000>;
55*4882a593Smuzhiyun			regulator-boot-on;
56*4882a593Smuzhiyun			regulator-always-on;
57*4882a593Smuzhiyun		};
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun		lp8733_ldo1: ldo1 {
60*4882a593Smuzhiyun			regulator-name = "lp8733-ldo1";
61*4882a593Smuzhiyun			regulator-min-microvolt = <800000>;
62*4882a593Smuzhiyun			regulator-max-microvolt = <3000000>;
63*4882a593Smuzhiyun			regulator-always-on;
64*4882a593Smuzhiyun			regulator-boot-on;
65*4882a593Smuzhiyun		};
66*4882a593Smuzhiyun	};
67*4882a593Smuzhiyun};
68