From patchwork Mon Apr 27 22:37:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Bresticker X-Patchwork-Id: 6283951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4E44A9F326 for ; Mon, 27 Apr 2015 22:44:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 69BF3202FE for ; Mon, 27 Apr 2015 22:44:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6551520306 for ; Mon, 27 Apr 2015 22:44:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymrhp-0007te-Ab; Mon, 27 Apr 2015 22:40:49 +0000 Received: from mail-yh0-f73.google.com ([209.85.213.73]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymrfa-0005UN-6x for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2015 22:38:31 +0000 Received: by yhzz6 with SMTP id z6so3878197yhz.0 for ; Mon, 27 Apr 2015 15:38:06 -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=OqeudHtm83bUPXhbBHOi5taOuArpS7ane7aG5ICmHzI=; b=DkCluHidZe0PUSvBjE2+yXV8r3KwVAo/fhmidRfg6EWv4IM5Y/By4B7ABeDk2Uv/e2 CYsTfEDsB/4Z6puXhoDYHgnjhtJcWeEYWNLKldJ/yxGnDFRVCI0IXr3m2QZ9l2tRm1mM XSoZtxTvbUt73xQpYBPWamXpluAyqLLsYDre/IgpRE7UFPUS3XMN3Gg2uh9+4m50tTns 13k4vROcjKAIp+IyOKqc3GC1+0/lKUtG5VVZ+B+lCfs7qfe8jZoPpOmOBJJbrAjymTCK KIadMlP3j567/bP0OqVhJKYxCWv+9P3tDu4zTqiW13HTGNP7qCtB4wYKyNapt4VDCQSL TgRQ== X-Gm-Message-State: ALoCoQkBDnoU+layjz7mnPy1ss+3pICJv90e60OG2j1ssjvsHRhE92uvEYNvTpAeFkB7X/+dgZb+ X-Received: by 10.236.22.74 with SMTP id s50mr24734191yhs.53.1430174286636; Mon, 27 Apr 2015 15:38:06 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id v17si1180578yhc.0.2015.04.27.15.38.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 15:38:06 -0700 (PDT) Received: from abrestic.mtv.corp.google.com ([172.22.65.70]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id LI1p5H11.1; Mon, 27 Apr 2015 15:38:06 -0700 Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id 48BF1A49BE; Mon, 27 Apr 2015 15:38:05 -0700 (PDT) From: Andrew Bresticker To: Stephen Warren , Thierry Reding , Alexandre Courbot Subject: [PATCH V7 6/9] mailbox: Add NVIDIA Tegra XUSB mailbox binding Date: Mon, 27 Apr 2015 15:37:19 -0700 Message-Id: <1430174242-29465-7-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1430174242-29465-1-git-send-email-abrestic@chromium.org> References: <1430174242-29465-1-git-send-email-abrestic@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_153830_381061_99051022 X-CRM114-Status: GOOD ( 10.33 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Jassi Brar , Pawel Moll , Ian Campbell , Andrew Bresticker , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device-tree bindings for the Tegra XUSB mailbox which will be used for communication between the Tegra xHCI controller's firmware and the host processor. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Jassi Brar --- Changes from v6: - Removed reg/interrupts properties. No changes from v3/v4/v5. Changes from v2: - Dropped channel specifier. - Added pointer to mailbox documentation. Changes from v1: - Updated to use common mailbox bindings. --- .../bindings/mailbox/nvidia,tegra124-xusb-mbox.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/nvidia,tegra124-xusb-mbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/nvidia,tegra124-xusb-mbox.txt b/Documentation/devicetree/bindings/mailbox/nvidia,tegra124-xusb-mbox.txt new file mode 100644 index 0000000..9d89afa --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/nvidia,tegra124-xusb-mbox.txt @@ -0,0 +1,30 @@ +NVIDIA Tegra XUSB mailbox +========================= + +The Tegra XUSB mailbox is used by the Tegra xHCI controller's firmware to +communicate requests to the host and PHY drivers. + +Refer to ./mailbox.txt for generic information about mailbox device-tree +bindings. + +Required properties: +-------------------- + - compatible: For Tegra124, must contain "nvidia,tegra124-xusb-mbox". + Otherwise, must contain '"nvidia,-xusb-mbox", + "nvidia,tegra124-xusb-mbox"' where is tegra132. + - #mbox-cells: Should be 0. There is only one physical channel. + +Example: +-------- + mailbox { + compatible = "nvidia,tegra124-xusb-mbox"; + + #mbox-cells = <0>; + }; + + usb-host { + ... + mboxes = <&xusb_mbox>; + mbox-names = "xusb"; + ... + };