From patchwork Wed Oct 1 10:20:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 5010841 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 2A173BEEA6 for ; Wed, 1 Oct 2014 10:23:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AD862013A for ; Wed, 1 Oct 2014 10:23:36 +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 8476620220 for ; Wed, 1 Oct 2014 10:23:35 +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 1XZH2S-0003MA-Bt; Wed, 01 Oct 2014 10:21:40 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZH2J-0003E9-V2 for linux-arm-kernel@lists.infradead.org; Wed, 01 Oct 2014 10:21:32 +0000 Received: by mail-pa0-f42.google.com with SMTP id bj1so12574pad.29 for ; Wed, 01 Oct 2014 03:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8JwWjChDMEt9PF/DmG+aCtBE5chXJVoV6vuO9wgp3+Q=; b=iY1K1FR997tLMfJmlklr8YjLe2pAf4fsbH1bsBYUrVaBeysHW4cGjof+4w55BmgcQD qkDdFQCgNEfoBoVQQB9PZwScXnjY9Z1zG4uNJW0R4UlEYiJoqylxxg3rWN+4Z+Uz3dko HYReVjl+NJbBpKY3uXxZNxGxZSq71VFBvXpdE= 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=8JwWjChDMEt9PF/DmG+aCtBE5chXJVoV6vuO9wgp3+Q=; b=U457LiL64ZMogPUKEUGWL7I13lkRYNUJ1Ob30UaRvoIEYnwR4c/6BMIysAkRsoLjSK 5862aSn+2MsnU/C4LPLpxogvZs4bxewrhVZ19nfB08OuUl9wCLPg3/ZG8SrnpIcnmYrZ 8u/UFvk8CR/9LKAH2Xg0uKR0iUwGK8+vpxIZ4xxDDotw446GkNcZsZwGKHRAQaR2o4dm Tg6HpNVHaWwbCY3MuLjwt4RtyFIzSz9VXUGnCC4K2nIym44RKdpiNWwFDHngjMua5/i5 16BoI+WFpYdDQ3pAQKT4BmEcxzKmangWcQFPBO5JhSvpTLSB/Qb+2aCC7l0e8G2Pl8ZC rnKQ== X-Gm-Message-State: ALoCoQkVZTnq3wn9CEAi5C7NJRgsyRd6WiYFbqTcG2rYXsAIzhP5Zrbecq+Y62dZVcBRUJOswasr X-Received: by 10.68.238.196 with SMTP id vm4mr76228170pbc.45.1412158870884; Wed, 01 Oct 2014 03:21:10 -0700 (PDT) Received: from djkurtz-z620.tpe.corp.google.com (djkurtz-z620.tpe.corp.google.com [172.30.210.61]) by mx.google.com with ESMTPSA id nq11sm657211pdb.17.2014.10.01.03.21.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Oct 2014 03:21:09 -0700 (PDT) From: Daniel Kurtz To: Joerg Roedel , Heiko Stuebner Subject: [PATCH 2/3] dt-bindings: iommu: Add documentation for rockchip iommu Date: Wed, 1 Oct 2014 18:20:42 +0800 Message-Id: <1412158843-8115-3-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1412158843-8115-1-git-send-email-djkurtz@chromium.org> References: <1412158843-8115-1-git-send-email-djkurtz@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141001_032132_023171_579BBF5B X-CRM114-Status: GOOD ( 10.39 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Simon Xue , Pawel Moll , Ian Campbell , Grant Grundler , linux-kernel@vger.kernel.org, Daniel Kurtz , linux-rockchip@lists.infradead.org, iommu@lists.linux-foundation.org, Rob Herring , Kumar Gala , Grant Likely , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 binding documentation for Rockchip IOMMU. Signed-off-by: Daniel Kurtz Signed-off-by: Simon Xue --- .../devicetree/bindings/iommu/rockchip,iommu.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/iommu/rockchip,iommu.txt diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt new file mode 100644 index 0000000..810e058 --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt @@ -0,0 +1,26 @@ +Rockchip IOMMU +============== + +A Rockchip DRM iommu translates io virtual addresses to physical addresses for +its master device. Each slave device is bound to a single master device, and +shares its clocks, power domain and irq. + +Required properties: +- compatible : Should be "rockchip,iommu" +- reg : Address space for the configuration registers +- interrupts : Interrupt specifier for the IOMMU instance +- interrupt-names : Interrupt name for the IOMMU instance +- #iommu-cells : Should be <0>. This indicates the iommu is a + "single-master" device, and needs no additional information + to associate with its master device. See: + Documentation/devicetree/bindings/iommu/iommu.txt + +Example: + + vopl_mmu: iommu@0xff940300 { + compatible = "rockchip,iommu"; + reg = <0xff940300 0x100>; + interrupts = ; + interrupt-names = "vopl_mmu"; + #iommu-cells = <0>; + };