From patchwork Tue Apr 25 05:44:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Vadapalli X-Patchwork-Id: 13222809 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 C8A52C77B61 for ; Tue, 25 Apr 2023 05:45:57 +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: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:In-Reply-To:References: List-Owner; bh=R50XO2ZC7CcmhZm8hZhSYq65PwuB0ibYNVDsalERrmg=; b=xEdAh/HD5YhdzY gfkP29Wo60OKyG+zXJk3ORggH60lY6DNz4ZPpX6mGZcSgHCNUt9r3XjTq91sJTohb+z22bQvROYDb rPyHxFcJCOXZrL+055dKmdBuO696+95VjjzcNyBHya7L6W5YkwRgz+EJaXUlxDvdK1hapLzNgi8FR 3n6y/V1Dsg7ezpJ0NAkVOUdM5A10FIK4Tkp4IMbe5cTX7rhXEOv40ytxBaJqLkqKyFyZpMGamJdDG 1uhlvkffuRq4N/wI2Sn5yFPfKpFMlDuusS8z2muqUx1uPh43P0WWkUznq0VLUCEEod1X7NkpFPF17 66rJKKQ3iaTTTuImzs8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prBU9-000F8H-0v; Tue, 25 Apr 2023 05:45:05 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1prBU1-000F69-2j for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2023 05:44:59 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33P5iYDh025758; Tue, 25 Apr 2023 00:44:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682401474; bh=EshFoB8Mkf7rfZOTlHpL7ZYxF50voA5/6L7VAz4DBuk=; h=From:To:CC:Subject:Date; b=A8UEcL8kzWG6LYxClhrFz3/cwk7rXeRHd1Cpd/M08VryRSrzMW4j3YKxhRpkPHIf0 4+QZSsORPe74PHudM3LwvU8O5wIK99EGS3D384XvVqf6oB72c4U+tRgkTCeeX8IxfT 6cTqA+GMYMygl83nS93dRteddrEJxdakDwnH7m6Y= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33P5iY8x025760 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Apr 2023 00:44:34 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 25 Apr 2023 00:44:34 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 25 Apr 2023 00:44:34 -0500 Received: from uda0492258.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33P5iURn124283; Tue, 25 Apr 2023 00:44:31 -0500 From: Siddharth Vadapalli To: , , , , , , CC: , , , , Subject: [RFC PATCH 0/2] DP83867/DP83869 Ethernet PHY workaround/fix Date: Tue, 25 Apr 2023 11:14:27 +0530 Message-ID: <20230425054429.3956535-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230424_224457_925267_3CDAA4D4 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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 Hello, This series adds a workaround for the DP83867 Ethernet PHY to fix packet errors observed with short cables, when both ends of the link use the DP83867 Ethernet PHY. This issue is described in Section 3.8 at [0]. Also, for the DP83869 Ethernet PHY which supports both RGMII and MII modes of operation, support is added to allow switching to MII mode by configuring the OP_MODE_DECODE Register in Section 9.6.1.65 at [1]. Regards, Siddharth. --- [0]: https://www.ti.com/lit/an/snla246b/snla246b.pdf [1]: https://www.ti.com/lit/ds/symlink/dp83869hm.pdf Grygorii Strashko (2): net: phy: dp83867: add w/a for packet errors seen with short cables net: phy: dp83869: fix mii mode when rgmii strap cfg is used drivers/net/phy/dp83867.c | 15 ++++++++++++++- drivers/net/phy/dp83869.c | 5 ++++- 2 files changed, 18 insertions(+), 2 deletions(-)