From patchwork Mon May 11 16:08:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 470930 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A728B140157 for ; Tue, 12 May 2015 02:09:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751281AbbEKQJT (ORCPT ); Mon, 11 May 2015 12:09:19 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:37823 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbbEKQJS (ORCPT ); Mon, 11 May 2015 12:09:18 -0400 Received: by widdi4 with SMTP id di4so102416504wid.0 for ; Mon, 11 May 2015 09:09:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RfqLmMishf4OEETlh9jIKDYPqbxyL+QtDAcXdAvyQsg=; b=CKd3tA0dKH+Nm4v0j2F9zxosppxdJ/Mt6bYSFrzAcxo9Y/q3akLG98zBwpaRtzrL0R tHXcPpkgbOHCGFaRXeZPYSjYVq23VdJThwY/V0Mjurr46uru99O6+lUME/TcKF0V8nVa lEvj47U1wRPaemk6mpz2lCxSFAERnny5zCjKcwaZp9aksLxhs1uMKwvbTps655kEpGXh 0Y44SKlBiJ4OmE8MLNoxfRAd91z9qU+jMLiGB96N7EhTMy2fwR7qkRfF0N3vfLu1Z9pQ ANW/c3tp1eVT5w9LTwVYPwkpECd+PyEEdmaVmWdQIOxftGf3YmVSAmiMB6vhZWYGYvFa Qktg== X-Gm-Message-State: ALoCoQnNmi3E8+XaG8/tZuGBdQEaB1DNpGSLjWZ9HdG30D6m47h2gXd0kyX+I5Tl0GnROQPVdanS X-Received: by 10.180.92.42 with SMTP id cj10mr21222504wib.67.1431360556808; Mon, 11 May 2015 09:09:16 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-99.range81-129.btcentralplus.com. [81.129.169.99]) by mx.google.com with ESMTPSA id ju2sm452335wid.12.2015.05.11.09.09.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 May 2015 09:09:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones Subject: [PATCH 2/2] dt: mailbox: Remove 'mbox-names property is discouraged' message from binding Date: Mon, 11 May 2015 17:08:51 +0100 Message-Id: <1431360531-31337-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431360531-31337-1-git-send-email-lee.jones@linaro.org> References: <1431360531-31337-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- Documentation/devicetree/bindings/mailbox/mailbox.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/mailbox.txt b/Documentation/devicetree/bindings/mailbox/mailbox.txt index 1a2cd3d..be05b97 100644 --- a/Documentation/devicetree/bindings/mailbox/mailbox.txt +++ b/Documentation/devicetree/bindings/mailbox/mailbox.txt @@ -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>; };