Received: by 10.223.185.116 with SMTP id b49csp2066652wrg; Thu, 22 Feb 2018 07:40:08 -0800 (PST) X-Google-Smtp-Source: AH8x2244bSNY+P1ySmjs0zMqFMxObXhx/wmSYaCeFCRS5jmdNfh0NOH67GqOwlmVXZYlpV5NwEKK X-Received: by 2002:a17:902:b711:: with SMTP id d17-v6mr6933410pls.23.1519314007995; Thu, 22 Feb 2018 07:40:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519314007; cv=none; d=google.com; s=arc-20160816; b=cIbaYFlxgEh/zOSKI5lLSOC+37NEw3aZBXY9nbGBWEXjtJzpVOrpSWxg0777CAmwgv TnEn7na9LCAj5RGDMVNntAuiKki39Iqh3KkjIf4zJmFvSB/maWPAelgY45ftFOYcTAuo puaGW+Yan3etqlC3UJ+Sjpx7/7pFoiIgBqJglv6w0E68UEnXxLiF8tWCxM/BmZlv+3Jv Tj7dC2PorYrYAKeXOPhXvCPKdWib8qCa6ch+nEa9Q87jxeDQCJZ9GCVlhmf4BJZ6I1ma Ah0pHQcaZBVGl70LUbYycRZF1t3BUksRlQ7mRRh06gtF/LY9yvT9ONzVKs+0r0LAhNnr /Mzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qofHhEfOG4rt7VAzJs69B0GkA0SOGTVYL2TMpDYpvuM=; b=lqqi2mVCjQCJFzmMVmEZWk+XVu2I+jMtYcnE8I5VE4oPNLwI1rihsLc022yoPfCIPd oj19TA8uqBuf1pFaKVN4kqKmHPAs/FNntmpwE3bR/XYsNuDrzppLUSGlQo0mZky2jb5r T3gDDYIwT1QU69GyH5w0rbqZaEO75/FLFFIMDDwyI/WhNE81GflNje38EHQFxLz+v6FX g5ERiOYmLTrOsFCVER1119eZmZPlo4VlwHmwLuCYaIuw++ti+4WqXsvHU1oekwdQ9/QQ avAA5aHkxxt9qO+KDd3YZyXFflVE/1y9NPsb8tx5tRkajF4KhbWWWZ0yMNsN9g74Z9Yr VpsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=pTCxvSGt; 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 p64si135100pga.789.2018.02.22.07.39.52; Thu, 22 Feb 2018 07:40:07 -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; dkim=fail header.i=@verge.net.au header.s=mail header.b=pTCxvSGt; 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 S933053AbeBVPiq (ORCPT + 99 others); Thu, 22 Feb 2018 10:38:46 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:40637 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932919AbeBVPio (ORCPT ); Thu, 22 Feb 2018 10:38:44 -0500 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id E76DE25B756; Fri, 23 Feb 2018 02:38:41 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1519313922; bh=wN3s5pSDZM02dnhQPAg/B8vaQPSjaTRjQmDoF49RiGc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pTCxvSGtWO19PkVqm7GUrMo+NPTjO8bPgWp84pN/oEjM7ia2NUnFtgyyTjnqtOgNI q/rG6AKwbUOKP70nwlYee5SVehk+cY3Fd1WYguZHT2Focmz1qkzF+azMq9sbE6BUBw 3FeQqFxtBmAiHFJSvPVot8HB8xw/aVY0G9PpsLKw= Received: by penelope.horms.nl (Postfix, from userid 7100) id B7A89E21501; Thu, 22 Feb 2018 16:38:24 +0100 (CET) Date: Thu, 22 Feb 2018 16:38:24 +0100 From: Simon Horman To: Geert Uytterhoeven Cc: Arnd Bergmann , Jacopo Mondi , Magnus Damm , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux-Renesas , Linux Kernel Mailing List Subject: Re: [PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support Message-ID: <20180222153823.62bd7xfh7gj75x5j@verge.net.au> References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-10-git-send-email-jacopo+renesas@jmondi.org> <20180221171504.dac7yikrqfnjiiog@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 02:28:46PM +0100, Geert Uytterhoeven wrote: > Hi Arnd, > > On Thu, Feb 22, 2018 at 12:39 PM, Arnd Bergmann wrote: > > On Wed, Feb 21, 2018 at 6:15 PM, Simon Horman wrote: > >> On Tue, Feb 20, 2018 at 04:46:23PM +0100, Geert Uytterhoeven wrote: > >>> On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > >>> > Add basic support for R-Car Salvator-X M3-N (R8A77965) board. > >>> > > >>> > Based on original work from: > >>> > Takeshi Kihara > >>> > Magnus Damm > >>> > > >>> > Signed-off-by: Jacopo Mondi > >>> > >>> Reviewed-by: Geert Uytterhoeven > >> > >> Thanks, applied with prefix updated to > >> > >> "arm64: dts: renesas:" > >> > >> There was some fuzz applying this patch, the result is as follows. > >> > >> From: Jacopo Mondi > >> Subject: [PATCH] arm64: dts: renesas: Add R-Car Salvator-x M3-N support > >> > >> Add basic support for R-Car Salvator-X M3-N (R8A77965) board. > >> > >> Based on original work from: > >> Takeshi Kihara > >> Magnus Damm > >> > >> Signed-off-by: Jacopo Mondi > >> Reviewed-by: Geert Uytterhoeven > > > > Something went wrong with this patch, I suspect it's missing some prerequisites > > that fill in a few more device nodes to avoid these warnings in linux-next: > > > > arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning > > (reg_format): "reg" property in /soc/ethernet@e6800000/ethernet-phy@0 > > has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) > > [...] > > > Maybe just take out the patch adding the .dts file for the time being until > > the important nodes are all in place? > > Removing the .dts file removes the ability to boot the newly added board... > > The issue here is that we are sharing board .dtsi for boards that can be > equipped with different pin-compatible SiPs (Ri-Car H3, M3-W, M3-N), while > not all SoC support has been enabled and/or tested. As the board .dtsi > references on-SoC devices using phandles, the new r8a77965.dtsi declares > placeholders for the devices that are not yet enabled/tested. > This worked fine for r8a7796.dtsi before, but causes dtc warnings due to > recent improvements in DT validation. > > I think the simplest way to fix this is to add reg properties to the > placeholders, as Simon did for the last two placeholders in r8a7796.dtsi in > commit 4316989537a6ed53 ("arm64: dts: renesas: r8a7796: add reg properties to > pciec[01] nodes"). Hi Arnd, Sorry for letting this slip through. I think the best solution is an incremental patch on top of the renesas devel branch to, as Geert suggests, add reg properties to the placeholders. I've asked Jacopo to prepare such a patch.