From patchwork Wed Oct 18 14:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ravi Gunasekaran X-Patchwork-Id: 736517 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AD96CDB47E for ; Wed, 18 Oct 2023 14:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231851AbjJROAe (ORCPT ); Wed, 18 Oct 2023 10:00:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231822AbjJROAd (ORCPT ); Wed, 18 Oct 2023 10:00:33 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A599DFA; Wed, 18 Oct 2023 07:00:30 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39IE0FJa070433; Wed, 18 Oct 2023 09:00:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697637615; bh=cF8uxM01yGbcIgO9pF4+ZLUEaOrjQiH5Dm3T2BN2y40=; h=From:To:CC:Subject:Date; b=neBjnd24P6RJko5TpR4GKsFhRUo4mP+ERg/Bd9BI141tBcsygW+xy6EwEle+KL5x+ MV9dmnmkqdZJt99ceRCwss2XdOyy/Zz2/TWE66YaH2aalTKD2s/mCTr3mjOKD51eeo RAoelw089XMQsYc9sXD1gJfW1k0x8ZjyfckvYKJI= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39IE0FOk085324 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Oct 2023 09:00:15 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 18 Oct 2023 09:00:14 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.23 via Frontend Transport; Wed, 18 Oct 2023 09:00:14 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39IE09kg028716; Wed, 18 Oct 2023 09:00:10 -0500 From: Ravi Gunasekaran To: , , , , , CC: , , , , , , , Subject: [PATCH net-next] net: ethernet: ti: davinci_mdio: Fix the revision string for J721E Date: Wed, 18 Oct 2023 19:30:09 +0530 Message-ID: <20231018140009.1725-1-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Prior to the commit 07e651db2d78 ("soc: ti: k3-socinfo: Revamp driver to accommodate different rev structs"), K3 SoC's revision was interpreted as an incremental value or one-to-one mapping of the JTAG_ID's variant field. Now that the revision mapping is fixed, update the correct revision string for J721E in k3_mdio_socinfo, so that MDIO errata i2329 is applied for J721E SR1.1. Fixes: 07e651db2d78 ("soc: ti: k3-socinfo: Revamp driver to accommodate different rev structs") Signed-off-by: Ravi Gunasekaran --- drivers/net/ethernet/ti/davinci_mdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 2dac75696c6da3c848daa118a729827541c89d33 diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 628c87dc1d28..998fe2717cf9 100644 --- a/drivers/net/ethernet/ti/davinci_mdio.c +++ b/drivers/net/ethernet/ti/davinci_mdio.c @@ -519,7 +519,7 @@ static const struct soc_device_attribute k3_mdio_socinfo[] = { { .family = "J7200", .revision = "SR1.0", .data = &am65_mdio_soc_data }, { .family = "J7200", .revision = "SR2.0", .data = &am65_mdio_soc_data }, { .family = "J721E", .revision = "SR1.0", .data = &am65_mdio_soc_data }, - { .family = "J721E", .revision = "SR2.0", .data = &am65_mdio_soc_data }, + { .family = "J721E", .revision = "SR1.1", .data = &am65_mdio_soc_data }, { .family = "J721S2", .revision = "SR1.0", .data = &am65_mdio_soc_data}, { /* sentinel */ }, };