From patchwork Thu Mar 17 16:55:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8613251 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 301F8C0553 for ; Thu, 17 Mar 2016 16:52:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7199D201F4 for ; Thu, 17 Mar 2016 16:52:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B3D83201ED for ; Thu, 17 Mar 2016 16:52:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030836AbcCQQwd (ORCPT ); Thu, 17 Mar 2016 12:52:33 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35075 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030816AbcCQQwc (ORCPT ); Thu, 17 Mar 2016 12:52:32 -0400 Received: by mail-pf0-f179.google.com with SMTP id n5so127956041pfn.2 for ; Thu, 17 Mar 2016 09:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=NcMUb6mQn76Tw3wZziEpmnwcysMoZCb/IUYXoEICqh8=; b=Dav3n0tAvDUk8ogbZGjmToo4uZIPVCiNLphD5Z0Nyi9WStt9Vb0OF9WAFoLF2MscbU hBRg8/HKA1eB+rdR2USBHke0zR+c+UjoJJHQ9xvtFdJ/W9UGBBKz4XSk8neyHbhwl9pL YK+LXcxnDumU7AtpB3QiwqyE/cROvTKAsPZcQ3/gHrZxCORRceBPlLXKI52kErkTHEAP ICQ7/w4E53fK4FbFp0JOhPYKgbDjWRjX4uNB+dyKZZWyA5LaIRE4m0agRn6kWkBXBZ+s +SgTB6JQIXjtQif41UNYDow+jCk3FzJCJDrqiSkmXFDvFRoaUqP3pqodvOUwzl7Qdw17 tO2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=NcMUb6mQn76Tw3wZziEpmnwcysMoZCb/IUYXoEICqh8=; b=WOYmXsS4HknanCDCgogQVMq8xuABpJlwBKXIOT/UDe3OdQgfEP31fkAflWBgyXBDXA PreytuZ5C2H1GNopzhuQdyrPy7vCucwA0GCweI5AbQ8ZQsi2VkbMq6GAClX6Ckp65EeP GU3MuYigdzdO9h4ZJRzQD+8SbuNZUw2txqpe4OkKUwhHkS7nRi7aCwALMx1zDyDXASCn wYhf2cYdkhzsTflirXp/bNBSncBklViqDDWxnHpCsZAe1PWoT2PcBw2UVHT9xYCETXY0 fdf29Q13hsR2SosnG75d+/wGtQo/YZfHDj57zocFi3pDGCXMM00mFwm+TDv78yfrx4O7 082g== X-Gm-Message-State: AD7BkJJf/uSQpaVKaGwaI65xZxL8CPoAqsC+1sLsod7XHeRh08h4CpUjB8dR5DlCMcyvlg== X-Received: by 10.66.253.68 with SMTP id zy4mr16276349pac.81.1458233551517; Thu, 17 Mar 2016 09:52:31 -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 ux2sm14610534pac.46.2016.03.17.09.52.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Mar 2016 09:52:30 -0700 (PDT) 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: Fri, 18 Mar 2016 01:55:54 +0900 Message-Id: <20160317165554.28213.89797.sendpatchset@little-apple> In-Reply-To: <20160317165527.28213.60694.sendpatchset@little-apple> References: <20160317165527.28213.60694.sendpatchset@little-apple> Subject: [PATCH/RFC 03/05] 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-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.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 --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) --- 0028/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2016-03-17 18:52:03.720513000 +0900 @@ -319,6 +319,14 @@ power-domains = <&cpg>; #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 { @@ -351,6 +359,14 @@ power-domains = <&cpg>; #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 { @@ -517,6 +533,14 @@ power-domains = <&cpg>; #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 { @@ -550,6 +574,14 @@ power-domains = <&cpg>; #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 { @@ -583,6 +615,14 @@ power-domains = <&cpg>; #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 {