Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1131093ybh; Sat, 14 Mar 2020 18:55:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvo1SBPyP0FEvJGEX4JofolC8vP0HqgTjGEBtGzXG3sW3ibUheGWwuCoktf9OScLPwHYOJ5 X-Received: by 2002:aca:5c8b:: with SMTP id q133mr7675360oib.38.1584237302635; Sat, 14 Mar 2020 18:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584237302; cv=none; d=google.com; s=arc-20160816; b=Qi9oT41+G9iPfkrAr2hDWxgO8xkIisIWaS00+kjuB++xf1rOsJHaeQdfHmRb3EdlFt nXtV1XAzp55oOwkWEQZzevkrwBBd9H1TRR8ioLWBjaC52mt3NDmOOgBwDdf2X2+8qxVp zouyrs4BY1NQIeIbAOk+NH/PNqem9wf9TOwU0zzVJjdvNrIx4uVmpQi2XfYQ4sKjn5g5 dtEYU1lQl+VGSyjA18tZRM5CFL8FLimk6ecchTJvwPOyxXMjI01g6eMZQzkYiLpvHD2E A7yac/ehTCR2k4uuP6PlvYNf0AX1XrtzVGjxbFExfd5dVgfYxOBu59gkyB0thYE4+kC1 KwSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=34FCefzXq9jcpy6xxlY5FvhoT4tmrorgyUO2Eh1b8GQ=; b=Pa/qxR1Xbd0vcW9D8jExsiAEAVMc0TU7WTbkwjQsQ/8ugkunJiTv57SfquMjF7T7aV E8WEjfEdiFZxlHyIGgzFkixgoWdH7nb/T7TjLDxDqgp/C3bZlFtthYecnlU152A7U/qo eC3foG754Ez3bcGNiqHUAsk1Cfheh0hadkr9PbTTJhiFcADwzOA1enRnN7+rD63IGtYh gMtQrSVtFcP4Q/k6NdRvVVkdAKNoJAR/VT6nbe6bRvW4N7O/nYtdNK+SjmafnEGdSjgh LKE1UtT2yq4jQCV32/CJ5e33/PF0BBZrsMN8K85LiBWPULbpLRCJ7D1mFQTJVVoDzuRd ufAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=qthyx8aP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si3682665otg.112.2020.03.14.18.54.51; Sat, 14 Mar 2020 18:55:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=qthyx8aP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbgCOBy0 (ORCPT + 99 others); Sat, 14 Mar 2020 21:54:26 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:36040 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727604AbgCOByY (ORCPT ); Sat, 14 Mar 2020 21:54:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=34FCefzXq9jcpy6xxlY5FvhoT4tmrorgyUO2Eh1b8GQ=; b=qthyx8aPypDZfsWdTrFz4XDR6U AYRfUhBbKjJMIAfDrRXnnn/NdYy35juxywDbnsY73Zos0LFuOW6CNrM5s4m4P86SznWgiWvcxi9PL Jfl5sXz3QWoKUv1GKoY/s3EileOCJYLBjZj6g5BK39v2XKtW+AndBrbCjSGpeBo8pylw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jDEBJ-0002KN-Dk; Sat, 14 Mar 2020 22:18:53 +0100 Date: Sat, 14 Mar 2020 22:18:53 +0100 From: Andrew Lunn To: Madalin Bucur Cc: davem@davemloft.net, netdev@vger.kernel.org, devicetree@vger.kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 2/3] arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id Message-ID: <20200314211853.GB8622@lunn.ch> References: <1584101065-3482-1-git-send-email-madalin.bucur@oss.nxp.com> <1584101065-3482-3-git-send-email-madalin.bucur@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584101065-3482-3-git-send-email-madalin.bucur@oss.nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2020 at 02:04:24PM +0200, Madalin Bucur wrote: > The correct setting for the RGMII ports on LS1043ARDB is to > enable delay on both Rx and Tx so the interface mode used must > be PHY_INTERFACE_MODE_RGMII_ID. > > Since commit 1b3047b5208a80 ("net: phy: realtek: add support for > configuring the RX delay on RTL8211F") the Realtek 8211F PHY driver > has control over the RGMII RX delay and it is disabling it for > RGMII_TXID. The LS1043ARDB uses two such PHYs in RGMII_ID mode but > in the device tree the mode was described as "rgmii_txid". > This issue was not apparent at the time as the PHY driver took the > same action for RGMII_TXID and RGMII_ID back then but it became > visible (RX no longer working) after the above patch. > > Changing the phy-connection-type to "rgmii-id" to address the issue. > > Fixes: bf02f2ffe59c ("arm64: dts: add LS1043A DPAA FMan support") > Signed-off-by: Madalin Bucur Reviewed-by: Andrew Lunn Andrew