From patchwork Fri Oct 13 11:01:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MD Danish Anwar X-Patchwork-Id: 13420719 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 CE291CDB47E for ; Fri, 13 Oct 2023 11:02:43 +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=oiQ5vdkDguVEz/nAcvEOvm+JN7ajr+0GSxbRnm0A6Ks=; b=SMZot5H2DDNLnl Px64ckE56tU/ap9QF7kksWSnvZ4wDC6X5AW0DqA1RZBX9CtOEIfr7PnS0xzSlBXQahSd+RBv0jIYa NzwXRlNJB6E9o9OHMJR5o5C34gl5ltHba8VzGn1Ps7osSSp2CdMjV2LaZVJ3/8bV7eOnDfPNd+z1z 59YeB8lSfa9wkEPifV98IzOQ0Xh+4A1Vnlni7a/eXnLE2WzNbQ9ZjFiDKRG9sYLtBjc9uchXWSX7r UMyQsegJWcNdrX2sosJomydB9JHt/IeX6SchBA8mOSb6KS1QP1TyC8eO4s7BPfkenVfy1zWzglvK2 +NPksWqBV61q6KhCi8wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qrFvr-003GnI-1d; Fri, 13 Oct 2023 11:02:15 +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 1qrFvh-003GhT-2q for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2023 11:02:08 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39DB1wSJ127444; Fri, 13 Oct 2023 06:01:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697194918; bh=6ctdyBo1vyiyxFiiRhLGd/krHGLGu5yDPASGRfE77WI=; h=From:To:CC:Subject:Date; b=L674unkqSQsajy9WfH4v0FLsv/p+LcNNlc+k591GkOpLXbdkuoHZMj0g0GM49tDNf fQN4KSQajRCd/PctGrHLJBk+oO95qlYDBs0LUiZNgG24G9UrkuhAwZOhOvNRW/saOD eUQWFtd55NNnfPUoTxtYNxX0zcl8aTquvCd0hUP0= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39DB1wAI105471 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 Oct 2023 06:01:58 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 13 Oct 2023 06:01:58 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) 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; Fri, 13 Oct 2023 06:01:58 -0500 Received: from fllv0122.itg.ti.com (fllv0122.itg.ti.com [10.247.120.72]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39DB1vuj018508; Fri, 13 Oct 2023 06:01:57 -0500 Received: from localhost (dhcp-10-24-69-31.dhcp.ti.com [10.24.69.31]) by fllv0122.itg.ti.com (8.14.7/8.14.7) with ESMTP id 39DB1v0J022786; Fri, 13 Oct 2023 06:01:57 -0500 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , , , MD Danish Anwar Subject: [PATCH v5 0/3] Add AM65x ICSSG Ethernet support Date: Fri, 13 Oct 2023 16:31:47 +0530 Message-ID: <20231013110150.4142508-1-danishanwar@ti.com> X-Mailer: git-send-email 2.34.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-20231013_040206_037405_E835E154 X-CRM114-Status: GOOD ( 12.18 ) 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 Hi All, This series adds support for ICSSG ethernet on AM65x SR2.0. This series also enables TI_ICSSG_PRUETH as loadable kernel module. This series is based on the latest next-20230925 linux-next. This is the v5 of the series [v1]. This addresses comments made on v4. Changes from v4 to v5: *) Modified commit message of patch 2/4 as asked by Vignesh. *) Dropped patch 4/4 ("Enable TI_ICSSG_PRUETH") as it was having build warning. Changes from v3 to v4: *) Added RB tag of Andrew Davis. *) Added LAKML to the --cc of this series as it was dropped in v3. Changes from v2 to v3: *) Changed comment of icssg nodes in device trees from "Dual Ethernet application node" to "Ethernet node" as asked by Andrew L. *) Applied k3-am654-idk.dtbo at build time to the k3-am654-base-board.dtb in order to not have orphan DTBO as asked by Andrew D. *) Modified k3-am654-gp-evm.dtb to have k3-am654-icssg2.dtbo as well. Changes from v1 to v2: *) Moved ICSSG2 nodes from k3-am654-base-board.dts to new overlay file k3-am654-icssg2.dtso as asked by Andrew. *) Renamed k3-am654-base-board.dts to k3-am654-common-board.dts *) Added "Enable TI_ICSSG_PRUETH" patch to this series. [v1] https://lore.kernel.org/all/20230911071245.2173520-1-danishanwar@ti.com/ [v2] https://lore.kernel.org/all/20230921060913.721336-1-danishanwar@ti.com/ [v3] https://lore.kernel.org/all/20230926045337.1248276-1-danishanwar@ti.com/ [v4] https://lore.kernel.org/all/20231003105539.1698436-1-danishanwar@ti.com/ Thanks and Regards, MD Danish Anwar MD Danish Anwar (3): arm64: dts: ti: k3-am65-main: Add ICSSG IEP nodes arm64: dts: ti: k3-am654-base-board: add ICSSG2 Ethernet support arm64: dts: ti: k3-am654-idk: Add ICSSG Ethernet ports arch/arm64/boot/dts/ti/Makefile | 4 + arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 36 +++ ...se-board.dts => k3-am654-common-board.dts} | 0 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso | 145 +++++++++ arch/arm64/boot/dts/ti/k3-am654-idk.dtso | 296 ++++++++++++++++++ 5 files changed, 481 insertions(+) rename arch/arm64/boot/dts/ti/{k3-am654-base-board.dts => k3-am654-common-board.dts} (100%) create mode 100644 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-am654-idk.dtso