Received: by 10.223.185.116 with SMTP id b49csp809806wrg; Fri, 23 Feb 2018 07:09:41 -0800 (PST) X-Google-Smtp-Source: AH8x225rW0TMAAgZjRfaU2gsKeG3biSPUFYtJenabsVSrdHAUltqAte4yXrVXdcyMY6d2Ij/Qqz4 X-Received: by 2002:a17:902:6504:: with SMTP id b4-v6mr2006004plk.451.1519398581643; Fri, 23 Feb 2018 07:09:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519398581; cv=none; d=google.com; s=arc-20160816; b=k0RLSkLy+LqaU2DWem3lJEyyXgDROHfZ0/wmBaCBFP/uGXvlOdhteBXfI6O4OkcCvT RlH3x2RLZJjC1KoTRHluhticZD3Tjk0YNqP+M8sQpiYsEZ5qqKCtq/1aI4pycmNMvkd7 tdrKIsXZnyiyIvPrGi+3ZDIjnlFRakNZRGD7cgBWD4gP84xXL0TFLs2yqMTD3rsPP2HZ U3XtA33SMCO1azGMhoYdh5cvQtwDps6voHNLm8ZTAV8ZS1nbPgGInfCqydTJpo18Hiqz YK1OYBS/gOa6MxZPsRWSUMbcGDuac8UPewVvrH4WJTuEyuMtbKUTBOXZJYYnYl4d8HF4 OaJw== 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=cpmUMWUKGWpXoPZfU5cNmvmq4nIH1rJHi/cmFDTPQOk=; b=waCtE964N8kpXVINsEqy78KntGfkTpnxN8aeqsWFqntsC4MJlgIoGHk71NiyAYnQ3m 21SUQ/7WdbmGs0UDn6US7lg39Ul0cEK4CoEC92fOeb0Eh/hDh5CbJSeLkeTWVgRWYeFc WSEUlOJrQfFDSTZ9F+dc6rylUcdQfEM8/kryR3I77+cAMqSd0qYqZUXjZx6Nl8YPfyt9 u6w1k67BLMTiJL8SwA+sMVLMh6/TUQ5cxX5JK2EV1fvbzRcYLAokcteZHSmcNi4YKlRE igsuKSlMg2SfysEXp6upvmNfOtKTkAMQxgYaAQO/VlNVgh3Ef1aoyqm9zY8pcGQgHxj/ VjTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=gy+/iGzJ; 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 h34-v6si1905766pld.26.2018.02.23.07.09.27; Fri, 23 Feb 2018 07:09:41 -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=gy+/iGzJ; 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 S1751956AbeBWPHn (ORCPT + 99 others); Fri, 23 Feb 2018 10:07:43 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:52789 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbeBWPHj (ORCPT ); Fri, 23 Feb 2018 10:07:39 -0500 Received: from reginn.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id D417E25B74C; Sat, 24 Feb 2018 02:07:37 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1519398458; bh=EHCdKR8XEahYIt690CYv9lyidvD6aE2p7r0womQ4GLc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gy+/iGzJ6+mdKFBa+0UkZYOytBbojjNl62hmjbSH1gyYf2tKqlmisuM/qznCdGW0v QNKYdRHTvZfoE/C+FDrkLgxZxb16zL8Cepm3/v/lB2NPcGl/tynrwRgygc+ekV9S22 nqPfSmjXdiG3U5qkElDhkhoZw4IwxYD/g+xjScgA= Received: by reginn.horms.nl (Postfix, from userid 7100) id 9AAC1940328; Fri, 23 Feb 2018 16:07:35 +0100 (CET) Date: Fri, 23 Feb 2018 16:07:35 +0100 From: Simon Horman To: Geert Uytterhoeven Cc: Sergei Shtylyov , jacopo mondi , 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 19/19] ARM64: dts: r8a77965: Add EtherAVB device node Message-ID: <20180223150734.7ogbdjczcm4hb3oj@verge.net.au> References: <20180221100716.GF7203@w540> <20180221173106.vgyshbz3kkc4p3cu@verge.net.au> <321c6c8c-8853-ac00-7567-c0be82b510f4@cogentembedded.com> <35959135-cb3b-040a-1944-26845e0c07b0@cogentembedded.com> <20180221182340.wvdvgtv5pw7pvd3v@verge.net.au> <20180222155411.gnn42poawtlf3rze@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 Fri, Feb 23, 2018 at 08:06:11AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Feb 22, 2018 at 4:54 PM, Simon Horman wrote: > > On Wed, Feb 21, 2018 at 09:53:58PM +0300, Sergei Shtylyov wrote: > >> On 02/21/2018 09:23 PM, Simon Horman wrote: > >> > >> > ... > >> > > >> >>>>>>>> + clocks = <&cpg CPG_MOD 812>; > >> >>>>>>>> + power-domains = <&sysc 32>; > >> >>>>>>>> + resets = <&cpg 812>; > >> >>>>>>>> + phy-mode = "rgmii-txid"; > >> >>>>>>> > >> >>>>>>> Why not just "rgmii"? TX delay is a board specific detail, no? > >> >>>>>>> > >> >>>>>> I admit I took this one straight from r8a7796 dtsi. > >> >>>>>> Would you like to me resend and change this? > >> >>>>> > >> >>>>> Yes, unless Simon would fix it while merging... > >> >>>> > >> >>>> Can I confirm the desired change is s/rgmii-txid/rgmii/ ? > >> >>> > >> >>> Yes. > >> >> > >> >> Apparently that means that this prop should be overridden in the board file > >> >> (which may not be an easy task given the board is Salvator-XS again). > >> >> > >> >> [...] > >> > > >> > Can we override it in r8a77965-salvator-x.dts or r8a77965-salvator-xs.dts? > >> > >> In salvator-common.dtsi most probably -- it has the PHY data for Ether AVB. > >> > >> > I feel that I'm missing an important point here. > >> > >> Well, r8a779{5|6}.dtsi also have phy-mode = "rgmii-txid" (which was > >> unjustified in my current understanding). Thus such board override > >> wouldn't hurt them. But we lack a patch modifying salvator-common.dtsi > >> in htis series, so I'm now thinking a respin of this series is needed > >> anyway... sorry for being unclear. :-) > > > > While I've applied other patches in this series I have > > not applied this one - mainly to allow this discussion to conclude. > > > > Is an appropriate solution to do the following? > > > > 1) Atomically update > > a) r8a779{5|6}.dtsi to use "rgmii" and > > b) salvator-common.dtsi to use "rgmii-txid" > > 2) Update this patch to use "rgmii" > > No need for atomics. > It can all be done by patches touching single files only: > 1) Add "rgmii-txid" to board .dts(i) files, > 2) Change s/rgmii-txid/rgmii/ in SoC .dtsi files. Sounds good. Jacopo would you care to: a) Implement the above rgmii-txid / rgmii update. b) Rebase this patch on top of that update and [PATCH v2 0/7] R-Car M3-N DTS fixes