Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2027082pxu; Sun, 13 Dec 2020 11:03:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1uaBMLA1pQidBbbfpr96E7HzKRSYY+v5wco2erVdmBA/73olxih/v9bUoEK3ylJDsRoy9 X-Received: by 2002:a17:906:6d47:: with SMTP id a7mr20178563ejt.340.1607886183613; Sun, 13 Dec 2020 11:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607886183; cv=none; d=google.com; s=arc-20160816; b=QVdMM40mClDlVVcoTBvLeMJBCgMMjx0k0YU91L++VuyQBuVJos9Pyy//0JXULa80Ih bVBT13iI6VLF0oRoctiRY6zsyBpgmX2Be5U1efJcqHtrKP+p9T46APz31L6VIRMpgKLL y95XhqaI5pvBiqbr9FC+ItCtodiK1YAEWuEpRs/BoMjDhdzyjHXF5kdNfGKhW1aWOPpR 59J1QN+QWeGh+aDMuy6SyS+psTB6PmL09yVn6GbNBzPctlZZvpbLgHOWvtjXQRnME0kF AL0sxflhexcXS0wHTLoTQ4I2ElmdnY5DbBfmfn5TBi0fo5WVpYZLhJo/cxG4cHPSOAtu v73g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=II3z2KtGXYfccGsk4AiZsYqrzwoXcVMGnMLgumJisoY=; b=QgoDYdWeQra5fCp7S7sr0N8ssewdNfjdceEeeGbRIhpvhwqeferdkJEp/n6uYhXQjP 89UuoZhoZb5MBojeE40IR6rpqJhWfhN3jh2Y/BMxF0IG0VryUX5r1AJdmr0XyDubBb1a yLEuo2udQ+htuD6Xc5zfqB29Wt/lzosFKXsl/ud12GDWoCktD+K75vWchLoWPw0rVlDr JhK2pmHRr4fjCHCS5SgIf12+Xx8bWDCsfTbEz+i10OMbTD6VXc86rkUYg7+qoXa71qME MprSVRaXR6WIr0IrToa2qY0WUDmQMBSJ5RkCjjlAHzFdrc0zMH0Y4H7wl2/vgSaduDCh giLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SAHUtmIa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz22si8893279edb.241.2020.12.13.11.02.41; Sun, 13 Dec 2020 11:03:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SAHUtmIa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730394AbgLMQ76 (ORCPT + 99 others); Sun, 13 Dec 2020 11:59:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726214AbgLMQ76 (ORCPT ); Sun, 13 Dec 2020 11:59:58 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07F19C0613CF; Sun, 13 Dec 2020 08:59:17 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id n26so19265790eju.6; Sun, 13 Dec 2020 08:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=II3z2KtGXYfccGsk4AiZsYqrzwoXcVMGnMLgumJisoY=; b=SAHUtmIarY7j7e4zeN3fFvTYIChAGt+Y7GNnQPhDC0+IPhzQJopCVLzBGPCQ5eFaiq L6j+nOGMJgIGwajqVssbzaKzuaBQrpADs0OPacCgrLoEUP89l+DvXKAWnAI7YZxJT/Ki T7PGOUupcgHjLrwfXc2TYUJwa1eoPQ+yowBNhUhZpvn4SCLxZ32xYEjt/x+jtPK3BTVB x90FSoflQ/kMvA2zgF86AeYL9ftHV+sy/51siMs2PT1oBQDRWywhaEfHUE0mmcAlTVUC 5oD4MqiKMIyunrjoTks9w9RC/Lr8kaqPOqkxeZ8XwBfRzC7g6XqBKTUY3mKrc4SYbm9S N83g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=II3z2KtGXYfccGsk4AiZsYqrzwoXcVMGnMLgumJisoY=; b=KmSM6tYcefX9IdgXmo2u+v1Xoyw1rFGTczG8b1EnNsB5Z779uz3+BPcHaSk9/3N1E3 WaK2JdbsLsvyqDw9BnNiGp3AiurTZcwe8+N9FpeCLGSuadMl9kvmqM2lOKXsKkor4wS7 53I5Yc7JH0VK/aRGVB0ExR+F0BCBmXIzEq3MBCFV4wpAbYrLyLW2L2z25andPSNcOnSP lR3j3IXULrZUgHzeiXQ1pPHTMfNHUCrbQG5tRgxSDXGidsqJrzeti+JCsKVYMcPFqiJc bU2CXWjHed3e+zDZgLmDDWPA/HdFTGGq1l5v9yrYXq5jdMK318nkZ5SlbGAxyypx62Yc 3GYw== X-Gm-Message-State: AOAM532Im/JwA+TlvyiAhwWGn/U+Kto/O6Vfeii5sX8bOinfV2aFyyLf D1CUJfHbhql4FJALhOEEp1UVO3zFmqh66ZZI2JQ= X-Received: by 2002:a17:906:2798:: with SMTP id j24mr19280203ejc.328.1607878756610; Sun, 13 Dec 2020 08:59:16 -0800 (PST) MIME-Version: 1.0 References: <20201115185210.573739-1-martin.blumenstingl@googlemail.com> <20201115185210.573739-2-martin.blumenstingl@googlemail.com> <20201207191716.GA647149@robh.at.kernel.org> In-Reply-To: <20201207191716.GA647149@robh.at.kernel.org> From: Martin Blumenstingl Date: Sun, 13 Dec 2020 17:59:05 +0100 Message-ID: Subject: Re: [PATCH RFC v2 1/5] dt-bindings: net: dwmac-meson: use picoseconds for the RGMII RX delay To: Rob Herring Cc: davem@davemloft.net, kuba@kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, jianxin.pan@amlogic.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khilman@baylibre.com, Neil Armstrong , jbrunet@baylibre.com, andrew@lunn.ch, f.fainelli@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Mon, Dec 7, 2020 at 8:17 PM Rob Herring wrote: > > On Sun, Nov 15, 2020 at 07:52:06PM +0100, Martin Blumenstingl wrote: > > Amlogic Meson G12A, G12B and SM1 SoCs have a more advanced RGMII RX > > delay register which allows picoseconds precision. Deprecate the old > > "amlogic,rx-delay-ns" in favour of a new "amlogic,rgmii-rx-delay-ps" > > property. > > > > For older SoCs the only known supported values were 0ns and 2ns. The new > > SoCs have 200ps precision and support RGMII RX delays between 0ps and > > 3000ps. > > > > While here, also update the description of the RX delay to indicate > > that: > > - with "rgmii" or "rgmii-id" the RX delay should be specified > > - with "rgmii-id" or "rgmii-rxid" the RX delay is added by the PHY so > > any configuration on the MAC side is ignored > > - with "rmii" the RX delay is not applicable and any configuration is > > ignored > > > > Signed-off-by: Martin Blumenstingl > > --- > > .../bindings/net/amlogic,meson-dwmac.yaml | 61 +++++++++++++++++-- > > 1 file changed, 56 insertions(+), 5 deletions(-) > > Don't we have common properties for this now? I did a quick: $ grep -R rx-delay Documentation/devicetree/bindings/net/ I could find "rx-delay" without vendor prefix, but that's not using any unit in the name (ns, ps, ...) Please let me know if you aware of any "generic" property for the RX delay in picosecond precision Best regards, Martin