Received: by 10.223.185.116 with SMTP id b49csp712975wrg; Fri, 23 Feb 2018 05:44:11 -0800 (PST) X-Google-Smtp-Source: AH8x225F4b1/GgJ6/NqoNB1iPWrfnc2uR/+YMiZARzf2T96Y1RiTUBATUT2uVGzKpuA7VPU2m3Th X-Received: by 10.98.15.15 with SMTP id x15mr1872175pfi.116.1519393451656; Fri, 23 Feb 2018 05:44:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519393451; cv=none; d=google.com; s=arc-20160816; b=WirjpY9I1CYgkbU5azg9/2bqgBY7cXkE4rO6A5eQp7Q8P/hvHfMmeBayUJxcBu2l7F Tg8hgm+gylZH1OVq+5L+54z/p8KRptzisHHrQ5NuIa6dkB31eMsICKsmrF5TD9nPvtI/ Zz/upDQ9MI7AlNcY+DTmrRyBkimQL3L6PsDi1O4cLYOKKukli2uMvURaGoSwmiRpiU/h oCxOxxYhkq5dLcjTPgzdx2HCVpS4/8YouuZpfl1dXp8+XG8yjGvcZ/gGW5xY6Qlaekce uHI/s4yZSIC0z3fMGDLg+vzAzHR4P3UV4kAgmkBhGa5bsgHP5PyccxFMr8PaSm+nRWPI cMbA== 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=na4BjcYZIiPbSC/eM0BuEN6eqGVOc3pA/GkA10NT+YI=; b=eS5MTqjPdz2PPx/g31pdYNmiuKUWydWaFyVr0FN5MeimEVI9l/u2nkAsa8+qo8VtNQ NpeZHTbNi42es7i7pY1v+jNDknVHWQI0Rdo9bd83vfUPooxd/49IMkJxMIylFjtcfu3G F+juPutxbOMSt9Cn4GAVPxSvfoexYOxS+MV3t2fpNDJ27R8kJuaT5cJBdylLbsC80xFX yxkX3e+tV3ZNS39mX6wzHwwO5JzkDbkP36i5eErG/RjSlDbXiVfgCdZqQmOVVapRRAm5 P79lemHEJdKwV5ZIhEnxJEz50qyh0DS39zwQtYH3GPVdke6j00n9KkA9mNjAOUYEz1Ls HY0w== 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 x21-v6si1812481pln.416.2018.02.23.05.43.57; Fri, 23 Feb 2018 05:44:11 -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 S1752119AbeBWNlg (ORCPT + 99 others); Fri, 23 Feb 2018 08:41:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53717 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752095AbeBWNld (ORCPT ); Fri, 23 Feb 2018 08:41:33 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:ed2a:c39d:53ba:1f0b]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 0BD6DA8102; Fri, 23 Feb 2018 14:41:28 +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 v2 2/7] arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells Date: Fri, 23 Feb 2018 14:40:54 +0100 Message-Id: <1519393259-26108-3-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519393259-26108-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519393259-26108-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 Reviewed-by: Geert Uytterhoeven --- 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 4286453..61efb2d 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