From patchwork Thu Sep 30 15:56:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 12528819 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34045C433EF for ; Thu, 30 Sep 2021 16:03:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EFE4B61269 for ; Thu, 30 Sep 2021 16:03:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EFE4B61269 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fris.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0Y/JvZngRsbv/R58Z6PJudQib2vyP1WM5/DEyTVC91c=; b=i2nh1TrX92TsqP E7x+L+cafQzJklcPFsMQmFHzm9Z9gCXnPZpwMb+05dV7yVeXTyofWSHbOxs31qpZLmAA7Eatc/V0M vn+mEMQes3j4XJIQPraGBz8NFjPLaxQ5KpDFz5IwErJPTP9gpy/Hw8BcMPLdMGaMbUIO6SQIZnz7b QDYcEfwhmGDEJU6wN2AUtsGGkCTo2hcaCLz+jaB3Rwneubs2BofXS4uwzatPuF4TthuTnwuaiv0vl 02HE6viga6W+smcHN97YtGTCd2VpWrehuQEKnsqR8zezbyUrONLTpTDFn1d22tlct7nNnWy+eenu2 5+TjsRGGlFQbm4LpHLlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyUc-00F5h1-Pq; Thu, 30 Sep 2021 16:01:07 +0000 Received: from mail.fris.de ([2a01:4f8:c2c:390b::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyQs-00F481-FO for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 15:57:16 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6590EBFBF7; Thu, 30 Sep 2021 17:57:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1633017432; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=U2BMALAc9YdZifU3ydM+t12Cr15TJPxPAwAYvhTKJRM=; b=wodVgWg82W0RW2jGBSZy3Ack4sv2Cq72G5mIVrY5AQJ35k/3T9npty8ZyzVC/8ZPqxFSvv snakMqLHd/3rCQizJL96/JJmYNhG5DFx/gPFfMPe6iDRJwD1Vz9qVAJMAcpHHSU+Sy0OqE 7iA7/J3PUmldAmuRckRDzwJmKk2QWv0ngAZdmLhBXg+DBVBbwbJ25D30TigE2QBn6op6ib dNlZi1JYGMrm74YN99PkwU9wC7yUW/n4POp5na8jIT7euFvrxtlzBCfmnNxDyph8hvyfGy Z1YBruEXRQGjZKzqx/rViC+P6n7/nB1uFZZ6FAK/9fPuKCJ/Dl8liqi786saOg== From: Frieder Schrempf To: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 6/8] arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY Date: Thu, 30 Sep 2021 17:56:29 +0200 Message-Id: <20210930155633.2745201-7-frieder@fris.de> In-Reply-To: <20210930155633.2745201-1-frieder@fris.de> References: <20210930155633.2745201-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_085715_112391_9DA943B7 X-CRM114-Status: GOOD ( 11.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frieder Schrempf Previously we falsely relied on the PHY driver to unconditionally enable the internal RX delay. Since the following fix for the PHY driver this is not the case anymore: commit 7b005a1742be ("net: phy: mscc: configure both RX and TX internal delays for RGMII") In order to enable the delay we need to set the connection type to "rgmii-rxid". Fixes: 21c4f45b335f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Cc: stable@vger.kernel.org Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts index dbf11e03ecce..0e4509287a92 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts @@ -114,7 +114,7 @@ &ecspi3 { &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-rxid"; phy-handle = <ðphy>; status = "okay";