From patchwork Thu Dec 7 09:53:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10098223 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 A195A60329 for ; Thu, 7 Dec 2017 10:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D43029875 for ; Thu, 7 Dec 2017 10:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81E3B2A1E8; Thu, 7 Dec 2017 10:20:27 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 01F2E29875 for ; Thu, 7 Dec 2017 10:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dRTfPl91mnsWh2brxK4XQyvv4tepO6RmiUasOyprdTg=; b=BzgeAphhtC+Kv/4/CfhoEF54z7 rtQhHOvGl2FyGmKH2zbYeymfeUJEaOUpuZOJv/DZFUobhyDpbkNa0cydqGKEoZkm7P68qTHhZqP2z Ty7vxqrdUTL6P7tI0a62s26qmmowcQFEkTDK5bGpoKJ9gbCQmJprVfQjc8tGnj99Rtc7cuxDGo16i BUSVaeHQl8/6IvhIqDVbpmVAOF+wJvUyB2Iqu5ETjJ4O8woZP1FYt2eOzeRHNWag/EiEfQwU2V4VG SW0BsU3SDDQX5U/IEmPhEla18BUQlCvxdxN9fzcmGLpPIUpx03i4pp9JaeK7cEI++Nc08ljU2MYpS raZktpiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMtHs-0007Q7-0r; Thu, 07 Dec 2017 10:20:16 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMt4k-00077L-Tu for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2017 10:06:49 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 9C05D25BEDA; Thu, 7 Dec 2017 20:54:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1512640497; bh=9dTVzR+Nj6h2BSqOyW9XdGYuKZVe6LyEpmiw0tdffTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zt3a9DCKB8EINZTdx3Q5xTHcMp0tVdZUdd6j2CqQgCh+Xgw7eABcr5MAFtns8RtQR v+qab46Z6M6x8h04zX/35F/+bmfaaSE5/Y60S1ay2PCfxD6V4XFWYNZ+wGwmkcp+kB /D+AtutErX9S7qCvufLdxYsnGoqJY+n2okjERriY= Received: by penelope.horms.nl (Postfix, from userid 7100) id 11AF3E22065; Thu, 7 Dec 2017 10:54:03 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 27/54] arm64: dts: renesas: r8a7795: Point VSPBC/VSPBD via FCPVB to IPMMU-VP0/1 Date: Thu, 7 Dec 2017 10:53:30 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171207_020643_551282_00066696 X-CRM114-Status: UNSURE ( 7.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Magnus Damm , Magnus Damm , linux-arm-kernel@lists.infradead.org, Simon Horman MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Hook up the FCPVB devices to allow use of VSPBC/VSPBD with IPMMU-VP0 and IPMMU-VP1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 4 ++++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 736281335653..3d50627c0670 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -151,6 +151,10 @@ <&ipmmu_mp1 30>, <&ipmmu_mp1 31>; }; +&fcpvb1 { + iommus = <&ipmmu_vp0 7>; +}; + &fcpf1 { iommus = <&ipmmu_vp0 1>; }; diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index f7d7c98a7f73..35efacd1ec21 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -2062,6 +2062,7 @@ clocks = <&cpg CPG_MOD 606>; power-domains = <&sysc R8A7795_PD_A3VP>; resets = <&cpg 606>; + iommus = <&ipmmu_vp1 7>; }; fcpf0: fcp@fe950000 { @@ -2099,6 +2100,7 @@ clocks = <&cpg CPG_MOD 607>; power-domains = <&sysc R8A7795_PD_A3VP>; resets = <&cpg 607>; + iommus = <&ipmmu_vp0 5>; }; vspi0: vsp@fe9a0000 {