-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: max8925: support dt for regulator
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 7, 2012
1 parent
3d70f8c
commit 45b6f8e
Showing
2 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/regulator/max8925-regulator.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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) | ||
|
||
|
||
Optional properties: | ||
- Any optional property defined in bindings/regulator/regulator.txt | ||
|
||
|
||
Example: | ||
|
||
|
||
regulators { | ||
SDV1 { | ||
regulator-min-microvolt = <637500>; | ||
regulator-max-microvolt = <1425000>; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
... | ||
... | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters