Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1749363pxb; Wed, 2 Feb 2022 11:36:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKS0wr3C2AvzINCOsCheDCOVM+Op/lieFZ5A2KOC/8a+lD2xyJxVA1lD/MSvHLpzb61oMg X-Received: by 2002:a17:907:72c6:: with SMTP id du6mr27338565ejc.224.1643830603651; Wed, 02 Feb 2022 11:36:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643830602; cv=none; d=google.com; s=arc-20160816; b=vPKrGuCBafrgxMrhB97XTC4SrNpApWHlBKEvFE28gqG7grMd+PpjCXVlb2f4ZAaVRR 1M69YiFFebXtf8pv6mXs4SqQmT9oXvKedO+RGZx980Th50vNsjsaY55eJ9BWGWSWN8Z6 LPmgBgzJngqv4zaYvKuB4+5t6VgIoWLo8CQDYQQ2Wj2DPXEKn1P3+qEyDnH0f8vwqCYN Sg0/94ncjQzFH0Pm7VgmkrydfsGrn47B8dEiFNrW7gQqDv6Oin5RBtH4RmGSovX14LSQ h4npa/On6FHsFqpsj0Hh2ktRL5YCdsofOzKtZKxbTo8Nqr/e3NQX/ZAbfoE4dNBcevHT n4kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GfcG5XCj3A/ORARzsiKJEsAfW7hdPTM5S0U/fpp6p/g=; b=Ap3T/eTWNADPQbE/GT2Sd3d9SAWd9ZKRJWKV1L5pQUMIjvUyL8fSaK0ZjPgkpgyiJJ B5tCnOAIFIhT8iXYKy5MWcdxXS0Yxu5Bb4wcSuz0T6tDyg1hSK6I44Q8kXHb/ZK9Pl98 vMg6dezOjLCcpUbeNxzFpn6wPcVcSGtEq2twVBbY392UrDlZWRb3M7MPyJvZvk9xa64e DCqz2HtWjHvPnUIAlJp6ALgJxo7fVPnycIJsP/tBXCX8CkvhDmqhvQcsoIPbhvFHYg61 FRcNkSoWyD/cKpH8Ajve3zMtxizWls8X4K5FJseqSuPT+tzTXGDPvrIzyGquzTFKWe5a WzmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="nAKXo/zl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g19si12410932ejz.564.2022.02.02.11.36.17; Wed, 02 Feb 2022 11:36:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="nAKXo/zl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242516AbiBAUtl (ORCPT + 99 others); Tue, 1 Feb 2022 15:49:41 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:38076 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbiBAUtl (ORCPT ); Tue, 1 Feb 2022 15:49:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=GfcG5XCj3A/ORARzsiKJEsAfW7hdPTM5S0U/fpp6p/g=; b=nAKXo/zlrHykd0L+mHF0gdkZwg g1xKj0DrxxcJwhHCZ+RUcTB8p8rce1ujKp36K39mGRvpJX39io8eb3994qjoaSJ4jvC/bIvJGTZBi JVD+dNMGSoNTAnGM6/lNmH3KMXKXPbQdEG7V9LO5O44AkAhsVj1naCybvwwIcnyqkQ4Q=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nF05b-003rcB-M6; Tue, 01 Feb 2022 21:49:23 +0100 Date: Tue, 1 Feb 2022 21:49:23 +0100 From: Andrew Lunn To: Tim Harvey Cc: Martin Schiller , "Russell King (Oracle)" , Hauke Mehrtens , martin.blumenstingl@googlemail.com, Florian Fainelli , hkallweit1@gmail.com, David Miller , kuba@kernel.org, netdev , open list , Dan Murphy Subject: Re: [PATCH net-next v6] net: phy: intel-xway: Add RGMII internal delay configuration Message-ID: References: <20210719082756.15733-1-ms@dev.tdt.de> <94120968908a8ab073fa2fc0dd56b17d@dev.tdt.de> <81cce37d4222bbbd941fcc78ff9cacca@dev.tdt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > However, I don't at all like the fact that this > particular patch defaults the delays to 2ns if 'rx-internal-delay-ps' > and 'tx-internal-delay-ps' is missing from the dt. How does this work in combination with phy-mode 'rgmii', 'rgmii-id' etc? Using 2ns as a default for rgmii-id is sensible, however i would say it is wrong for rgmii. > The issue I have here is that if dt's have not been updated to add the > common delay properties this code will override what the boot firmware > may have configured them to. I feel that if these common delay > properties are not found in the device tree, then no changes to the > delays should be made at all. If you don't want the PHY driver to touch the delays at all because you know something else has set it up, you can use phy-mode="", which should be interpreted as PHY_INTERFACE_MODE_NA. Andrew