From patchwork Thu Jul 19 11:25:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10534205 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 8FB84600F4 for ; Thu, 19 Jul 2018 11:23:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DC04283FE for ; Thu, 19 Jul 2018 11:23:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 719B3294F9; Thu, 19 Jul 2018 11:23:22 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 01BE3283FE for ; Thu, 19 Jul 2018 11:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727541AbeGSMGD (ORCPT ); Thu, 19 Jul 2018 08:06:03 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:41890 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbeGSMGD (ORCPT ); Thu, 19 Jul 2018 08:06:03 -0400 Received: by mail-pl0-f65.google.com with SMTP id w8-v6so3512112ply.8 for ; Thu, 19 Jul 2018 04:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:subject; bh=Ufznwrxkeu+Xqon5HdoUySVZ4Ot/WhylwkVoisokilA=; b=CxtGaA1nni88ay4Btw+YINfXjbyDdV9qVkgU8R+ChHgv5/mGUeWEHaVTQ8OiDwzeKP n0GLL9cJlG6d2L8XwQIw2BwOThVn2BMoPEZqcqu+pA6cHS1OErkZAE1tjB/xJRr3V/zc BG0hWk8OR5RPiKsj7OuLs3av261AdWEF/rQhT6MQ8YIjxgsaagJsxI3Jw0PdX8YNBZLF MGsSiFtgMykOxMWemXIM4J7CPNy02uX6trNJ/SqPZ0zzFJ46NRIyYcv2UvOkpgPcR3/d iNRShgM9ErkljfJpTXuFgf4plroKeK476r6tvTOZmuwKGqEpIJUAOV1Nkl4EvHFaoMDE 1AIg== 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:subject; bh=Ufznwrxkeu+Xqon5HdoUySVZ4Ot/WhylwkVoisokilA=; b=KoWnSIM7IV4CR/yDYzuVvxP9jjMiHkY5oaqOGDAc4ysk6bC3N4fO3+oZ4ioYVPGctJ fq4fMc1F2UVB13FPxCQkRcxgTLWIHGWw8hrQkVEXOYgIbJN2+jjPCT8XIAq+h9ARplWW zy5nZRdLAqL46igWzjRTENAlBiH063MA3dg+sm4HeZP8gFiSU+21lnChr2COQcWKyE7F atLEJLT5H1UAWgLJUTqptHmWocaQHnU03rqotIyj+x0zR1Un5uJE5H1OPotCsTQZo3Mo WHEtOHLdHXtyRXApfMe9/FlU1NNhzb8I1vBqgq5NskOzloTatMMxItIffqvWGmwlQNI5 aSyg== X-Gm-Message-State: AOUpUlHswbfrcJu4xumS5PKiH8324yZTOkvmWr0nVtU72Mg5lPVF68V6 +mve31/mNK9M02LuMOsp9OQxWH3G X-Google-Smtp-Source: AAOMgpd9KcYhk6Z1Y1cSL7zqTzagbQVRZj8kfdTnArddAdJmmaQdGviGHaNSkpK57ug96EOLsyc84w== X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr9793167pld.104.1531999400453; Thu, 19 Jul 2018 04:23:20 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id p7-v6sm9596987pfp.168.2018.07.19.04.23.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 04:23:18 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Thu, 19 Jul 2018 20:25:25 +0900 Message-Id: <153199952510.10548.10726518369494565858.sendpatchset@little-apple> Subject: [PATCH] arm64: dts: renesas: r8a77995: Attach the SYS-DMAC to the 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 SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS0 and IPMMU-DS1 following the R-Car Gen3 Rev.1.00 (April 2018) datasheet. Signed-off-by: Magnus Damm Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- Based on renesas-drivers-2018-07-17-v4.18-rc5 arch/arm64/boot/dts/renesas/r8a77995.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77995.dtsi 2018-07-19 19:57:01.350607110 +0900 @@ -356,6 +356,10 @@ resets = <&cpg 219>; #dma-cells = <1>; dma-channels = <8>; + 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>; }; dmac1: dma-controller@e7300000 { @@ -380,6 +384,10 @@ resets = <&cpg 218>; #dma-cells = <1>; dma-channels = <8>; + 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>; }; dmac2: dma-controller@e7310000 { @@ -404,6 +412,10 @@ resets = <&cpg 217>; #dma-cells = <1>; dma-channels = <8>; + 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_ds0: mmu@e6740000 {