OSDN Git Service

dt: mailbox: Remove 'mbox-names property is discouraged' message from binding
authorLee Jones <lee.jones@linaro.org>
Mon, 11 May 2015 16:08:51 +0000 (17:08 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Thu, 11 Jun 2015 16:49:46 +0000 (22:19 +0530)
A new API call has been introduced which allows channels to be
requested by name.  This new call uses the 'mbox-names' property,
so users need no further discouragement from supplying it.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Documentation/devicetree/bindings/mailbox/mailbox.txt

index 1a2cd3d..be05b97 100644 (file)
@@ -22,17 +22,11 @@ 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.
+- mbox-names: List of identifier strings for each mailbox channel.
 
 Example:
        pwr_cntrl: power {
                ...
                mbox-names = "pwr-ctrl", "rpc";
-               mboxes = <&mailbox 0
-                       &mailbox 1>;
+               mboxes = <&mailbox 0 &mailbox 1>;
        };