Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3547315pxb; Mon, 16 Nov 2020 18:42:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/2Sq5HKm/OyVOntN28HpNQH+1K+eyY8llbbAm++8IhcKLTtKkUtqa19UePz8KOJjNa/Y2 X-Received: by 2002:a17:906:60c8:: with SMTP id f8mr18239531ejk.14.1605580949049; Mon, 16 Nov 2020 18:42:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605580949; cv=none; d=google.com; s=arc-20160816; b=ovG14BN/JngQXVpb5zz5cSR2YfclpS8XhEaCzQ/TuRAJbhkhBxrmH8gzhKlC4WJn5A WbYbGxp8VRsX5mCnmkJhIugTK7hHBLFfaiIHau+SUg6Xr1QhLgLNMZME4K4iyMPYxVoe Ev5pPAoWf0gsPMrFBxZ08UuXNgJvn26tfWyDD5OhWz6NIlHQa9PL9Ju5OuBwv5npj8S5 Xoh0FHLskHtSsajklNNKcJWRlLksozQNbFflmwkLva4Jv2JmGbLq3kVkyfOvLwtoC47D JjlgFRs7Ah4ielxrG42odH18n6KiH/RyJc25/gJsL9J5qQDJN/tiJI+1mDzBUEgON03k 1PhA== 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; bh=3UZ7Z7UL610hv8lt2Lc6tVKletnchAZQx/YFKRfHI/M=; b=lw1kW2yXV7yHF2PSJqavyavvJPfXmqiKU1OZ7Ea3zNpFRW7fUPj8n5pVCHlX9ZERel iV2B73nukaIHkxcDRJ7RyJMNZFvi53AFme0eKJNl2mUyuLTQTCLDPQSCFA8CqWZJzLEz HV9GZqLwrrDsGyzBt5gfZK3McKBcOML6b//Kq1Y32eXnELSOxC6aX7E34ZeE924X8FZP 2Q2ELxHRfPSY3xNBoRZ5HGSmW3LH407xiK7awtdYmCxxj+gbzrdNeteHxTU+0VEs449e y9heMuFdSZFe1MBGH1inYdnPxSZsknZSQhdZ4E1EvZPQSAc1bVfWJLHEI53nbSwBUpBo 9/cg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si12268777edv.416.2020.11.16.18.42.06; Mon, 16 Nov 2020 18:42:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727942AbgKQCHG (ORCPT + 99 others); Mon, 16 Nov 2020 21:07:06 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:59180 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbgKQCHF (ORCPT ); Mon, 16 Nov 2020 21:07:05 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1keqOZ-007S9C-4V; Tue, 17 Nov 2020 03:06:59 +0100 Date: Tue, 17 Nov 2020 03:06:59 +0100 From: Andrew Lunn To: Martin Blumenstingl 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, narmstrong@baylibre.com, jbrunet@baylibre.com, f.fainelli@gmail.com Subject: Re: [PATCH RFC v2 5/5] net: stmmac: dwmac-meson8b: add support for the RGMII RX delay on G12A Message-ID: <20201117020659.GE1752213@lunn.ch> References: <20201115185210.573739-1-martin.blumenstingl@googlemail.com> <20201115185210.573739-6-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201115185210.573739-6-martin.blumenstingl@googlemail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 15, 2020 at 07:52:10PM +0100, Martin Blumenstingl wrote: > Amlogic Meson G12A (and newer: G12B, SM1) SoCs have a more advanced RX > delay logic. Instead of fine-tuning the delay in the nanoseconds range > it now allows tuning in 200 picosecond steps. This support comes with > new bits in the PRG_ETH1[19:16] register. > > Add support for validating the RGMII RX delay as well as configuring the > register accordingly on these platforms. > > Signed-off-by: Martin Blumenstingl Reviewed-by: Andrew Lunn Andrew