From patchwork Tue Sep 26 10:05:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9971615 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 38E5060393 for ; Tue, 26 Sep 2017 10:06:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4917A28E66 for ; Tue, 26 Sep 2017 10:06:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E40328E6B; Tue, 26 Sep 2017 10:06:20 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 EF06528E68 for ; Tue, 26 Sep 2017 10:06:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967969AbdIZKGT (ORCPT ); Tue, 26 Sep 2017 06:06:19 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:54386 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965482AbdIZKGS (ORCPT ); Tue, 26 Sep 2017 06:06:18 -0400 Received: from avalon.guest.par1.mozilla.com (unknown [IPv6:2a00:8c40:243:232:120b:a9ff:fe3c:7148]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 1E9A621481 for ; Tue, 26 Sep 2017 12:06:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1506420366; bh=buLUTajTvzzQnBmQWnpiHDjzqqS/lR4F7oRyJx80HzU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kvCniEig+KGZVAsRV73AiONyi3xWTAxL4YNHOh4up2ETosvKp0KBH81378WWI/Nkx QDjtznrRYs/yijP8qUkqoAWiLcPfpo0rJuuy69Z+A3eeyLt+c09n5gqR66JrqdGJ+q nEgFkOK7qX+C0EPGdOcATGuNEmTtT+pITUrqveEA= From: Laurent Pinchart To: linux-renesas-soc@vger.kernel.org Subject: [RFC 07/13] arm64: dts: r8a7795: Add dma-ranges property in the /soc node Date: Tue, 26 Sep 2017 13:05:59 +0300 Message-Id: <20170926100605.2313-10-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170926100605.2313-1-laurent.pinchart+renesas@ideasonboard.com> References: <20170926100605.2313-1-laurent.pinchart+renesas@ideasonboard.com> 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 DMA address translation requires a dma-ranges property in bus nodes. While some operating systems work around the absence of such property in an attempt to implement compatibility with incorrect DT, the property is nonetheless required. Add the dma-ranges property to the /soc node that contains all on-SoC peripherals. The bus supports 40-bit DMA addressing without any address translation. Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index c55003563f61..e6a008d9d5f8 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -222,6 +222,7 @@ #address-cells = <2>; #size-cells = <2>; + dma-ranges = <0 0x00000000 0 0x00000000 0x100 0x00000000>; ranges; gic: interrupt-controller@f1010000 {