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: 1584661 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5BB6B40135 for ; Fri, 12 Oct 2012 01:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752931Ab2JLBHW (ORCPT ); Thu, 11 Oct 2012 21:07:22 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]:47937 "EHLO mail-oa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617Ab2JLBHU (ORCPT ); Thu, 11 Oct 2012 21:07:20 -0400 Received: by mail-oa0-f46.google.com with SMTP id h16so2412582oag.19 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=UKJRVwp7amTLuiHsmL79SSx3HuRBIObYojJD3NHNrUBTktsqgEC0MFW9YxO8HnRzoc O7JZp9wR92qAp2IOXLZRQ4tTWtakAJELnjlSzdVeCbWIrLn2Gt2W6xZtrr4j6b7ihnoY MdhVde1Ef9ZIzZDM64FXdTYJJ4xg01aQTIwmJLUwIyKYwzu0AxhGdZvB1KXA+ElBQfNM 0S6KRYvOEMZogn2oO6BtrVsRcfXhROyS9qv2Uufd+8LUYap9+2IIMzOG6ltVQ+Q0waIV j+LIqFjzwWDgjOQFX43iY5sUWtlIOteyZJi+Dnu2x19zF3fMKTMVSxFqpU5ff5haNxAo GZYA== 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 Cc: Russell King , Omar Ramirez Luna , Benoit Cousson , Ohad Ben-Cohen , Paul Walmsley , Laurent Pinchart , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, iommu@lists.linux-foundation.org, Grant Likely , Rob Herring 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: ALoCoQn1/KU5ilBQ4kczvpCLFxl3SeYqplsg/bC+5Wy5O6AtF3kNzANqbA10E88M6Hcrl4E65VvO Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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 {