From patchwork Mon Apr 27 22:37:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Bresticker X-Patchwork-Id: 6283901 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ECE02BEEE1 for ; Mon, 27 Apr 2015 22:43:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13CD3202F8 for ; Mon, 27 Apr 2015 22:43:01 +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 E74F9202F0 for ; Mon, 27 Apr 2015 22:42:59 +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 1Ymrgq-0006BQ-Ms; Mon, 27 Apr 2015 22:39:48 +0000 Received: from mail-pa0-f73.google.com ([209.85.220.73]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmrfK-0005PD-N7 for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2015 22:38:15 +0000 Received: by pabli10 with SMTP id li10so9666189pab.1 for ; Mon, 27 Apr 2015 15:37:53 -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=Md6EJfzD/m9QXowahz3gwdBmPZRdGKyddK6prXQJ4x8=; b=CZND0NAvyBpmuY4+jKdc1z31qJhaFzFB8Gnse6YHJQ6b3+hf9RG8UM4DnPgOPQyz55 EE9UUzw7uFwBNSMcOFsmIjtNsbOBbupSOOknzxaEo+r24KZGJmHeDXLLM+kglW0w2yKR PPgfOzKyXuVD0VmS3iIJ/yK/pYsbV7dk478E/Ad8vYjRC1VWV6k6vJfGOxA30179WFKY 57pG4ylPRYr1L1ahBaDsAWL4zlUV2iJvPkkW0BU8tyxtzz103liyJxkQd8a2kr6KtG3+ uBuXtaX4J2xBG9YYIZMx18WS4qeDgYRuAF1nCNhJywd7QO8wvJ2dcZqb56Csc3pviXN/ dMqQ== X-Gm-Message-State: ALoCoQmuM2RieRE3DE7MbTclhm23fi4yVi53Syq8qwFx3znO0/unSlAiAzslMvuQpY+U0tiMW61k X-Received: by 10.69.13.226 with SMTP id fb2mr23579949pbd.0.1430174273161; Mon, 27 Apr 2015 15:37:53 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id i27si1118875yha.6.2015.04.27.15.37.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 15:37:53 -0700 (PDT) Received: from abrestic.mtv.corp.google.com ([172.22.65.70]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id 6Uc2aGll.1; Mon, 27 Apr 2015 15:37:53 -0700 Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id AFBB6A49BE; Mon, 27 Apr 2015 15:37:51 -0700 (PDT) From: Andrew Bresticker To: Stephen Warren , Thierry Reding , Alexandre Courbot Subject: [PATCH V7 4/9] mfd: Add binding document for NVIDIA Tegra XUSB Date: Mon, 27 Apr 2015 15:37:17 -0700 Message-Id: <1430174242-29465-5-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_153814_827040_C49DE573 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Samuel Ortiz , 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, Lee Jones , 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 a binding document for the XUSB host complex on NVIDIA Tegra124 and later SoCs. The XUSB host complex includes a mailbox for communication with the XUSB micro-controller and an xHCI host-controller. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Samuel Ortiz Cc: Lee Jones --- New for v7. --- .../bindings/mfd/nvidia,tegra124-xusb.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/nvidia,tegra124-xusb.txt diff --git a/Documentation/devicetree/bindings/mfd/nvidia,tegra124-xusb.txt b/Documentation/devicetree/bindings/mfd/nvidia,tegra124-xusb.txt new file mode 100644 index 0000000..6a46680 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nvidia,tegra124-xusb.txt @@ -0,0 +1,46 @@ +NVIDIA Tegra XUSB host copmlex +============================== + +The XUSB host complex on Tegra124 and later SoCs contains an xHCI host +controller and a mailbox for communication with the XUSB micro-controller. + +Required properties: +-------------------- + - compatible: For Tegra124, must contain "nvidia,tegra124-xusb". + Otherwise, must contain '"nvidia,-xusb", "nvidia,tegra124-xusb"' + where is tegra132. + - reg: Must contain register base and length for each register set listed + in reg-names. + - reg-names: Must include the following entries: + - xhci + - fpci + - ipfs + - interrupts: Must contain an interrupt for each entry in interrupt-names. + - interrupt-names: Must include the following entries: + - host + - smi + - pme + +Example: +-------- + usb@0,70090000 { + compatible = "nvidia,tegra124-xusb"; + reg = <0x0 0x70090000 0x0 0x8000>, + <0x0 0x70098000 0x0 0x1000>, + <0x0 0x70099000 0x0 0x1000>; + reg-names = "xhci", "fpci", "ipfs"; + interrupts = , + , + ; + interrupt-names = "host", "smi", "pme"; + + usb-host { + compatible = "nvidia,tegra124-xhci"; + ... + }; + + mailbox { + compatible = "nvidia,tegra124-xusb-mbox"; + ... + }; + };