Skip to content

Commit

Permalink
regulator: max8925: update dt regulator binding doc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Qing Xu authored and Mark Brown committed Nov 9, 2012
1 parent 45b6f8e commit 560615e
Showing 1 changed file with 31 additions and 20 deletions.
51 changes: 31 additions & 20 deletions Documentation/devicetree/bindings/regulator/max8925-regulator.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
Max8925 Voltage regulators

max8925 regulator device register is still handled by mfd_add_devices, not by
of_xxx, so, it is not necessary to add compatible name. Also, those reg
offset and id info is stored in mfd_cell(see max8925-core.c), as a result
there is not private properties in dts.

node's name should match with the definition in max8925_regulator_matches
(see max8925-regulator.c)

Required nodes:
-nodes:
- SDV1 for SDV SDV1
- SDV2 for SDV SDV2
- SDV3 for SDV SDV3
- LDO1 for LDO LDO1
- LDO2 for LDO LDO2
- LDO3 for LDO LDO3
- LDO4 for LDO LDO4
- LDO5 for LDO LDO5
- LDO6 for LDO LDO6
- LDO7 for LDO LDO7
- LDO8 for LDO LDO8
- LDO9 for LDO LDO9
- LDO10 for LDO LDO10
- LDO11 for LDO LDO11
- LDO12 for LDO LDO12
- LDO13 for LDO LDO13
- LDO14 for LDO LDO14
- LDO15 for LDO LDO15
- LDO16 for LDO LDO16
- LDO17 for LDO LDO17
- LDO18 for LDO LDO18
- LDO19 for LDO LDO19
- LDO20 for LDO LDO20

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


Example:

SDV1 {
regulator-min-microvolt = <637500>;
regulator-max-microvolt = <1425000>;
regulator-boot-on;
regulator-always-on;
};

regulators {
SDV1 {
regulator-min-microvolt = <637500>;
regulator-max-microvolt = <1425000>;
regulator-boot-on;
regulator-always-on;
};

...
...
}

0 comments on commit 560615e

Please sign in to comment.