From patchwork Wed Sep 12 19:45:52 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: 1446401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (unknown [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id AB26CDFFD0 for ; Wed, 12 Sep 2012 20:03:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBsuV-0007ov-I5; Wed, 12 Sep 2012 19:47:43 +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 1TBstB-0007WR-NM for linux-arm-kernel@lists.infradead.org; Wed, 12 Sep 2012 19:46:22 +0000 Received: by mail-ob0-f177.google.com with SMTP id ta17so3385244obb.36 for ; Wed, 12 Sep 2012 12:46:21 -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=tFRFEnllXifN71UB501+pLTYfgWk40iIVCZuqu6R5aM=; b=Po9i4DDY0WsGmQpq+kuxZ0Ryz4ap5ESm8FoBcMusA19xrLsXo+02aE3h1kR66gq7s2 mAaL+tQ9ztwnE0O6o8w3ipaH61IyHAYVkMa6uoW3hNEtma4P6DkEo0kS329T+Vr0c5cS xF0k2z2XYIDndY3/pNipMrV0z5LPdqENKiquTMMtmuPs13Mmop5iheKt/v5z6z0NLKoT 4fkmTZV8bS6giJ8APPzfjARz+GNPQeIieLXAxFFJKgHh+mTJhpkXHH5aakTzlGtYwdri QNeaGihQR+ou1OqEx0aWP2y4lIYdCCRo4XtkHU+0E+CPX4PTtCCo1U1z3TURbq6M6t9z MlpA== Received: by 10.60.172.15 with SMTP id ay15mr23792965oec.64.1347479181499; Wed, 12 Sep 2012 12:46:21 -0700 (PDT) Received: from uda0273944.am.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id a6sm17041227oeh.1.2012.09.12.12.46.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Sep 2012 12:46:21 -0700 (PDT) From: Omar Ramirez Luna To: Tony Lindgren , Benoit Cousson , Ohad Ben-Cohen , Joerg Roedel Subject: [PATCH v2 9/9] arm/dts: OMAP3/4: Add iommu nodes Date: Wed, 12 Sep 2012 14:45:52 -0500 Message-Id: <1347479152-588-10-git-send-email-omar.luna@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347479152-588-1-git-send-email-omar.luna@linaro.org> References: <1347479152-588-1-git-send-email-omar.luna@linaro.org> X-Gm-Message-State: ALoCoQk8QS/ptshYatu0iRMoRzyCEQNH1LWT1MrztQKfQWcZZA8qmQWErkccGlVzrK4VA0e6n4Rv 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: Grant Likely , Russell King , linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Rajendra Nayak , linux-kernel@vger.kernel.org, Rob Herring , Peter Ujfalusi , 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 8109471..7500136 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -38,12 +38,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"; + }; }; }; @@ -216,6 +221,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 04cbbcb..07f3587 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -48,8 +48,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 {