Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp831312pja; Wed, 1 Apr 2020 09:30:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsblKw/NXfIRHtEaLBLPO3mX+Lf89ztrA32yeUTJPTJeRd8ArO/A4LOINKZYd/H7bNjVj7g X-Received: by 2002:a9d:798f:: with SMTP id h15mr17538832otm.284.1585758602867; Wed, 01 Apr 2020 09:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585758602; cv=none; d=google.com; s=arc-20160816; b=Fcs1wudF5VQK/RPHDltTs+vG8tL5zzJxmkFgMzYy+pr1Ud2axtU7dtLKM0WtcB58Qw BrNQWYhW6HSER8AthwCsAvFHxkH4VqXNfzYLfK96xOmrMt/42pNJCCwQtmiv6pxEubP8 fFWZ3pqDV5x1QCh9bSZP0tSQ9ffRFKiKKVewrtcrctWWFG+mR+2E2N90cIG/xK13r1k7 7L7MLrFLOP2NU7p/ShmVT2nqSDCDMOK2qmHDy42wBHo5n6lwaBImxY4n1A0fWHxwAPsk NAP25BjSrSZZsjUz9ogSw4VvA7dKv8XosoXcwYV7ck0KDyYdM5RBiF/Z8N7ndzTFL4nK l6Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9QyFz2rpie1HSFgCeyKOBQPQog/itnzeTslo77cJilI=; b=cmigehOxtdxyILBzQTnc1xsK93EWgaLvVFDL3tl2BFGlsrbRt/VBCyeZ1BQ5bkPzSl CChl4VrZpaIGWoW6RgAOEcHGEe9V2nildMPKxr/yz2VRB63LePY6boIUDlDrV6gCuuVs SQl3DPPo8VyNqCmS3PR/ACHr6ctT2DpSCKOSSDqCANUYucHk6ub7rWk/c7AvFjfeJvvC pwlJLYYKphxPvh27G6m53wiSz0IJZtSLm0VwyfW9sVzshEHPHRxrPbR1v0ASJ4rzKpX+ RDAZY5+YzOMZ8wSOLxvtG/oRoqcZ5KG6KkAYAF4bZcrR1PwnmH8JB45+6b/UTqBjzsm/ 2EHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c3K9pPGY; 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 z9si1164206otj.157.2020.04.01.09.29.50; Wed, 01 Apr 2020 09:30: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=pass header.i=@kernel.org header.s=default header.b=c3K9pPGY; 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 S2388136AbgDAQ2x (ORCPT + 99 others); Wed, 1 Apr 2020 12:28:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:54294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387543AbgDAQ2x (ORCPT ); Wed, 1 Apr 2020 12:28:53 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7002220BED; Wed, 1 Apr 2020 16:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585758531; bh=VJu4QYTi6OUJ0thSb1ipp7/N0aGjZyGyy/gIYPdiCmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c3K9pPGYJxDtfbgO4NuZpjKk7F4K7wK7zn2zC4seuQ17RhzCuT90IMs9ji6kqTINO i+RX6lWiGF8xLfRR93Rnoz6FzPfxcolK0LJR52ZjCpN6ktvmoLbC1xOH4lX0Q6bC5F NJptXLUs9qAZ+5G1dsRxpq4OkTOTFwA0kAGtAZSg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Madalin Bucur , "David S. Miller" Subject: [PATCH 4.19 115/116] arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id Date: Wed, 1 Apr 2020 18:18:11 +0200 Message-Id: <20200401161556.792387965@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200401161542.669484650@linuxfoundation.org> References: <20200401161542.669484650@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Madalin Bucur commit 4022d808c45277693ea86478fab1f081ebf997e8 upstream. 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -118,12 +118,12 @@ ethernet@e4000 { phy-handle = <&rgmii_phy1>; - phy-connection-type = "rgmii-txid"; + phy-connection-type = "rgmii-id"; }; ethernet@e6000 { phy-handle = <&rgmii_phy2>; - phy-connection-type = "rgmii-txid"; + phy-connection-type = "rgmii-id"; }; ethernet@e8000 {