From patchwork Wed Sep 14 09:50:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Vadapalli X-Patchwork-Id: 12975954 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 5B33EECAAD3 for ; Wed, 14 Sep 2022 09:57:52 +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=6GTCflzx7yuvD3/VavKeeXxriYoGqaA3KJEcwZZN5mo=; b=VqFGhis2PKvW9f GImzyU6UzVJ/pQX2Gfh1/1thNr5qdMLEieD+5miTTwlFay5zeRJdKv24/HAj79dWKTATFcgHmUAA3 NyBe0w/ETAsiCBgNEFaBvIpD9llg5pfjkj2t+pH4V/WeHyik/rdQOL0IxRZ/ByzvSjoEQq05x9hJ3 gaCs/SZeoda/O6PyoxWrEJjCHtcjybeh4GSvQrDi45YrzGDFTd5Tq26E7W4MLMCJWvTR+rKgQQTxy 7DffTUdVJDZA8LIjmf0wlU17+wDcztspcF5S8S54fINQ3RAfvNcukZ4X+sf53Uy+6rjqxeAcYYZVK Dokd9c2S3SLcAqu98TsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYP8K-00EZZx-41; Wed, 14 Sep 2022 09:56:40 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYP3L-00EVEf-8h for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2022 09:51:32 +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 28E9p0IM101243; Wed, 14 Sep 2022 04:51:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663149060; bh=G5JJSLPgnGzsnxIH7JQUb1JFnlgikFlcJPmPUeJjPUw=; h=From:To:CC:Subject:Date; b=s3Znpfhb4NmL5yzgyXSqQIR4gSlAVIN5T/1oiDJndb7JK0H8FZJ6e4gpBi26uBGgc Z0Tf89GbH2FFVlgk0tRdtGAK2WhPTYnMH7e9vQgMo2yXEKspatsZDcr/FxU/VHsV/O 7XLzMYbUPmLCnNdyWtKUX+X+czsVGXOZ9DDLaonY= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28E9p0X8010181 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Sep 2022 04:51:00 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) 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.6; Wed, 14 Sep 2022 04:50:59 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Wed, 14 Sep 2022 04:50:59 -0500 Received: from uda0492258.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28E9osD0046564; Wed, 14 Sep 2022 04:50:55 -0500 From: Siddharth Vadapalli To: , , , , , , , , , , , CC: , , , , , Subject: [PATCH 0/8] Add support for J721e CPSW9G and SGMII mode Date: Wed, 14 Sep 2022 15:20:45 +0530 Message-ID: <20220914095053.189851-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-20220914_025131_383767_09678C6B X-CRM114-Status: UNSURE ( 7.43 ) 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 Add compatible for J721e CPSW9G. Add support to power on and configure SERDES PHY. Add support for SGMII mode for J7200 CPSW5G and J721e CPSW9G. Siddharth Vadapalli (8): dt-bindings: net: ti: k3-am654-cpsw-nuss: Update bindings for J721e CPSW9G net: ethernet: ti: am65-cpsw: Add support for SERDES configuration net: ethernet: ti: am65-cpsw: Add mac control function net: ethernet: ti: am65-cpsw: Add mac enable link function net: ethernet: ti: am65-cpsw: Add support for fixed-link configuration net: ethernet: ti: am65-cpsw: Add support for SGMII mode for J7200 CPSW5G net: ethernet: ti: am65-cpsw: Add support for J721e CPSW9G net: ethernet: ti: am65-cpsw: Enable SGMII mode for J721e CPSW9G .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 23 ++- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 186 +++++++++++++++--- 2 files changed, 178 insertions(+), 31 deletions(-)