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: 48305 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E07E821578 for ; Mon, 11 May 2015 16:09:24 +0000 (UTC) Received: by wgbbd3 with SMTP id bd3sf7483389wgb.2 for ; Mon, 11 May 2015 09:09:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=MIDQ4WpdJ8iVQqGy1GqX4xADT6blvQtNevEr26hutgE=; b=B7SSZ/sp1FdalQstChIA/R64V9ZI+S/bipxxK73w8Qm95gBXexhqbcSq5gqpRsbw+4 wWG/wzJlT+MTX/w9s/rlcsxkiDaFOr0/RF6eS45b6vdQZjXDwxC0TIchTutFQEhakE/L 3aOSperfIxOVH3ribASuHLYXg4MovTyiTNiAQaUbUq775JvBm6UHawX7QyRbPi8i/DDj NW259k3/f098UyDCsNVx7Myojj7NdowteBjDue1tnX7uhOMc9DORE6H3dVG/qJjvRRrf iYjINlRa6BFqu2fG+zk5eAtkiEHFZPURcHNV/C8SnCHyxi8chEhVbTQff1BtFGL9dkTg xEJQ== X-Gm-Message-State: ALoCoQmlE2/1+sgS5rjKZ4y1/Yc+TOi54Qdu5QlDExeJdVj15O/uWU4/Z5lwe/hcrcyD9Us9LYa/ X-Received: by 10.112.203.168 with SMTP id kr8mr7832965lbc.10.1431360564036; Mon, 11 May 2015 09:09:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.103 with SMTP id kx7ls669868lac.62.gmail; Mon, 11 May 2015 09:09:23 -0700 (PDT) X-Received: by 10.152.243.9 with SMTP id wu9mr8436653lac.63.1431360563831; Mon, 11 May 2015 09:09:23 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id ao1si8580820lbd.172.2015.05.11.09.09.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 09:09:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lagv1 with SMTP id v1so96782969lag.3 for ; Mon, 11 May 2015 09:09:23 -0700 (PDT) X-Received: by 10.152.9.66 with SMTP id x2mr8586970laa.36.1431360563711; Mon, 11 May 2015 09:09:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1591170lbb; Mon, 11 May 2015 09:09:22 -0700 (PDT) X-Received: by 10.66.141.171 with SMTP id rp11mr20376580pab.44.1431360561601; Mon, 11 May 2015 09:09:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si18528838pas.13.2015.05.11.09.09.20; Mon, 11 May 2015 09:09:21 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751281AbbEKQJT (ORCPT + 6 others); 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-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: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>; };