From patchwork Thu Jun 15 12:17:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 13281218 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E0550EB64D9 for ; Thu, 15 Jun 2023 12:18:16 +0000 (UTC) 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=NYyez302YA5IC4fYNw70YjlI9EhLD4uDALntMgRpegw=; b=ZiBro+mBY/upJU O8938WwWUHES4nkCKuOIgLw5kX0Q3SPFwOTGyyyKZINAf74WNNoxn77wq8ImyndxK1r1a+Mae9ZQf EIJ4F8EF9AEmJ6ISTe1dIAkN+qZEWM+/jy1KDU2ooQZYcgi+zHCIYur5X3rtSeZ6xDeOSg4Btr4MK +eHn5hZcXvpW7rbzEqreR2WmKTi2nTe7tMs8YxFZTj8nynbXFo241zo/gCUxMH1RpKF596IarWJ9d eOvjn/nfMPKqCgX49mXkbyTVOfXeUprv03RWmU1jkPk+Vs8QHcWOvMp8HKngiUgPX2oq6EYZQI0Xl lf5FBBTcMQoiomKloK1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9lvI-00EqtL-0P; Thu, 15 Jun 2023 12:17:56 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9lvF-00Eqpz-0w for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2023 12:17:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1686831465; x=1689423465; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=otBODeYk5ye/nH0jryDazGW/q5zUXnsvKnO/9SlKRgg=; b=bYlNzcAlp9dyjyXWCqKXkRk/FK+WUNRzhwkQuQ+n6aKr78l4dYuDeO5dnJAf8ThJ RLFfDSMslfZIVbDmIMzZBFqM4uQQYmShGi3K8/YdxvHuJhj5cToaQ8gNQ+QvKbKe 0aQbo7CgjJJbHm9dpj0wlJtImJZtQzi9PyYrZl93uSI=; X-AuditID: ac14000a-923ff70000007ecb-3e-648b01690190 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 67.FF.32459.9610B846; Thu, 15 Jun 2023 14:17:45 +0200 (CEST) Received: from augenblix2.phytec.de (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Thu, 15 Jun 2023 14:17:44 +0200 From: Teresa Remmet To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team CC: , Subject: [PATCH 1/7] arm64: dts: imx8mp-phycore-som: Remove eth phy interrupt Date: Thu, 15 Jun 2023 14:17:29 +0200 Message-ID: <20230615121735.614024-2-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230615121735.614024-1-t.remmet@phytec.de> References: <20230615121735.614024-1-t.remmet@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsWyRpKBRzeTsTvF4P0GLos1e88xWTy86m+x aupOFou+Fw+ZLTY9vsZq0fVrJbNF694j7BZ/t29isXixRdyi+526A5fHzll32T02repk87hz bQ+bx+Yl9R793S2sHhvf7WDy6P9rEMAexWWTkpqTWZZapG+XwJWxv/M9a8E77ooN244xNzA2 cnUxcnBICJhInDgo38XIxSEksIRJ4sOlqywQzhNGic8H37J3MXJysAloSDxdcZoJJCEicIpJ YvWJGcwgCWYBN4l/G+eDFQkL+Ep8WnyfEcRmEVCVWPpqDwuIzStgIfF98TdWEFtCQF5i5qXv YPWcApYSm1qPgc0RAqrp/LiUCaJeUOLkzCcsEPPlJZq3zobaJSFx8MULqHp5iV2XTjLCzJx2 7jUzhB0qsfXLdqYJjEKzkIyahWTULCSjFjAyr2IUys1Mzk4tyszWK8ioLElN1ktJ3cQIih0R Bq4djH1zPA4xMnEwHmKU4GBWEuFddqIrRYg3JbGyKrUoP76oNCe1+BCjNAeLkjjv/R6mRCGB 9MSS1OzU1ILUIpgsEwenVANjzu8XG5+rVZ6Rvxa6wU+/SrDLLOXdtwdcPzr8Ez8+3/JSxaD1 cHKM5oo9L88bHLFYs71KO3wBz7mPJwL6vD8pzN3NI5txVNc1tHtB36Mjcya1ZU3Sn7nxV3XC qht1j/RS3nbv08nyEHI/nP9392ZL0Q/GG2o6Vn01Ko6KNH2isaMuPeve/iuSSizFGYmGWsxF xYkAEFWsYYsCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_051753_496935_EC4CD19B X-CRM114-Status: GOOD ( 10.70 ) 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: Christian Hemp In some occasions the ethernet phy IRQ can not be detected correctly by the SoC. This leads to a non detected link in Linux. The problem is caused by the buffer that adjusts the voltage between ethernet phy and SoC. To workaround this, remove the IRQ support for the ethernet phy and use polling instead. Signed-off-by: Christian Hemp Signed-off-by: Teresa Remmet --- arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi index ecc4bce6db97..e73f1711ec89 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi @@ -54,8 +54,6 @@ mdio { ethphy1: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <15 IRQ_TYPE_EDGE_FALLING>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; @@ -222,7 +220,6 @@ MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x14 MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x14 MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x14 MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x14 - MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x11 >; };