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