Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3474467ybz; Mon, 20 Apr 2020 03:32:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIHYHva+4hckIcym4Ef+Moa+NhNFmtSeSXXQsGqag74rVUnXYPAo61q9ZG10uZtS1O0frsK X-Received: by 2002:a17:906:4406:: with SMTP id x6mr15759678ejo.160.1587378760165; Mon, 20 Apr 2020 03:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587378760; cv=none; d=google.com; s=arc-20160816; b=LQKoF0RjL8QyU40XS3K0oxvzFdu6vTYQwaJlBeTq/AED9zpD3nFu1gtS95U15F0Gxg RkwSH4SJ70oaULHiGDi+bsV6y007tc26HfX/FNzQhfCv8GUIaB1KJrIDmixTtdYS2kQk Bo+S5O/x+oYhGWKoB5unVNYKWKOe24KznqFyU6kZaMTCwxEq6qJpunkIXAk2F0bwbEFY 0Xdja9d15xmtE3QMHXBluBwTacNYUE+8A2ZXH4fVB5y5Ovsa33y0F43dOzfwumev0piB 2l7LXhjilaxfHctkf239FcOr0XY+M8HpzKH2laglKXJAMSQyprHxGIQOpEO39GAyazgJ LHgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PYaSQMnHKQfZMv8t7LivbnAZz3zsgwYj/tCiZgyM9d4=; b=K3q/+Ab4Pi8qfQcEnxqFcNI8HIxkfx35C+aRhQbVKE1k1Jl+xWgn+zNDiwjC3JCV8h 83mnyH2eYCfrXmX7V89wSiVf4l687liwvC9sidsP0ayURZ4JRKOpYmb6JdiLOnj1i3zF PG9IvJ5Lv8aak4xnLcWc2PE8N+Dsbrnv3Pwi7Q3SJ2k2/knqQLv9pkKATvJMEvyfshyA vxBYi0B2KKZ8wUrVyf+cGl7YsPQ5rVB2NavJlJ84/Xl3XtD5tm4fgiS+h1vngxb0bGko bAjH3wu/sJVaA54ZTJk1cX+Kp33xpTgQ07iPhRmdpu3yA1Iqguqp/KoIwOru4Pqbj08l AJiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=NwqsVU23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn4si283038ejb.209.2020.04.20.03.32.17; Mon, 20 Apr 2020 03:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=NwqsVU23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgDTKbT (ORCPT + 99 others); Mon, 20 Apr 2020 06:31:19 -0400 Received: from vps.xff.cz ([195.181.215.36]:53412 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbgDTKbT (ORCPT ); Mon, 20 Apr 2020 06:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1587378677; bh=/yBEOQg36NmTB26lwG9esRHwBVVu8AY1wtn2VnP7cZU=; h=From:To:Cc:Subject:Date:From; b=NwqsVU23pOZdrdNtM/TxIjsLxRszSZsNu4I7tPd1CyESi2GXRZ7Vm6ZPODjjvUgB7 RRbLUbxzbXyQ393pRruYQbWBecGl/oapIgYDj1OIGfMZUIanelMIPI69Ze1dSYNncU EGnTh2JZncF1SA7sTFOkc/O6pB215RLpFG6ow1dw= From: Ondrej Jirman To: linux-sunxi@googlegroups.com Cc: Ondrej Jirman , Rob Herring , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] arm64: dts: allwinner: sun50i-a64: Add missing address/size-cells Date: Mon, 20 Apr 2020 12:31:13 +0200 Message-Id: <20200420103113.577969-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The binding specifies #address-cells and #size-cells should be present. Without them present, dtc issues a warning because default for #address-cells seems to be <2>: arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1108.4-52: Warning (dma_ranges_format): /soc/dram-controller@1c62000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) mbus #address-cells should be 1. Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index cca4261089aa..61698094f450 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -1105,6 +1105,8 @@ mbus: dram-controller@1c62000 { compatible = "allwinner,sun50i-a64-mbus"; reg = <0x01c62000 0x1000>; clocks = <&ccu 112>; + #address-cells = <1>; + #size-cells = <1>; dma-ranges = <0x00000000 0x40000000 0xc0000000>; #interconnect-cells = <1>; }; -- 2.26.1