-
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: max8973: initial DT support
This patch adds primitive DT support to the max8973 regulator driver. None of the configuration parameters, supported in the platform data are yet available in DT, therefore no configuration is performed if booting with no platform data. This means, that DT instantiation can only be used on boards, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Guennadi Liakhovetski
authored and
Mark Brown
committed
Jun 24, 2013
1 parent
db892ff
commit 42dc302
Showing
2 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/regulator/max8973-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,21 @@ | ||
* Maxim MAX8973 Voltage Regulator | ||
|
||
Required properties: | ||
|
||
- compatible: must be "maxium,max8973" | ||
- reg: the i2c slave address of the regulator. It should be 0x1b. | ||
|
||
Any standard regulator properties can be used to configure the single max8973 | ||
DCDC. | ||
|
||
Example: | ||
|
||
max8973@1b { | ||
compatible = "maxium,max8973"; | ||
reg = <0x1b>; | ||
|
||
regulator-min-microvolt = <935000>; | ||
regulator-max-microvolt = <1200000>; | ||
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