Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4220538pxb; Tue, 17 Nov 2020 14:53:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJywx/LWKI7m9tOKXpkUkkT9Rph7s1n7e/s+s4roypMzUJ20wzNDYJdAQ/DXUyiNUXhHbRH0 X-Received: by 2002:a05:6402:21a:: with SMTP id t26mr5752795edv.173.1605653608168; Tue, 17 Nov 2020 14:53:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605653608; cv=none; d=google.com; s=arc-20160816; b=0SVieCd0ae5pYzlVFdivXzdiPSN9R780UrhkyTUEWOYet38cVSNRhLLBtnWu+qjsaT SRqQTMhajJ+m/QmiEZHXMBc0EETeEIrUisxX4lT0fXg678pV57ZPgMKEH7aS4MvGjs3X D6A7ooaXPfApQZBf8fYH3uQgbLpTKV65jTsvqpJ3MsHR3ry7nY8/s5cw3yg+bin6BjoI TDcqdAsG2sNHuyYHaE6SQjr7hdsIDSiCBqwhe8hi1aB1v1yBn3O3s1LPUnH+FmS/DW4B w1VCveUSvD5LTicU24mkvAD1/KZz2uirnWNyGYjXrzPFpoIWF3eQa1MG10HJVUMrc2ae bYKw== 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=wVFMj1y28y9lr6i3Dua9IiKKVDRLL249TgbSSA9JSCo=; b=YYTblC+xRfdr3RPgC4Hw9mb1itqj9Q+scBJ2AottgiOmeIoS2mvbbR7CNcelXgP1SO V4YWPuUMTpgqwtofO01D23qj4mvXDMDOvXtl3sXCIPkh6l3W5iY5Um3vl2zpyDKN4YHc gQqha6g41/LnJGmpTOS7m4b82KvbrTOpQpcahzh4CGo5fTqteBdTrC1FNVw56XVbZtbZ dIxzXurd9ZKMgh/p3nbM+u4Vhr/Ubkm5GIUcLnXaTA8R6pj1kM2QJEIdgP1NE3NywUw4 62A9AAaywI0Kr6sjLCx0yisuRQz1dhCHCEs7i0OdyrUGfN9akokQFX+7FRJN86jphdoa u+qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=REHKISix; 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 bu15si14312919ejb.175.2020.11.17.14.53.04; Tue, 17 Nov 2020 14:53:28 -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=REHKISix; 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 S1729196AbgKQWup (ORCPT + 99 others); Tue, 17 Nov 2020 17:50:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726182AbgKQWuo (ORCPT ); Tue, 17 Nov 2020 17:50:44 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C7AC0613CF; Tue, 17 Nov 2020 14:50:44 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id a15so24252943edy.1; Tue, 17 Nov 2020 14:50:44 -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=wVFMj1y28y9lr6i3Dua9IiKKVDRLL249TgbSSA9JSCo=; b=REHKISixART/wrV+ZOVp3ijOYlxb3WgEeV1AGG0ndKx8Vp1KielOgtykVIScLLiILW eHQvntNLmDdkKqNHFQ5t/zDYDKnPV02kl9WeYKzCODIjQtae5+aRQrjaAtkIAuc/CAao mXcqjOJm8nM++k8Rf4hg6TsSVCjS06iPMVx2yu08U7AXFKeYJyTAcXOj0cgxT+lhPH+S foZbO7ZAshb9uO3lzqd9D6FLjzkzFEILKOY+Uz67HmR6eFZIiPGnboNtNNzALtm3Ffky pQbsdK56pX2bw0ZDHDhauYB1EJ5+aPw5bWE1sdFw4TD1TuNbWDQgjx/AtW536hK+IIx8 Yo2A== 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=wVFMj1y28y9lr6i3Dua9IiKKVDRLL249TgbSSA9JSCo=; b=nW7DOnCpIgv1HJxHOYVKDTto2KQhZujepKwnctQIsL4ljhQwmr/OqYAPsivbfo1kgF TpoT3j/UhvnyVHaAb9paRirhDzdwdo9Vva1KA+BZrs43gPB6+L1l5JmAvCpndAv1I3f+ AzR6EYPBspnOmFtxBT93b5kKH2cvH0jx1pcLRTThYuovCPUOPF648RNZ2k5Jz2SQkHEO pH+4IkJKGZtzaKC9seerxBlqcwmJ3qKW/pf9Ha/w7RSAmPM83O8RON+cSL34IssTnza4 avNrf6wFAPzOr+et3Bapzlf9XHSH0sd0YIC+BM9D3c0CiqmJ7YCfS+y3Rllx/cfXpm0y nH2A== X-Gm-Message-State: AOAM532F+GXuH/nMOvvw8Piu/DzVU4e/f/wAtTl7OX0VmNtC2T3bbXdr wtUymlojVPcsm4mzpsiXMFa/xLXHda7iHSxYEGg= X-Received: by 2002:a05:6402:3d9:: with SMTP id t25mr23308333edw.338.1605653442816; Tue, 17 Nov 2020 14:50:42 -0800 (PST) MIME-Version: 1.0 References: <20201115185210.573739-1-martin.blumenstingl@googlemail.com> <20201115185210.573739-4-martin.blumenstingl@googlemail.com> <88c043ba-e7a4-6b4d-f93f-efdf6c525e95@gmail.com> In-Reply-To: <88c043ba-e7a4-6b4d-f93f-efdf6c525e95@gmail.com> From: Martin Blumenstingl Date: Tue, 17 Nov 2020 23:50:31 +0100 Message-ID: Subject: Re: [PATCH RFC v2 3/5] net: stmmac: dwmac-meson8b: use picoseconds for the RGMII RX delay To: Florian Fainelli Cc: davem@davemloft.net, kuba@kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Florian, On Tue, Nov 17, 2020 at 7:36 PM Florian Fainelli wrote: > > On 11/15/20 10:52 AM, Martin Blumenstingl wrote: > > Amlogic Meson G12A, G12B and SM1 SoCs have a more advanced RGMII RX > > delay register which allows picoseconds precision. Parse the new > > "amlogic,rgmii-rx-delay-ps" property or fall back to the old > > "amlogic,rx-delay-ns". > > > > Signed-off-by: Martin Blumenstingl > > Reviewed-by: Florian Fainelli first of all: thanks for reviewing this (and the rest of the series)! > Maybe also issue a warning when the 'amlogic,rx-delay-ns' property is > found in addition to the 'amlogic,rgmii-rx-delay-ps'? Up to you how to > manage existing DTBs being deployed. none of the upstream DTBs uses amlogic,rx-delay-ns - and I am also not aware of anything being in use "downstream". I will add a sentence to the commit description when I re-send this without RFC, something along those lines: "No upstream DTB uses the old amlogic,rx-delay-ns (yet). Only include minimalistic logic to fall back to the old property, without any special validation (for example: old and new property are given at the same time)" What do you think? Best regards, Martin