Received: by 10.223.185.116 with SMTP id b49csp2287365wrg; Thu, 22 Feb 2018 11:09:30 -0800 (PST) X-Google-Smtp-Source: AH8x224d1Q5/9P//fi1Xi1rcnB45b7+r23W3fNJgVfvneqJNMvdPbUNP+KHAhxR8sMzPes0JSqI3 X-Received: by 2002:a17:902:3a1:: with SMTP id d30-v6mr7393241pld.409.1519326570770; Thu, 22 Feb 2018 11:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519326570; cv=none; d=google.com; s=arc-20160816; b=XK7cfe1JPYbuqsbvzC+MET/aLR6NG8lSvF4UoSTffCVY/lGkYQ9rvbK9zi+qGowZSm h87kurWUEbSLGmho4sTpZMI/xMi4NTY+DBFPkcIeqk7tItqqQ1YbR0u1yvQ7k8FyHeEe QDWn+JEL8e9KAiBwc5vGpnEo1o2xCsIWbDBf86OrDc5NGjkARUPZaWxN64sZYjaifJUD Bj3xAVYdO4S8B5DvGUZcbmA8q6u6yScOQVfXWreoNmj6E4L7O9puWvKh+qznlwMdI7zF A9DfqmImpX4iDn5KWpArvGsViy1JPGuKPBEWxw44QSwGL91kfF9KdURG1ORyJ/7LQn55 rkzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=zf38hZc+69SKZ+YcWujJSVuwZz5/tdE1VKbsQiUlQhU=; b=ATYn6PywUtUP5R8uS8sDJsHG2XFKDSnODGOddbqRFyjejP885wBbKWuY9F3cStuKs0 RhnVJgu268I0wDi92zoRMfchVbQDsQeUcGIjQJ2C5RR4vfvecjaUXyx8zyH8JMw7yH9U 4aY8olX81MJFFYhAV2FmtoPVmc/AaAWo9jm5ZWJB78QHUz0MilXSlqF74uoyqXZ7TJ6K Hxx/srAFzwvoPmxTN9jxgSMKD0W3F9slo0qHryvIChylIQRdJK+pJxUs2IguZVtNicMF 67rUGeC/uDJkWgBqVrr0Xu9D7onCs0KTWETB6ZX1b/OKmzYyQACa8sj31TmYjY5yDb4x OQbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si388901pgt.344.2018.02.22.11.09.16; Thu, 22 Feb 2018 11:09:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571AbeBVTIM (ORCPT + 99 others); Thu, 22 Feb 2018 14:08:12 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:34468 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751357AbeBVTGm (ORCPT ); Thu, 22 Feb 2018 14:06:42 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:3969:b0e2:8dc9:48c3]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 64C601720BF; Thu, 22 Feb 2018 20:06:38 +0100 (CET) From: Jacopo Mondi To: arnd@arndb.de, geert@linux-m68k.org, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells Date: Thu, 22 Feb 2018 20:06:06 +0100 Message-Id: <1519326370-15805-3-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519326370-15805-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519326370-15805-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add "#address-cells" and "#size-cells" properties to all place-holder nodes that have children nodes defined by salvator-x[s].dtsi device tree. This silences the following DTC compiler warnings: Warning (reg_format): "reg" property in /soc/.. has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/... Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/... Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 4d9bba9..ab46cd2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -521,6 +521,9 @@ }; avb: ethernet@e6800000 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; /* placeholder */ }; @@ -528,11 +531,21 @@ csi20: csi2@fea80000 { reg = <0 0xfea80000 0 0x10000>; /* placeholder */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + }; }; csi40: csi2@feaa0000 { reg = <0 0xfeaa0000 0 0x10000>; /* placeholder */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + }; }; vin0: video@e6ef0000 { @@ -611,6 +624,9 @@ }; i2c2: i2c@e6510000 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0xe6510000 0 0x40>; /* placeholder */ }; @@ -621,6 +637,9 @@ }; i2c4: i2c@e66d8000 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0xe66d8000 0 0x40>; /* placeholder */ }; @@ -636,6 +655,9 @@ }; i2c_dvfs: i2c@e60b0000 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0xe60b0000 0 0x425>; /* placeholder */ }; @@ -681,6 +703,9 @@ /* placeholder */ ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { reg = <0>; du_out_rgb: endpoint { -- 2.7.4