From patchwork Thu Jun 26 20:49:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4432241 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D23AEBEEAA for ; Thu, 26 Jun 2014 20:53:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0FC4420379 for ; Thu, 26 Jun 2014 20:53:02 +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 42A402018E for ; Thu, 26 Jun 2014 20:53:01 +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 1X0GdU-0002J0-JN; Thu, 26 Jun 2014 20:51:12 +0000 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0Gcg-0000mc-JV for linux-arm-kernel@lists.infradead.org; Thu, 26 Jun 2014 20:50:24 +0000 Received: by mail-we0-f179.google.com with SMTP id w62so4353020wes.38 for ; Thu, 26 Jun 2014 13:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y+wMFH9v4pizUVMgqMAm2qZdD5SLCqE9vCpRqxv+9Sk=; b=QXJONBDCFw9lyV2WOjD9NUJ7o5fMkYFa3OsgvfYQWapzAW8yI/ONUVLXGYBROx/tx1 TDvVe6bbP4Ul7Bqlz6qh+BnAfSKqIU6LlczPSOj2ZvL3i0xhtLnmllkgIGhn0u7863Ih uYFmdwq6WLAS60GyJM+cSlnQ/SAJWxOglj9oNKtOFwyAXZjRASBUN4a/ijOCafPjUzEO PCF6YDZckStq49s2EYW7uy1HK2L3jaAv71pppf8SI8xhfAoBbn0k/e0c2hXWAHlNjd2w e8Lgeh8wIYJZ+R2hBIrh/CUyJASdF394L+Ua4sIA3v7Jc4DtVDJygnFvplQpgt4EmYuq bqjg== X-Received: by 10.180.109.101 with SMTP id hr5mr7135865wib.25.1403815799872; Thu, 26 Jun 2014 13:49:59 -0700 (PDT) Received: from localhost (port-12740.pppoe.wtnet.de. [84.46.49.245]) by mx.google.com with ESMTPSA id ek3sm16728209wjd.17.2014.06.26.13.49.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jun 2014 13:49:59 -0700 (PDT) From: Thierry Reding To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Warren , Arnd Bergmann , Will Deacon , Joerg Roedel Subject: [RFC 03/10] of: Add NVIDIA Tegra124 memory controller binding Date: Thu, 26 Jun 2014 22:49:43 +0200 Message-Id: <1403815790-8548-4-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403815790-8548-1-git-send-email-thierry.reding@gmail.com> References: <1403815790-8548-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_135022_842391_C128A268 X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -0.8 (/) Cc: Olav Haugan , devicetree@vger.kernel.org, Grant Grundler , Rhyland Klein , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Marc Zyngier , Allen Martin , Paul Walmsley , linux-tegra@vger.kernel.org, Cho KyongHo , Dave Martin , linux-arm-kernel@lists.infradead.org, Hiroshi Doyu 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=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 From: Thierry Reding The memory controller on NVIDIA Tegra124 exposes various knobs that can be used to tune the behaviour of the clients attached to it. In addition, the memory controller implements an SMMU (IOMMU) which can translate I/O virtual addresses to physical addresses for clients. This is useful for scatter-gather operation on devices that don't support it natively and for virtualization or process separation. Signed-off-by: Thierry Reding --- .../bindings/memory-controllers/nvidia,tegra124-mc.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-mc.txt diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-mc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-mc.txt new file mode 100644 index 000000000000..4c922e839059 --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-mc.txt @@ -0,0 +1,12 @@ +NVIDIA Tegra124 Memory Controller device tree bindings +====================================================== + +Required properties: +- compatible: Should be "nvidia,tegra124-mc" +- reg: Physical base address and length of the controller's registers. +- interrupts: The interrupt outputs from the controller. +- #iommu-cells: Should be 1. The single cell of the IOMMU specifier defines + the SWGROUP of the master. + +This device implements an IOMMU that complies with the generic IOMMU binding. +See ../iommu/iommu.txt for details.