Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp847260pxb; Fri, 15 Oct 2021 18:02:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXNHh9EbgohiRZyys/1qtzx9nozopIC7g14tgUwZfp/oRLSlvcRtTeSthowvMeEc7D6Tga X-Received: by 2002:a05:6a00:26dd:b0:44d:2531:9f46 with SMTP id p29-20020a056a0026dd00b0044d25319f46mr15081432pfw.46.1634346135077; Fri, 15 Oct 2021 18:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634346135; cv=none; d=google.com; s=arc-20160816; b=GFGib/IRWhyMiNJrRu+xG+9Qde6TEjmflIXKhWGvUGDRBVyjTiS8AouP2JHbxlR/6L kz7+OBISSakcuzzNpvRJPLbakU7EGoM4fgxrlSS+f3050YPWPxVKBePNRvvoiaciSjNE Zi/7TfBZN6Gx4XK68YVp+SENy38MUo5mBgMqVWPF4vFw/1reibiCVoCP/hG5M0yJvsSI jycnoyvsKEvswceRuZFcQqHEAhmYY1jduIvu/nXILXmmcxKpCmdLiLiONFH7bLFelC6b 9qwT2J3iJppaS/nzVAO4EiuAVswpAXGSoary7HMFGfkGRZiKG9cmSeEFvAS0uSXin+TH Ox+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8lm9gsabnoEYqTgKZqukYHlfOlUcDx4Taw7hbxvkE1k=; b=NYyWYTifcb/TQv5dT0+DYCume3NDSDkGZ2D2a79v0FA7BpXuTP3/AZ7i3Xdcp4M1DL L86/oj7YqhqEvVg8N8Obn/HvlfmyCmA10XdejuStTiplkRjM0ihabeNYvaTFMn/PkdlD djrO76mIsyZGhuUpQeoAf4dpfhuU+RsKsJgS1M15uROx6Pyt4PbichR1TG+hS28Tj8+J mdsY1GLzY5Od0Ls1PHP45Lpql7p+deuN3i1k8jOnF1zlnFqgiOu4XRSSxfotFPkkSMyB +1bQiLV355FwYldJJ4rAJP+oQzxl49bdLpUsBUruTI6m29Cq6XYsSJC5q0RNULOT9qGT K65A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=w25PoQ4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si10924234plh.148.2021.10.15.18.02.02; Fri, 15 Oct 2021 18:02:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=w25PoQ4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239134AbhJOMvr (ORCPT + 99 others); Fri, 15 Oct 2021 08:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239135AbhJOMvm (ORCPT ); Fri, 15 Oct 2021 08:51:42 -0400 Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B1A6C061769; Fri, 15 Oct 2021 05:49:36 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 487F4BFBCC; Fri, 15 Oct 2021 14:49:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1634302174; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=8lm9gsabnoEYqTgKZqukYHlfOlUcDx4Taw7hbxvkE1k=; b=w25PoQ4x0Y24OkCpbgSjF3j1j5aK06mr9VRzWv/9oF4l7gwyZnsnZb4/pPuUBP8QViLjJz TmfqSukyj5mVgAvFVEWGb7nc49edLWlzIE6kJfb9fSnUnVCsSWPpqbYFGoo/xsh+2UyM9u S3egVukF1ECdl3szDwe1PD5S8u6HEA6Cl3cg+Ewf3TJZoEvUYNv9d6vc9RgEzh5SjgtfhA EBBqF/idvQesqjP7gVKhaIhC0VzolWkGEBoxn27Ya4xQYMcwL9r2a3tQQkb4aoKnA7nHUp Q35r0jZKy9DdakVHQQMaTDEKIZkGlkrsNFjd8hzf2Nyl1tm8rf2+gum5ZsK0Pw== 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 v2 6/6] arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY Date: Fri, 15 Oct 2021 14:48:40 +0200 Message-Id: <20211015124841.28226-7-frieder@fris.de> In-Reply-To: <20211015124841.28226-1-frieder@fris.de> References: <20211015124841.28226-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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". Without the RX delay the ethernet is not functional at all. Fixes: 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Cc: stable@vger.kernel.org Signed-off-by: Frieder Schrempf --- Changes in v2: * Fix the commit ref in the Fixes tag * Extend the commit message to make clear that ethernet is not working without this fix. --- 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 14263cd40daf..41ddaf980e14 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts @@ -113,7 +113,7 @@ &ecspi3 { &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-rxid"; phy-handle = <ðphy>; status = "okay"; -- 2.33.0