Skip to content

Commit 560615e

Browse files
Qing Xubroonie
authored andcommitted
regulator: max8925: update dt regulator binding doc
remove linux specific references, enumerates all supported regulators Signed-off-by: Qing Xu <qingx@marvell.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 45b6f8e commit 560615e

1 file changed

Lines changed: 31 additions & 20 deletions

File tree

‎Documentation/devicetree/bindings/regulator/max8925-regulator.txt‎

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,40 @@
11
Max8925 Voltage regulators
22

3-
max8925 regulator device register is still handled by mfd_add_devices, not by
4-
of_xxx, so, it is not necessary to add compatible name. Also, those reg
5-
offset and id info is stored in mfd_cell(see max8925-core.c), as a result
6-
there is not private properties in dts.
7-
8-
node's name should match with the definition in max8925_regulator_matches
9-
(see max8925-regulator.c)
10-
3+
Required nodes:
4+
-nodes:
5+
- SDV1 for SDV SDV1
6+
- SDV2 for SDV SDV2
7+
- SDV3 for SDV SDV3
8+
- LDO1 for LDO LDO1
9+
- LDO2 for LDO LDO2
10+
- LDO3 for LDO LDO3
11+
- LDO4 for LDO LDO4
12+
- LDO5 for LDO LDO5
13+
- LDO6 for LDO LDO6
14+
- LDO7 for LDO LDO7
15+
- LDO8 for LDO LDO8
16+
- LDO9 for LDO LDO9
17+
- LDO10 for LDO LDO10
18+
- LDO11 for LDO LDO11
19+
- LDO12 for LDO LDO12
20+
- LDO13 for LDO LDO13
21+
- LDO14 for LDO LDO14
22+
- LDO15 for LDO LDO15
23+
- LDO16 for LDO LDO16
24+
- LDO17 for LDO LDO17
25+
- LDO18 for LDO LDO18
26+
- LDO19 for LDO LDO19
27+
- LDO20 for LDO LDO20
1128

1229
Optional properties:
1330
- Any optional property defined in bindings/regulator/regulator.txt
1431

15-
1632
Example:
1733

34+
SDV1 {
35+
regulator-min-microvolt = <637500>;
36+
regulator-max-microvolt = <1425000>;
37+
regulator-boot-on;
38+
regulator-always-on;
39+
};
1840

19-
regulators {
20-
SDV1 {
21-
regulator-min-microvolt = <637500>;
22-
regulator-max-microvolt = <1425000>;
23-
regulator-boot-on;
24-
regulator-always-on;
25-
};
26-
27-
...
28-
...
29-
}

0 commit comments

Comments
 (0)