xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/pmic/max77686.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMAXIM, MAX77686 pmic
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis device uses two drivers:
4*4882a593Smuzhiyun- drivers/power/pmic/max77686.c (for parent device)
5*4882a593Smuzhiyun- drivers/power/regulator/max77686.c (for child regulators)
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThis file describes the binding info for the PMIC driver.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunTo bind the regulators, please read the additional binding info:
10*4882a593Smuzhiyun- doc/device-tree-bindings/regulator/max77686.txt
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRequired properties:
13*4882a593Smuzhiyun- compatible: "maxim,max77686"
14*4882a593Smuzhiyun- reg = 0x9
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunWith those two properties, the pmic device can be used for read/write only.
17*4882a593SmuzhiyunTo bind each regulator, the optional regulators subnode should exists.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunOptional subnode:
20*4882a593Smuzhiyun- voltage-regulators: subnode list of each device's regulator
21*4882a593Smuzhiyun  (see max77686.txt - regulator binding info)
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunmax77686@09 {
26*4882a593Smuzhiyun	compatible = "maxim,max77686";
27*4882a593Smuzhiyun	reg = <0x09>;
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	voltage-regulators {
30*4882a593Smuzhiyun		ldo1 {
31*4882a593Smuzhiyun			...
32*4882a593Smuzhiyun		};
33*4882a593Smuzhiyun		...
34*4882a593Smuzhiyun	};
35*4882a593Smuzhiyun};
36