From patchwork Fri Oct 12 01:06:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Ramirez Luna X-Patchwork-Id: 1584761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id CF64E40135 for ; Fri, 12 Oct 2012 01:12:07 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TMTl8-00026D-Su; Fri, 12 Oct 2012 01:09:51 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TMTij-0000XB-40 for linux-arm-kernel@lists.infradead.org; Fri, 12 Oct 2012 01:07:22 +0000 Received: by mail-ob0-f177.google.com with SMTP id wd20so2492207obb.36 for ; Thu, 11 Oct 2012 18:07:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=nZijt0+6FDm9OkPMFz+00ymnRhoR55nlRym+Oua9S0E=; b=JmVn35OiwX6bfL41rYGmlCfjq/s0tO4gecVZHP4Y58sKLb8Dr0Y/7G61sbW4QT0rpw hQRfQaOFHIC7p14dKG/iEvLLoFdMm5fELXZjDmjTLbP0r0Ip1Q+uOZVeCyDOjDlVq9qM 7tFSB+IhNyO5Jw1tpkJxcnpTkD9yCFNb3V0sMLSDTcZ6DFYEadty9xUikT5tJl46P7qw Zn2MsyYT64Ettxp85PG01ObwkOgLl9LNY7SvEpmrMWRbePelW93nUfOCq3gYL9lPUVh5 rLRDiAcJ6XNUHg+iEG1LFT/GWIl2ADRfHM6RgjDFqFQTEJ1rW8jKnllwj45XCK1DDqvA 43XQ== Received: by 10.60.22.162 with SMTP id e2mr2233439oef.35.1350004040400; Thu, 11 Oct 2012 18:07:20 -0700 (PDT) Received: from uda0273944.am.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id b7sm4291259oef.12.2012.10.11.18.07.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 18:07:20 -0700 (PDT) From: Omar Ramirez Luna To: Tony Lindgren , Joerg Roedel Subject: [PATCH v3 6/6] arm/dts: OMAP3/4: Add iommu nodes Date: Thu, 11 Oct 2012 20:06:16 -0500 Message-Id: <1350003977-32744-12-git-send-email-omar.luna@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350003977-32744-1-git-send-email-omar.luna@linaro.org> References: <1350003977-32744-1-git-send-email-omar.luna@linaro.org> X-Gm-Message-State: ALoCoQliIh/b+l1+yk189YYJPWSSV8v9FtdmfxogUphv5TlzwlkpQXV/PKT/F3NjgX0V4P76UO6v X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Ohad Ben-Cohen , Paul Walmsley , Russell King , Benoit Cousson , linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Rob Herring , Grant Likely , iommu@lists.linux-foundation.org, Laurent Pinchart , Omar Ramirez Luna , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add nodes for iommu DT, to interface with hwmods. Cc: Grant Likely Cc: Rob Herring Cc: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/boot/dts/omap3.dtsi | 12 +++++++++++- arch/arm/boot/dts/omap4.dtsi | 17 ++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index f38ea87..c76872e 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -37,12 +37,17 @@ }; iva { - compatible = "ti,iva2.2"; + compatible = "ti,iva2.2", "simple-bus"; ti,hwmods = "iva"; dsp { compatible = "ti,omap3-c64"; }; + + mmu_iva: mmu_iva@5d000000 { + compatible = "ti,omap3-iommu"; + ti,hwmods = "mmu_iva"; + }; }; }; @@ -227,6 +232,11 @@ ti,hwmods = "mmc3"; }; + mmu_isp: mmu_isp@480bd400 { + compatible = "ti,omap3-iommu"; + ti,hwmods = "mmu_isp"; + }; + wdt2: wdt@48314000 { compatible = "ti,omap3-wdt"; ti,hwmods = "wd_timer2"; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 3883f94..f084418 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -71,8 +71,23 @@ }; dsp { - compatible = "ti,omap3-c64"; + compatible = "ti,omap3-c64", "simple-bus"; ti,hwmods = "dsp"; + + mmu_dsp: mmu_dsp@4a066000 { + compatible = "ti,omap4-iommu"; + ti,hwmods = "mmu_dsp"; + }; + }; + + ipu { + compatible = "ti,omap4-ipu", "simple-bus"; + ti,hwmods = "ipu"; + + mmu_ipu: mmu_ipu@55082000 { + compatible = "ti,omap4-iommu"; + ti,hwmods = "mmu_ipu"; + }; }; iva {