From patchwork Wed Jul 19 07:13:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 13318415 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 0CEEAC001DC for ; Wed, 19 Jul 2023 07:15:53 +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=4JimHtLHMUsXciSTXPGl3Sg6rMX1oCp5QCzyEDWl6ok=; b=PUuhAvBDG9o3wm lrLbP4BDt0gfK5NcWFSCx16GLmfk3tz5nLavPWRUdTgdB1ZYiqrRuPGhFAgYXjV25ggJ380kgRV+E q0ceai8TiuPsLdG0vTZ/yyAQ3QMHiD3sE/qmlJls+jB993RcfNdFTl89mxJwSTReRGNVhnFzJJmAS m0oe7zu0tVR4Vv9BCHyEwqxxynguZBLTXXozSxpwX5hw435lz9Ij/tBz1UQ7e4QeKkUn8y/sXFH2o o+YQ0GAGptXeXtAO60yQwnplRgM13JTn7GuG41ywo07Dvc4qHRxqdpgeUODSaEbL8tN5jjpdUw13G UzOaEoseBKyasy9kjslg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM1PK-0063UP-0y; Wed, 19 Jul 2023 07:15:34 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM1PG-0063Sr-39 for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2023 07:15:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1689750924; x=1692342924; 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=WSl2rTx4Jbx5bMzj4fGvVSypKQ4/TxVZX9AkRiH3BUs=; b=EZ5QKOkN3d+ORYDmqqqVXzdPA0hp+bnYQQhBomn78z6SVC5VR3Vv7izTwx6kt9Pj wm/vyfnSIIxCdHZjHKiDBe74FIB8hn6rELDyKCKQfz+ZJVVTxVsUAgR+Og/Az5Pe jhvNqBgZPBaoKVETdzEsJlEjAttpk/bILHI/wraP1x8=; X-AuditID: ac14000a-917fe70000007ecb-2b-64b78d8c1adf 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 03.C3.32459.C8D87B46; Wed, 19 Jul 2023 09:15:24 +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; Wed, 19 Jul 2023 09:15:15 +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 v2 1/7] arm64: dts: imx8mp-phycore-som: Remove eth phy interrupt Date: Wed, 19 Jul 2023 09:13:07 +0200 Message-ID: <20230719071313.3274882-2-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230719071313.3274882-1-t.remmet@phytec.de> References: <20230719071313.3274882-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+NgFvrBLMWRmVeSWpSXmKPExsWyRpKBR7end3uKQfcpSYs1e88xWTy86m+x aupOFou+Fw+ZLTY9vsZq0fVrJbNF694j7BZ/t29isXixRdyi+526A5fHzll32T02repk87hz bQ+bx+Yl9R793S2sHhvf7WDy6P9rEMAexWWTkpqTWZZapG+XwJXxbp1twUSeipkth9kbGGdx dTFyckgImEjcav7E3MXIxSEksIRJ4uS7ZhYI5wmjxNTumcwgVWwCGhJPV5xmAkmICJxiklh9 YgZYglnATeLfxvnsILawQIDE5yMbwWwWAVWJY/+3M4HYvAKWEhs6L7FCrJOXmHnpO1gNp4CV xLX+Y2BxIaCaPfseskLUC0qcnPmEBWK+vETz1tlQuyQkDr54wQxRLy+x69JJRpiZ0869Zoaw QyW2ftnONIFRaBaSUbOQjJqFZNQCRuZVjEK5mcnZqUWZ2XoFGZUlqcl6KambGEGxI8LAtYOx b47HIUYmDsZDjBIczEoivI8ub0sR4k1JrKxKLcqPLyrNSS0+xCjNwaIkznu/hylRSCA9sSQ1 OzW1ILUIJsvEwSnVwMi5NDmf9dIF7u/v+FZ7sxtv7TET3jbfSz9+/cey/6WJs+zCTzq6ce5k yOhQEtoV2qCddJHJckF/bfIlzoII7zqbLf0LS8s+Ry5Y7Gqu4fvL/PY81ktSfAd9vHl/Rnf/ Z/ayTHql175udfO9uNeP0mPcX8z8yCAwPVrzc2pmGNsFofIXtpUsSizFGYmGWsxFxYkAYn8/ nosCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_001531_186962_01E86F8D X-CRM114-Status: GOOD ( 11.93 ) 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 --- Changes in v2: - no changes --- 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 >; };