forked from grate-driver/linux
-
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.
mfd: Add device-tree support for da9502 i2c driver
This patch adds device-tree support for dialog MFD and the binding documentations. Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Cc: Samuel Ortiz <sameo@linux.intel.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Ashish Jangam <ashish.jangam@kpitcummins.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
- Loading branch information
Ying-Chun Liu (PaulLiu)
authored and
Samuel Ortiz
committed
May 1, 2012
1 parent
465c29d
commit 58d114b
Showing
2 changed files
with
102 additions
and
8 deletions.
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
* Dialog DA9052/53 Power Management Integrated Circuit (PMIC) | ||
|
||
Required properties: | ||
- compatible : Should be "dlg,da9052", "dlg,da9053-aa", | ||
"dlg,da9053-ab", or "dlg,da9053-bb" | ||
|
||
Sub-nodes: | ||
- regulators : Contain the regulator nodes. The DA9052/53 regulators are | ||
bound using their names as listed below: | ||
|
||
buck0 : regulator BUCK0 | ||
buck1 : regulator BUCK1 | ||
buck2 : regulator BUCK2 | ||
buck3 : regulator BUCK3 | ||
ldo4 : regulator LDO4 | ||
ldo5 : regulator LDO5 | ||
ldo6 : regulator LDO6 | ||
ldo7 : regulator LDO7 | ||
ldo8 : regulator LDO8 | ||
ldo9 : regulator LDO9 | ||
ldo10 : regulator LDO10 | ||
ldo11 : regulator LDO11 | ||
ldo12 : regulator LDO12 | ||
ldo13 : regulator LDO13 | ||
|
||
The bindings details of individual regulator device can be found in: | ||
Documentation/devicetree/bindings/regulator/regulator.txt | ||
|
||
Examples: | ||
|
||
i2c@63fc8000 { /* I2C1 */ | ||
status = "okay"; | ||
|
||
pmic: dialog@48 { | ||
compatible = "dlg,da9053-aa"; | ||
reg = <0x48>; | ||
|
||
regulators { | ||
buck0 { | ||
regulator-min-microvolt = <500000>; | ||
regulator-max-microvolt = <2075000>; | ||
}; | ||
|
||
buck1 { | ||
regulator-min-microvolt = <500000>; | ||
regulator-max-microvolt = <2075000>; | ||
}; | ||
|
||
buck2 { | ||
regulator-min-microvolt = <925000>; | ||
regulator-max-microvolt = <2500000>; | ||
}; | ||
|
||
buck3 { | ||
regulator-min-microvolt = <925000>; | ||
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