Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1131038ybh; Sat, 14 Mar 2020 18:54:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvlak03cZxzHXyim8Hvmxbpe4Ys8qDO4qZuwNyeocfaQai5P5MqdTZ3jy+v4WftLP5SxfDY X-Received: by 2002:aca:f591:: with SMTP id t139mr12206809oih.153.1584237295972; Sat, 14 Mar 2020 18:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584237295; cv=none; d=google.com; s=arc-20160816; b=nnURjC2dj6Bu6UsEfw17Aoo96bzlh/XkkUKeRqIELVSlebAnLm+bR6YaQzd2XUxKwT 2ebC6dx2PTuWIdDU7yQQdoE7f/3rMRXmI4VQDWaSUBnAO31xsACLeYwWclaHX3p954vI TFOVppVqxqX9f1nM5OGvRA+VygxBon7TPDm3HxO0LykTSnsLOwabNZ14sW34mmKL4r8h rMdD+LeRGuBnY3ujTLWn7OCcQPUNWgaUfO/fkSro1Uc093uYVi61rlqAM3O69EZqTQbG b2lG9m9aXYvMuv8hyXOyevE46fhCvPEkbWYVG389hc4ekF6Hien0pitdL3onBD9iam8D yFBA== 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=FhgxhvWIIVuY6B13AUlH0Smz4LynUEU/AuTeEi2VA88=; b=U+54nblmjX+Oxt5MzLuZESncm47jRRmhHiQ1V5yehGD88QBMlnS9J2HV0BTJMQ3ZHK HGrVWFK9YxoSkZN1YVMaltQYi0ShBoRj6dghYDoSocD8SnICVCFuljIdbO3n5ZgUX2VS h3VFDdt7GWi6ehP+4ttCq7Ws/rjSYfxnlhej5VOlF4KkXncG1rlPvdQTl1p+keVrzJU/ 6H2YTayNWxiMTOn10lCme9mwIo+XAbMW6yNq3iyOSCi808zIJ+CGlwa6Vf44ePpx3eoP 1ImqyasCn5e0okgG2ZQCF5+a2Ren0bcJb1NmmxZafSVMHasBJ7C9DGEb52mHznRvmlWV 7GkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=JXT6fiPS; 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 f128si361634oig.208.2020.03.14.18.54.44; Sat, 14 Mar 2020 18:54:55 -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=JXT6fiPS; 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 S1727616AbgCOByW (ORCPT + 99 others); Sat, 14 Mar 2020 21:54:22 -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 S1727519AbgCOByV (ORCPT ); Sat, 14 Mar 2020 21:54:21 -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=FhgxhvWIIVuY6B13AUlH0Smz4LynUEU/AuTeEi2VA88=; b=JXT6fiPSChn7qXiOXmjwwXvpgA s8s4Wg+uRCJCx5XlBEoyF6Kt31072P+FQW0bR7BJ/pNMYbms8SRs984L8eE1jqGwh0BmX3Jo0Cg1h p1szeizypEEEhg1Zle/Cqv3qyEJIsBjiIQplVC+xHTEO0qmMv9hM0xJo7B3KfxFLEVdM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jDEBo-0002Ko-Kw; Sat, 14 Mar 2020 22:19:24 +0100 Date: Sat, 14 Mar 2020 22:19:24 +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 3/3] arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode Message-ID: <20200314211924.GC8622@lunn.ch> References: <1584101065-3482-1-git-send-email-madalin.bucur@oss.nxp.com> <1584101065-3482-4-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-4-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:25PM +0200, Madalin Bucur wrote: > The correct setting for the RGMII ports on LS1046ARDB 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 LS1046ARDB uses two such PHYs in RGMII_ID mode but > in the device tree the mode was described as "rgmii". > > Changing the phy-connection-type to "rgmii-id" to address the issue. > > Fixes: 3fa395d2c48a ("arm64: dts: add LS1046A DPAA FMan nodes") > Signed-off-by: Madalin Bucur Reviewed-by: Andrew Lunn Andrew