Received: by 10.223.185.116 with SMTP id b49csp628362wrg; Fri, 23 Feb 2018 04:23:53 -0800 (PST) X-Google-Smtp-Source: AH8x226hmzIx86nrdly43K3wqxZXDOIJ0whtDVH7sK56VmeBOpLjpj1QA4h/U1mv9UROGGRC+R6p X-Received: by 10.99.127.7 with SMTP id a7mr1339471pgd.52.1519388633231; Fri, 23 Feb 2018 04:23:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519388633; cv=none; d=google.com; s=arc-20160816; b=RgAy+T47+dSkyBZlmiNBFNmcGxAqbTtHIDtogRzD/3Ho7jPAZ1rym2meQFYx5kkloR 3ZXhuDTLsXFAYK5i+vU+SG/Lmx3y1e/SiJNWR8uTmrXpxPKx6WnjX/2VhORj/tXxAM81 S4gjid6Sg65MBsFANfqJ6IpQ912AX+wdjqCldGYfhjEURR5YrYLNZami0++qkDkd52PV g2vK6Arm2/+Io9k6tJ2Ac8UMTDh2r3KU3cJu354/nfxOJJQCwL30vmyYk6oav2Y2ueDN 5r69tdLBSybH5+wDMjN1htAAdMY4Kqd0LFsWHkTBx+LTcpKhP+7BUmQCXHenweASbLcv Qi8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=lOMnuCfllT9kizhMsgJ9wS8MyHU8dvfKRrIGsov2UJ8=; b=Hz5K/cOJNOZA5fJCDwi+8K4u/8zSUkrnbZuojLC+EaCX5uDZOpi5Rv6J2myJISelNY gQBQmSNJRfo68LtZzot+Y+Qopv/Z0VLcfs8SaAPUwZEHbQ7oTDyfHmK8IG7iJPx0mvfc zpS6ftcbbQ16WlZg2UHGDqV2nZhEVPTY58lXU7a4TwZ+i2BCWZ9X3yQwGnFU5ns+fy2s wsJehtyQTyXMngrEWGoiIA10ePTa9TpDRR7bqIJFSNuScLzRvj8p+uIvQAuvrFuslUOs Vxca4uQcUAZ47U9Qtiyc4p+dlSenHkmgVZfQOhc0IvDF4Y/Tk4TKcRQB5A+Wj87atYAE LHtw== 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 c2-v6si1699810pli.696.2018.02.23.04.23.37; Fri, 23 Feb 2018 04:23:53 -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 S1751475AbeBWMXB (ORCPT + 99 others); Fri, 23 Feb 2018 07:23:01 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51714 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbeBWMW6 (ORCPT ); Fri, 23 Feb 2018 07:22:58 -0500 Received: from w540 (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 E7028A80ED; Fri, 23 Feb 2018 13:22:52 +0100 (CET) Date: Fri, 23 Feb 2018 13:22:50 +0100 From: jacopo mondi To: Geert Uytterhoeven Cc: Jacopo Mondi , Arnd Bergmann , Simon Horman , 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 1/6] arm64: dts: renesas: r8a77965: Add "reg" properties Message-ID: <20180223122250.GP7203@w540> References: <1519326370-15805-1-git-send-email-jacopo+renesas@jmondi.org> <1519326370-15805-2-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Fri, Feb 23, 2018 at 10:19:21AM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > > Add "reg" properties to place-holder nodes with unit address defined for > > R-Car M3-N SoC. > > > > This silences the following DTC compiler warning: > > Warning (unit_address_vs_reg): Node /soc/... has a unit name, > > but no reg property > > > > Signed-off-by: Jacopo Mondi > > A few minor nits below... > > Reviewed-by: Geert Uytterhoeven > > > --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi > > > @@ -520,130 +521,163 @@ > > }; > > > > avb: ethernet@e6800000 { > > + reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; > > The first reg part would be sufficient for a placeholder. > I think even setting the size to zero would work... Not sure I fully got your point here. Do you mean I have to remove the second (and third, fourth...) addresses range block in all placeholder device nodes with multiple blocks (avb, du, rcar-sound) ? Do you mean I have to set to 0 the address length in all placeholder nodes? What's the point if they have to be added back once the device is enabled? > > > du: display@feb00000 { > > + reg = <0 0xfeb00000 0 0x70000>, > > Unlike M3-W, the M3-N DU has a third channel, so the size is too small. > Will fix in v2 > > + <0 0xfeb90000 0 0x14>; > > /* placeholder */ > > > @@ -703,38 +745,47 @@ > > }; > > > > usb2_phy1: usb-phy@ee0a0200 { > > + reg = <0 0xee0a0200 0 0x700>; > > /* placeholder */ > > }; > > To be moved up, next to the other usb2 devices? Will add a patch to move this next to other usb2 device nodes in v2. I will send v2 as soon as first review comment gets clarified. Thanks j > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds