Received: by 10.223.185.116 with SMTP id b49csp347021wrg; Thu, 22 Feb 2018 23:08:42 -0800 (PST) X-Google-Smtp-Source: AH8x224LBXrlDcxjtoirwxlZ5563/gr1Mrc4phQ39Ho65I09UcGUKFhq4IYlT3XiKKq7uEcx2JI2 X-Received: by 2002:a17:902:fa2:: with SMTP id 31-v6mr810386plz.346.1519369722317; Thu, 22 Feb 2018 23:08:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519369722; cv=none; d=google.com; s=arc-20160816; b=kJowC3lSr43YGW2mt0gsuUAfHtBkcQK7bTrmMamOM/p5jwlWOuSjwxMXIPATptsf9F gy4GYP1EpcPMlgTQmEBkr8bQzuZfxVSjtfqIeNjRyu7Si8aavhjsGocef3St5ftUYBcc XyfLft75UKHC/rbqxxLrNzncZykmJW9Tpu9sOoBXI5fD0Mg7b5VyHzgZhR67bQs8ji2C k7/DKlpW4ZUtlubpx67k/IKoZx526fKANNWbtLkCuNE3WYvDTUxSigkmJwpEHTZRHPiZ IOS+YfhhyPqIuYkjEvpXSJZFFxOfGC0ie622UqaaHDyf59bK/5V6zHQiOffQd7ia0UUx /Jsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=vWJhmvSbUzj59Ijt6TvT9oUKbRq1MXoDIoREDJhasic=; b=G4KhOsL7kEwMY2LySBYNQ+qrcpevgb2/uy2q/pp/tqNbKQv4uhegQutpAqYJuEmBsm I/asErE17CxR5yC4U0cmU0vtlWXiC3BW0Dp1OrYJc1tNU5wIofu1x2OPb5luOsLltQah FTM/0G1qSP/KLreQ34BaL0tBO/tZsNiC/EDlezXXjxiGSa8dtOgAOUF2mrsMYkgv4L8H e6s44rAaSOxGBm5YlkEq04VVQ0lcYupxegrZfYb2NWrWqUbau4dVjy/zcSwVJ7F5rrrf Xx/mfGoOWbxp6ZrO/mobdTpkOaQ+Owyk3tbHP4Hgg6aawn/1xfQj/SxV7/jy3VzVGhSd 4cxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=HVsWCCz6; 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 o190si1144760pga.553.2018.02.22.23.08.27; Thu, 22 Feb 2018 23:08:42 -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=@gmail.com header.s=20161025 header.b=HVsWCCz6; 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 S1751578AbeBWHGP (ORCPT + 99 others); Fri, 23 Feb 2018 02:06:15 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:37730 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbeBWHGN (ORCPT ); Fri, 23 Feb 2018 02:06:13 -0500 Received: by mail-qk0-f194.google.com with SMTP id y137so9676044qka.4; Thu, 22 Feb 2018 23:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=vWJhmvSbUzj59Ijt6TvT9oUKbRq1MXoDIoREDJhasic=; b=HVsWCCz6MZfbtfrjbHh1yB/Y7GFC9klugVTMPRHq3cX2C5+UJ0rZm84Gs3TCDHciXX mLO+ebOFOAc8kcUtvBUvrGPftsFmlMotkK4a0QKqwdDp773b0KU0JAfTbE9inodiynWL 3+uwSgHZG4fYpnGd6lVzulBAOooJkBnJDq83NYT6Wr8fo46Hr6R8a0MPmJyZF8bFFm8y /DZ0D7XfPp6akGQ2tL4lqtWE15v0OR2eDPaZpdBpwD1vT1G0X6492InNpK3f2AaxJXTH 8IUaNxtTSYjannUpT6SBPrxihqPYOe0zQgF9MaEsJv8fH+STJDx5EDu1OUtib0FbMjs6 hPBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=vWJhmvSbUzj59Ijt6TvT9oUKbRq1MXoDIoREDJhasic=; b=BvFKuEimUKnijAT5nO31ViXWwECk8zl5agqvh6bXjYFPUhdgHtjwugyrHerVSuxIsF LW1evyEq9T3TwOP2/zcSeqtGa+uLUmQ0RbSdkoddd+a6ZUMh3/CN+2WaOMVj2dglK53U c9RFuTi4rdNLQc0Vm5x838I/lpzfFv0Jc1yXo8ZqlC7Alpy6e2mO9GLjZ4yoaM/bjvga mxayl0NjJ391YApK39qoMRfxfTcAcVAP61ORqOkvESYwU8CcCG9R/cz/oCFclHb8EeoL aV2f3ErxgMu1fzFgM6ETs5JBnoJFovvMq51Y9WtLRN0LQ3t1q8uzca8/RTm61F6bXjg3 UcMA== X-Gm-Message-State: APf1xPA8SkY+VSXkmMK03NkCWLkmuQpO1hK4dJx/eGbPEgzm1lkSUzmd GvCoqUeO5D2zDe6OfnsuOO9kiuCwv/L7ZnH27FKAXU2W X-Received: by 10.55.79.19 with SMTP id d19mr1051196qkb.328.1519369572082; Thu, 22 Feb 2018 23:06:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Thu, 22 Feb 2018 23:06:11 -0800 (PST) In-Reply-To: <20180222155411.gnn42poawtlf3rze@verge.net.au> References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-20-git-send-email-jacopo+renesas@jmondi.org> <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> From: Geert Uytterhoeven Date: Fri, 23 Feb 2018 08:06:11 +0100 X-Google-Sender-Auth: gqWkx6LgD9BEJhZiyjfzKH0vh5Q Message-ID: Subject: Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node To: Simon Horman 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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