xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/regulator/max77686.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMAXIM, MAX77686 regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis device uses two drivers:
4*4882a593Smuzhiyun- drivers/power/pmic/max77686.c (as parent I/O device)
5*4882a593Smuzhiyun- drivers/power/regulator/max77686.c (for child regulators)
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThis file describes the binding info for the REGULATOR driver.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunFirst, please read the binding info for the pmic:
10*4882a593Smuzhiyun- doc/device-tree-bindings/pmic/max77686.txt
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRequired subnode:
13*4882a593Smuzhiyun- voltage-regulators: required for the PMIC driver
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunRequired properties:
16*4882a593Smuzhiyun- regulator-name: used for regulator uclass platform data '.name'
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunOptional:
19*4882a593Smuzhiyun- regulator-min-microvolt: minimum allowed Voltage to set
20*4882a593Smuzhiyun- regulator-max-microvolt: minimum allowed Voltage to set
21*4882a593Smuzhiyun- regulator-always-on: regulator should be never disabled
22*4882a593Smuzhiyun- regulator-boot-on: regulator should be enabled by the bootloader
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunExample:
25*4882a593Smuzhiyun(subnode of max77686 pmic node)
26*4882a593Smuzhiyunvoltage-regulators {
27*4882a593Smuzhiyun	ldo1 {
28*4882a593Smuzhiyun		regulator-name = "VDD_ALIVE_1.0V";
29*4882a593Smuzhiyun		regulator-min-microvolt = <1000000>;
30*4882a593Smuzhiyun		regulator-max-microvolt = <1000000>;
31*4882a593Smuzhiyun		regulator-always-on;
32*4882a593Smuzhiyun		regulator-boot-on;
33*4882a593Smuzhiyun	};
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun	ldo2 {
36*4882a593Smuzhiyun		regulator-name = "VDDQ_VM1M2_1.2V";
37*4882a593Smuzhiyun		regulator-min-microvolt = <1200000>;
38*4882a593Smuzhiyun		regulator-max-microvolt = <1200000>;
39*4882a593Smuzhiyun		regulator-always-on;
40*4882a593Smuzhiyun		regulator-boot-on;
41*4882a593Smuzhiyun	};
42*4882a593Smuzhiyun	.
43*4882a593Smuzhiyun	.
44*4882a593Smuzhiyun	.
45*4882a593Smuzhiyun	ldo26 {
46*4882a593Smuzhiyun		regulator-name = "nc";
47*4882a593Smuzhiyun		regulator-min-microvolt = <3000000>;
48*4882a593Smuzhiyun		regulator-max-microvolt = <3000000>;
49*4882a593Smuzhiyun		regulator-always-on;
50*4882a593Smuzhiyun		regulator-boot-on;
51*4882a593Smuzhiyun	};
52*4882a593Smuzhiyun
53*4882a593Smuzhiyun	buck1 {
54*4882a593Smuzhiyun		regulator-compatible = "BUCK1";
55*4882a593Smuzhiyun		regulator-name = "VDD_MIF_1.0V";
56*4882a593Smuzhiyun		regulator-min-microvolt = <8500000>;
57*4882a593Smuzhiyun		regulator-max-microvolt = <1100000>;
58*4882a593Smuzhiyun		regulator-always-on;
59*4882a593Smuzhiyun		regulator-boot-on;
60*4882a593Smuzhiyun	};
61*4882a593Smuzhiyun	.
62*4882a593Smuzhiyun	.
63*4882a593Smuzhiyun	.
64*4882a593Smuzhiyun	buck9 {
65*4882a593Smuzhiyun		regulator-compatible = "BUCK9";
66*4882a593Smuzhiyun		regulator-name = "nc";
67*4882a593Smuzhiyun		regulator-min-microvolt = <1200000>;
68*4882a593Smuzhiyun		regulator-max-microvolt = <1200000>;
69*4882a593Smuzhiyun	};
70*4882a593Smuzhiyun};
71