-
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.
PM / OPP: Initialize OPP table from device tree
With a lot of devices booting from device tree nowadays, it requires that OPP table can be initialized from device tree. The patch adds a helper function of_init_opp_table together with a binding doc for that purpose. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
- Loading branch information
Shawn Guo
authored and
Rafael J. Wysocki
committed
Sep 9, 2012
1 parent
ec971ea
commit b496dfb
Showing
3 changed files
with
80 additions
and
0 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,25 @@ | ||
* Generic OPP Interface | ||
|
||
SoCs have a standard set of tuples consisting of frequency and | ||
voltage pairs that the device will support per voltage domain. These | ||
are called Operating Performance Points or OPPs. | ||
|
||
Properties: | ||
- operating-points: An array of 2-tuples items, and each item consists | ||
of frequency and voltage like <freq-kHz vol-uV>. | ||
freq: clock frequency in kHz | ||
vol: voltage in microvolt | ||
|
||
Examples: | ||
|
||
cpu@0 { | ||
compatible = "arm,cortex-a9"; | ||
reg = <0>; | ||
next-level-cache = <&L2>; | ||
operating-points = < | ||
/* kHz uV */ | ||
792000 1100000 | ||
396000 950000 | ||
198000 850000 | ||
>; | ||
}; |
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