-
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: act8865: add device tree binding doc
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Wenyou Yang
authored and
Mark Brown
committed
Dec 24, 2013
1 parent
33036f4
commit cbfadd3
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
Documentation/devicetree/bindings/regulator/act8865-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,60 @@ | ||
ACT8865 regulator | ||
------------------- | ||
|
||
Required properties: | ||
- compatible: "active-semi,act8865" | ||
- reg: I2C slave address | ||
|
||
Any standard regulator properties can be used to configure the single regulator. | ||
|
||
The valid names for regulators are: | ||
DCDC_REG1, DCDC_REG2, DCDC_REG3, LDO_REG1, LDO_REG2, LDO_REG3, LDO_REG4. | ||
|
||
Example: | ||
-------- | ||
|
||
i2c1: i2c@f0018000 { | ||
pmic: act8865@5b { | ||
compatible = "active-semi,act8865"; | ||
reg = <0x5b>; | ||
status = "disabled"; | ||
|
||
regulators { | ||
vcc_1v8_reg: DCDC_REG1 { | ||
regulator-name = "VCC_1V8"; | ||
regulator-min-microvolt = <1800000>; | ||
regulator-max-microvolt = <1800000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vcc_1v2_reg: DCDC_REG2 { | ||
regulator-name = "VCC_1V2"; | ||
regulator-min-microvolt = <1100000>; | ||
regulator-max-microvolt = <1300000>; | ||
regulator-suspend-mem-microvolt = <1150000>; | ||
regulator-suspend-standby-microvolt = <1150000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vcc_3v3_reg: DCDC_REG3 { | ||
regulator-name = "VCC_3V3"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vddana_reg: LDO_REG1 { | ||
regulator-name = "VDDANA"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vddfuse_reg: LDO_REG2 { | ||
regulator-name = "FUSE_2V5"; | ||
regulator-min-microvolt = <2500000>; | ||
regulator-max-microvolt = <2500000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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