From patchwork Thu Feb 22 19:06:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10236157 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 422DA602DC for ; Thu, 22 Feb 2018 19:07:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36D0F28A72 for ; Thu, 22 Feb 2018 19:07:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B16C28BCA; Thu, 22 Feb 2018 19:07:10 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 C146028A72 for ; Thu, 22 Feb 2018 19:07:09 +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=651r8V2BaF1e85fFyMck7+7BacRr3lPiZA0/dDvKTuk=; b=HQD9ng8Afg0Y+Srx9sYZRJ9z05 GkT5hSz+aI6Mo5IzK21vynNCoDNAko34WBsWLj5TdpDZgc2NvrgwhwRrjsSWY9MFfg5Wv0eVQSMWk CrpEa2Meu2+cH1+/vH346XAOo/vpFiasbfRDMbxy05IKRu6otFk8GpdBVY4fcb1a+4X4z2hk8Dit/ 3nDRaDzwJbp+V0rAUbtK7GLYRozdqqDqav/OXB7jLKUy8TrV33fstJaW0NdIcdOXqDrw/LpcBoOUz Y1IWIm+ooJa/QDsjr/WzVEHklGDN4Hwz9ZStlPudmPQ6z0RUPTa9UhpLcZvn4EeMoblPPOked5doB dKp9PU5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eowCr-00086e-IL; Thu, 22 Feb 2018 19:07:01 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eowCk-000844-FI for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 19:06:57 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_110654_656263_1F47B7DD X-CRM114-Status: UNSURE ( 9.24 ) 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: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Jacopo Mondi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 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 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 {