-
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.
yaml --- r: 329959 b: refs/heads/master c: a91d2f8 h: refs/heads/master i: 329957: 9a4ad49 329955: 6783685 329951: 3276099 v: v3
- Loading branch information
Gyungoh Yoo
authored and
Samuel Ortiz
committed
Sep 17, 2012
1 parent
e8dd075
commit df782a4
Showing
6 changed files
with
666 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 7fb9c1a4851562e9f9b522ff929c0742797f301a | ||
refs/heads/master: a91d2f8d6e4c0fd3d6e1a2b5609eb93b114effb6 |
71 changes: 71 additions & 0 deletions
71
trunk/Documentation/devicetree/bindings/regulator/max8907.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,71 @@ | ||
MAX8907 regulator | ||
|
||
Required properties: | ||
- compatible: "maxim,max8907" | ||
- reg: I2C slave address | ||
- interrupts: The interrupt output of the controller | ||
- mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC. | ||
- in-v1-supply: The input supply for SD1. | ||
- in-v2-supply: The input supply for SD2. | ||
- in-v3-supply: The input supply for SD3. | ||
- in1-supply: The input supply for LDO1. | ||
... | ||
- in20-supply: The input supply for LDO20. | ||
- regulators: A node that houses a sub-node for each regulator within the | ||
device. Each sub-node is identified using the regulator-compatible | ||
property, with valid values listed below. The content of each sub-node | ||
is defined by the standard binding for regulators; see regulator.txt. | ||
|
||
Valid regulator-compatible values are: | ||
|
||
sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10, | ||
ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v, | ||
out33v, bbat, sdby, vrtc. | ||
|
||
Example: | ||
|
||
max8907@3c { | ||
compatible = "maxim,max8907"; | ||
reg = <0x3c>; | ||
interrupts = <0 86 0x4>; | ||
|
||
mbatt-supply = <&some_reg>; | ||
in-v1-supply = <&mbatt_reg>; | ||
... | ||
in1-supply = <&mbatt_reg>; | ||
... | ||
|
||
regulators { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
mbatt_reg: regulator@0 { | ||
reg = <0>; | ||
regulator-compatible = "mbatt"; | ||
regulator-name = "vbat_pmu"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-always-on; | ||
}; | ||
|
||
regulator@1 { | ||
reg = <1>; | ||
regulator-compatible = "sd1"; | ||
regulator-name = "nvvdd_sv1,vdd_cpu_pmu"; | ||
regulator-min-microvolt = <1000000>; | ||
regulator-max-microvolt = <1000000>; | ||
regulator-always-on; | ||
}; | ||
|
||
regulator@2 { | ||
reg = <2>; | ||
regulator-compatible = "sd2"; | ||
regulator-name = "nvvdd_sv2,vdd_core"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <1200000>; | ||
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
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.