From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2A3AC43334 for ; Sat, 25 Jun 2022 06:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232049AbiFYGv2 (ORCPT ); Sat, 25 Jun 2022 02:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiFYGv1 (ORCPT ); Sat, 25 Jun 2022 02:51:27 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61AE4477E; Fri, 24 Jun 2022 23:51:25 -0700 (PDT) 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=DpRcewL0IJOgcup/joXmgDicwFFYm/SKIQKzwXVWCV0=; b=S17dD0BnFVszDueqzqzCO7RBSt L8S1H8njwdNi0KtUNa68tSCRzXhWS+0i/kpyzIF2vo00VrkjZ0Tzt02jQFC3IzLKPPaO6OB7fdH5j UolqLyN+Rbjdv0TyiyzlIKYcWObsFlZvE7uZKigOIOOstQuSclpBhlMIVNyXeYjE60BE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1o4zdB-008AWB-Sz; Sat, 25 Jun 2022 08:50:57 +0200 Date: Sat, 25 Jun 2022 08:50:57 +0200 From: Andrew Lunn To: Peter Geis Cc: Sebastian Reichel , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Linux Kernel Network Developers , "open list:ARM/Rockchip SoC..." , arm-mail-list , devicetree , David Wu , kernel@collabora.com Subject: Re: [PATCH 1/3] net: ethernet: stmmac: dwmac-rk: Disable delayline if it is invalid Message-ID: References: <20220623162850.245608-1-sebastian.reichel@collabora.com> <20220623162850.245608-2-sebastian.reichel@collabora.com> <20220624162956.vn4b3va5cz2agvrb@mercury.elektranox.org> <20220624173547.ccads2mikb4np5wz@mercury.elektranox.org> <20220624201537.l7p6aoquvvadmpei@mercury.elektranox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > The driver already sets the delays to 0 in case of the rgmii-id modes. > 0 is disabled, even in this patch. The only thing this patch does is > change the behavior when the delays are not set. If the rx delays > should be 0, they should be defined as 0 in the device tree. There is > rgmii-rxid for a reason as well, but if they are setting the rx delay > to 0 with rgmii that implies this hardware is fundamentally broken. Or the delay is implemented by longer tracks on the PCB. It happens sometimes, but not very often. Andrew