From patchwork Mon Dec 19 02:19:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9479641 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F3FA660836 for ; Mon, 19 Dec 2016 02:26:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3C7728458 for ; Mon, 19 Dec 2016 02:26:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D808428462; Mon, 19 Dec 2016 02:26:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6BA82845D for ; Mon, 19 Dec 2016 02:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932436AbcLSC0z (ORCPT ); Sun, 18 Dec 2016 21:26:55 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33198 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932836AbcLSC0p (ORCPT ); Sun, 18 Dec 2016 21:26:45 -0500 Received: by mail-pg0-f68.google.com with SMTP id g1so4974530pgn.0 for ; Sun, 18 Dec 2016 18:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=hwWeMVRn9WdG83WPO5oODFrhZsqqsZ+0jFX7+0XYRII=; b=H5V17kUY9UG75FFdHmFaIuojrADzzYOgpqUyjSF848iunc8Uw4MgS/QGQ7sQw7Kapn mfATLBeCChg5xDaVur3RwzGljH3w3v4Lv7LLH9lq8PsDeNv7mOAhV34xWEC09WqeX2gi DKF05pRCTNew6nqj0C1JAcWAhf4qlp9n57Zl5302MQF5ZZMwkQ8iN4Oyc9Nf7D+C13l7 MKa1xZ2wsiMYOXQwxWHsOp+Py9ejBiVkOzTE7VibZmK9FuIiEmRn6yHLdl6maEgAwEaY qL7MmIVHF/RF5hO/hwPWP2b0+O7R2S2HHMV/y6DWDBQ8iC5WqW11AP18+02pYfReXXHK 0/qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=hwWeMVRn9WdG83WPO5oODFrhZsqqsZ+0jFX7+0XYRII=; b=AgP4ScVONOtKDymWQsnmfpvn8bvsxOQb97GmrsbaUw9MC3Y51TGLsNuRPoDvRdhzQl w1wce1PphuTifCswpNNqeS0oVzeS54CUZlWaD7f1XmAb9eUPb13t6XNXQD0kFeZA+DeH AXJu/n5AMiBYoD+8Mo+KKIf1b7JuXk0+JCVMNzqR155xPJqXs8V2JOlRHPna/Qc3k1i5 K6anOVHHcbCx6dJbZTOwOM8E2H7H4z3Ll3d/aLx4tpRc8gjvkwwgEUjGSxskgdoiHqFF 847w709DRfF9U/rnrmQyU1TFG8mNb8inlMz/tUui/TdLqVgO62PLHyqq/8nosRNbi0dI HYvg== X-Gm-Message-State: AKaTC01FqbdyYu/CHLJwFGESwuvqUQY3dZ0UU37xSu5q+m1Dx7cqmxJg/ehHZ/S0r/kRTw== X-Received: by 10.98.160.140 with SMTP id p12mr12841075pfl.122.1482114404511; Sun, 18 Dec 2016 18:26:44 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id a66sm24694071pfa.64.2016.12.18.18.26.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Dec 2016 18:26:43 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, joro@8bytes.org, geert+renesas@glider.be Date: Mon, 19 Dec 2016 11:19:50 +0900 Message-Id: <148211399048.8020.7153630286323992170.sendpatchset@little-apple> In-Reply-To: <148211397261.8020.4659661835061990009.sendpatchset@little-apple> References: <148211397261.8020.4659661835061990009.sendpatchset@little-apple> Subject: [PATCH v2 02/02] arm64: dts: r8a7795: Hook up SYS-DMAC to IPMMU Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Hook up r8a7795 DMAC nodes to IPMMU-MP1, IPMMU-DS0 and IPMMU-DS1. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart --- Changes from V1: - None arch/arm64/boot/dts/renesas/r8a7795.dtsi | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) --- 0002/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2016-12-19 11:03:23.310607110 +0900 @@ -368,6 +368,14 @@ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_mp1 0>, <&ipmmu_mp1 1>, + <&ipmmu_mp1 2>, <&ipmmu_mp1 3>, + <&ipmmu_mp1 4>, <&ipmmu_mp1 5>, + <&ipmmu_mp1 6>, <&ipmmu_mp1 7>, + <&ipmmu_mp1 8>, <&ipmmu_mp1 9>, + <&ipmmu_mp1 10>, <&ipmmu_mp1 11>, + <&ipmmu_mp1 12>, <&ipmmu_mp1 13>, + <&ipmmu_mp1 14>, <&ipmmu_mp1 15>; }; audma1: dma-controller@ec720000 { @@ -401,6 +409,14 @@ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_mp1 16>, <&ipmmu_mp1 17>, + <&ipmmu_mp1 18>, <&ipmmu_mp1 19>, + <&ipmmu_mp1 20>, <&ipmmu_mp1 21>, + <&ipmmu_mp1 22>, <&ipmmu_mp1 23>, + <&ipmmu_mp1 24>, <&ipmmu_mp1 25>, + <&ipmmu_mp1 26>, <&ipmmu_mp1 27>, + <&ipmmu_mp1 28>, <&ipmmu_mp1 29>, + <&ipmmu_mp1 30>, <&ipmmu_mp1 31>; }; pfc: pfc@e6060000 { @@ -567,6 +583,14 @@ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>, + <&ipmmu_ds0 2>, <&ipmmu_ds0 3>, + <&ipmmu_ds0 4>, <&ipmmu_ds0 5>, + <&ipmmu_ds0 6>, <&ipmmu_ds0 7>, + <&ipmmu_ds0 8>, <&ipmmu_ds0 9>, + <&ipmmu_ds0 10>, <&ipmmu_ds0 11>, + <&ipmmu_ds0 12>, <&ipmmu_ds0 13>, + <&ipmmu_ds0 14>, <&ipmmu_ds0 15>; }; dmac1: dma-controller@e7300000 { @@ -600,6 +624,14 @@ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>, + <&ipmmu_ds1 2>, <&ipmmu_ds1 3>, + <&ipmmu_ds1 4>, <&ipmmu_ds1 5>, + <&ipmmu_ds1 6>, <&ipmmu_ds1 7>, + <&ipmmu_ds1 8>, <&ipmmu_ds1 9>, + <&ipmmu_ds1 10>, <&ipmmu_ds1 11>, + <&ipmmu_ds1 12>, <&ipmmu_ds1 13>, + <&ipmmu_ds1 14>, <&ipmmu_ds1 15>; }; dmac2: dma-controller@e7310000 { @@ -633,6 +665,14 @@ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>, + <&ipmmu_ds1 18>, <&ipmmu_ds1 19>, + <&ipmmu_ds1 20>, <&ipmmu_ds1 21>, + <&ipmmu_ds1 22>, <&ipmmu_ds1 23>, + <&ipmmu_ds1 24>, <&ipmmu_ds1 25>, + <&ipmmu_ds1 26>, <&ipmmu_ds1 27>, + <&ipmmu_ds1 28>, <&ipmmu_ds1 29>, + <&ipmmu_ds1 30>, <&ipmmu_ds1 31>; }; avb: ethernet@e6800000 {