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