-
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.
Define generic bindings for the framework clients to request mailbox channels. Reviewed-by: Mark Brown <broonie@linaro.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
- Loading branch information
Jassi Brar
committed
Oct 8, 2014
1 parent
15320fb
commit 9f3e3ca
Showing
1 changed file
with
38 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,38 @@ | ||
* Generic Mailbox Controller and client driver bindings | ||
|
||
Generic binding to provide a way for Mailbox controller drivers to | ||
assign appropriate mailbox channel to client drivers. | ||
|
||
* Mailbox Controller | ||
|
||
Required property: | ||
- #mbox-cells: Must be at least 1. Number of cells in a mailbox | ||
specifier. | ||
|
||
Example: | ||
mailbox: mailbox { | ||
... | ||
#mbox-cells = <1>; | ||
}; | ||
|
||
|
||
* Mailbox Client | ||
|
||
Required property: | ||
- mboxes: List of phandle and mailbox channel specifiers. | ||
|
||
Optional property: | ||
- mbox-names: List of identifier strings for each mailbox channel | ||
required by the client. The use of this property | ||
is discouraged in favor of using index in list of | ||
'mboxes' while requesting a mailbox. Instead the | ||
platforms may define channel indices, in DT headers, | ||
to something legible. | ||
|
||
Example: | ||
pwr_cntrl: power { | ||
... | ||
mbox-names = "pwr-ctrl", "rpc"; | ||
mboxes = <&mailbox 0 | ||
&mailbox 1>; | ||
}; |