-
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: cpcap: Add basic regulator support
Many Motorola phones like droid 4 are using a custom PMIC called CPCAP or 6556002. This PMIC is used with several SoCs, I've noticed at least omap3, omap4 and Tegra2 based Motorola phones and tablets using it. Cc: devicetree@vger.kernel.org Cc: Marcel Partap <mpartap@gmx.net> Cc: Michael Scott <michael.scott@linaro.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Tony Lindgren
authored and
Mark Brown
committed
Feb 4, 2017
1 parent
d00b746
commit 0ad4c07
Showing
4 changed files
with
506 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
Documentation/devicetree/bindings/regulator/cpcap-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,34 @@ | ||
Motorola CPCAP PMIC voltage regulators | ||
------------------------------------ | ||
|
||
Requires node properties: | ||
- "compatible" value one of: | ||
"motorola,cpcap-regulator" | ||
"motorola,mapphone-cpcap-regulator" | ||
|
||
Required regulator properties: | ||
- "regulator-name" | ||
- "regulator-enable-ramp-delay" | ||
- "regulator-min-microvolt" | ||
- "regulator-max-microvolt" | ||
|
||
Optional regulator properties: | ||
- "regulator-boot-on" | ||
|
||
See Documentation/devicetree/bindings/regulator/regulator.txt | ||
for more details about the regulator properties. | ||
|
||
Example: | ||
|
||
cpcap_regulator: regulator { | ||
compatible = "motorola,cpcap-regulator"; | ||
|
||
cpcap_regulators: regulators { | ||
sw5: SW5 { | ||
regulator-min-microvolt = <5050000>; | ||
regulator-max-microvolt = <5050000>; | ||
regulator-enable-ramp-delay = <50000>; | ||
regulator-boot-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
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
Oops, something went wrong.