-
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: add documentation for ACT8945A's regulator DT bindings
This patch adds documentation for the DT bindings of the regulator subdevice of ACT8945A MFD. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Wenyou Yang
authored and
Mark Brown
committed
Feb 5, 2016
1 parent
38c0996
commit a3408b7
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
80 changes: 80 additions & 0 deletions
80
Documentation/devicetree/bindings/regulator/act8945a-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,80 @@ | ||
Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device | ||
|
||
Required properties: | ||
- compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt. | ||
|
||
Optional properties: | ||
- active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. | ||
If this property is missing, assume the VSEL pin is set to logic-low. | ||
|
||
Optional input supply properties: | ||
- vp1-supply: The input supply for REG_DCDC1 | ||
- vp2-supply: The input supply for REG_DCDC2 | ||
- vp3-supply: The input supply for REG_DCDC3 | ||
- inl45-supply: The input supply for REG_LDO1 and REG_LDO2 | ||
- inl67-supply: The input supply for REG_LDO3 and REG_LDO4 | ||
|
||
Any standard regulator properties can be used to configure the single regulator. | ||
|
||
The valid names for regulators are: | ||
REG_DCDC1, REG_DCDC2, REG_DCDC3, REG_LDO1, REG_LDO2, REG_LDO3, REG_LDO4. | ||
|
||
Example: | ||
pmic@5b { | ||
compatible = "active-semi,act8945a"; | ||
reg = <0x5b>; | ||
status = "okay"; | ||
|
||
active-semi,vsel-high; | ||
|
||
regulators { | ||
vdd_1v35_reg: REG_DCDC1 { | ||
regulator-name = "VDD_1V35"; | ||
regulator-min-microvolt = <1350000>; | ||
regulator-max-microvolt = <1350000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_1v2_reg: REG_DCDC2 { | ||
regulator-name = "VDD_1V2"; | ||
regulator-min-microvolt = <1100000>; | ||
regulator-max-microvolt = <1300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_3v3_reg: REG_DCDC3 { | ||
regulator-name = "VDD_3V3"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_fuse_reg: REG_LDO1 { | ||
regulator-name = "VDD_FUSE"; | ||
regulator-min-microvolt = <2500000>; | ||
regulator-max-microvolt = <2500000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_3v3_lp_reg: REG_LDO2 { | ||
regulator-name = "VDD_3V3_LP"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_led_reg: REG_LDO3 { | ||
regulator-name = "VDD_LED"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
vdd_sdhc_1v8_reg: REG_LDO4 { | ||
regulator-name = "VDD_SDHC_1V8"; | ||
regulator-min-microvolt = <1800000>; | ||
regulator-max-microvolt = <1800000>; | ||
regulator-always-on; | ||
}; | ||
}; | ||
}; |