Received: by 10.223.185.116 with SMTP id b49csp2288210wrg; Thu, 22 Feb 2018 11:10:26 -0800 (PST) X-Google-Smtp-Source: AH8x227gQr10fhum2Ach1Yeukgc3KvLJoD87t0stmQE62+KxGkOUs7dyFAp3rTGdwmzUN+xS7hrs X-Received: by 10.101.97.207 with SMTP id j15mr6379019pgv.266.1519326626147; Thu, 22 Feb 2018 11:10:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519326626; cv=none; d=google.com; s=arc-20160816; b=oFlOMMfRY/ryb8QmafTQSPMY2bSldEecp2FQQxm6O+PFpeUG882MlXO+X56G2ad39v ZgCr0NNkJlaG+uYCwXRdUwUhMT03mo19dX6DGUEl6M3cSmMFW2L0iy9qMjLUE78D1uSi fC5dubq+0WiStQTxBLlCANntHbXmzEZlNdgPTii69BMftQM3I9TVDt6iU7g+P2jnX/Kk +Fi3FbhEphDO+SFzw8Mwbp4TqAXxJ9IQitGjb+/c5qEUw3TwtDYTIcGVc8akYVQOVKwI +8ZXSatPsph8DpXPZBsmqm5dAsfvyCCAsD1Hhfj6J4sE9YlaUaJD0FB2JWkX60yXL+oB O11A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=Ll+v40Jm4tog4K6tpEi94EuGnkPq3d7Csd6xMlqRPSY=; b=s8mVZeLqNvFBxkrncZxydjryGX7TJX+oahGsh+uaiJqIqLOnNvvgOc127Fyl5Oslkh 6CvjuqzCnTfz7qJLLxgrjBodGOlcleIUyl+gcShko/HUKnlH5TTLg/rFxtWwUAgfArqW qKplSV+78rYXWS9MF1cUi1n+kItm87kzpTOaSe02R9t3KdXd3Ov/6AZaDOoZaLDG8Dki XtpolKaBx3UdenDuZ4YMiXVOrsd6RioZ7uyotLDcQ0ENhED4U6E2v3ACxYWdD9oV9ajS G148jVGp2HSM8BYDW+hXG9yvbEbB7RV7KmDYTMwyRsPpIJ1dqy6uJqYYkrymWE2IIZhN 8kbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=Se9hgHN1; 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 c10si378152pga.810.2018.02.22.11.10.10; Thu, 22 Feb 2018 11:10:26 -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=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=Se9hgHN1; 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 S1751469AbeBVTIw (ORCPT + 99 others); Thu, 22 Feb 2018 14:08:52 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:43488 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbeBVTIu (ORCPT ); Thu, 22 Feb 2018 14:08:50 -0500 Received: by mail-lf0-f53.google.com with SMTP id q69so8925911lfi.10 for ; Thu, 22 Feb 2018 11:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ll+v40Jm4tog4K6tpEi94EuGnkPq3d7Csd6xMlqRPSY=; b=Se9hgHN1Nlif3uLYbiM3LYmX3t4YjV22OyLIylxGIsimMteoJFuChDucw1j5QMs9/F dLumuiVVXXVkRTyhMK2qmZZfXEcqiKcnzgt7mS7oEtvqM7CyG/trIA9TxHFcTd0QNZE1 pTa0KzEWP3T+QTlKvluoMKNn/w7X0NcFylmzSsk4MyLEeqxATr32NKm8aUDq3PYMabXH Sl4E4O1xklLk60DqKmtztj/OzMA6x7k/Qk08923THxRG0DqTlaX9zILyyslkYh37GNc2 SIzx4okSVZDgOAQ1OnuzkMKc9G1RX9v5XuwJwSwE2oUvKnNz1eMlbMaLfys4la8rUtsy GXOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Ll+v40Jm4tog4K6tpEi94EuGnkPq3d7Csd6xMlqRPSY=; b=ZYnTMS0nb2Ozta+TgXGVVDIew8DbYG/dltYaWb0uV4SwI9kXKlkD7OieGEuZ2QeiNK AeqZdFF7ATNPqjvGZtTeTv1ajLwj2D+7nWwsWgAuedp4Tujsj9ACK17TQNkk9Kij80a6 DKnkxWCAQ/PNLeVCn1esLgl96ZDuO+AP2aAT1xUeGle2fnVyrl89b6RxfFKFUI4wXhj2 uHVsWaNnvmQh/Y/1Wb64kUDwFKFFYYo5ZcH8bvDiYfnRc9hXl5A9E0C65Aav+ln+HJG8 1Y2x1UWgZNjBP8NptFvvoIf0mdyEKqHOeGwTnFUei23BioemUFyB/+kEnmo3MA0Bvu2T vf/Q== X-Gm-Message-State: APf1xPBYQgULZ2SuL+GyekiG3FkTZCit50Qk4qZDntlf34+TuSB0LFkX Zerkj1NwPDc7RZjz1bSnENEn9Uo3bJU= X-Received: by 10.25.156.20 with SMTP id f20mr5721551lfe.12.1519326528584; Thu, 22 Feb 2018 11:08:48 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.80.50]) by smtp.gmail.com with ESMTPSA id s62sm134971lfk.79.2018.02.22.11.08.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 11:08:47 -0800 (PST) Subject: Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node To: Simon Horman Cc: jacopo mondi , Jacopo Mondi , geert@linux-m68k.org, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org 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: Sergei Shtylyov Organization: Cogent Embedded Message-ID: Date: Thu, 22 Feb 2018 22:08:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180222155411.gnn42poawtlf3rze@verge.net.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 02/22/2018 06:54 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" Yeah, I was thinking about doing exactly this... > Sorry if I'm still missing the point. I was referring to what the 2nd paragraph of [1] said about the internal delays (perhaps I just misunderstood it)... [1] https://en.wikipedia.org/wiki/Media-independent_interface#Reduced_gigabit_media-independent_interface MBR, Sergei