From patchwork Fri Oct 20 05:19:34 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: 13430049 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 A25F2CDB47E for ; Fri, 20 Oct 2023 05:20:20 +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=5yyGxtsP1ZUKMhwCsgP/FoLpH4a0Ssn7JOi2RzONU0w=; b=d2+NYCYHmOnXt5 sh+vFlJP3h1Csb6BJuHpbQdiPgWXEtrsTlxRGn3Nz3HS5Q2/R5Nuw2cGkgIUhF/JpfTUPzq51ZEfo w6uu7N6NAoBV7MnYI8edIePoIT42wBVYJkX1PyRlVQKvxc/h1V3PSy/NP1en6PWe6fSliguIKl+Je 7Nyr0gXdEk5FyWWThVFiEi/qMKokjF+cuu5BfgInQUQCYcg4XtayRgxXErVbcFrbd/DS+i1m+KHni qKK2fffnFhSK+e6my60LcGP4azeC+gOoH2xC0puD6l+XP4x+B69SuQuoZvTSJpGG2G9aUw2IgPaFW 6qMvujfx3lktdCdb0IkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qthvP-001FUi-1n; Fri, 20 Oct 2023 05:19:55 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qthvM-001FTa-29 for linux-arm-kernel@lists.infradead.org; Fri, 20 Oct 2023 05:19:54 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39K5JgWZ047974; Fri, 20 Oct 2023 00:19:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697779182; bh=YOyCVbrH9XYmK1l7b4XXUCGJm7bSvnigEETh7vRt/cc=; h=From:To:CC:Subject:Date; b=qrnKYoT52Wnf/00F4PJKDO1L5ybSTwFL9W1xvBBN6hJFAAGqDszK3J49W1z6gjdqP 3pCKv9GC8LNsWFaLfnKcdDHLc5xAkhB98uqag+aCUdgLEgGNWokXU3JNHK8hTjiEfz gAi1fTljNYQ+PLwkb5/ZkV2zh7+rkII8s3edH9CA= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39K5JgB4038204 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Oct 2023 00:19:42 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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.23; Fri, 20 Oct 2023 00:19:42 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.23 via Frontend Transport; Fri, 20 Oct 2023 00:19:42 -0500 Received: from lelv0854.itg.ti.com (lelv0854.itg.ti.com [10.181.64.140]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39K5JgNI116867; Fri, 20 Oct 2023 00:19:42 -0500 Received: from localhost (danish-tpc.dhcp.ti.com [10.24.69.31]) by lelv0854.itg.ti.com (8.14.7/8.14.7) with ESMTP id 39K5JfVh026773; Fri, 20 Oct 2023 00:19:41 -0500 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , , , MD Danish Anwar Subject: [PATCH v6 0/3] Add AM65x ICSSG Ethernet support Date: Fri, 20 Oct 2023 10:49:34 +0530 Message-ID: <20231020051937.3709871-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-20231019_221952_805027_F30D1197 X-CRM114-Status: GOOD ( 13.24 ) 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 v6 of the series [v1]. This addresses comments made on v5. Changes from v5 to v6: *) Fixed build failure seen on previous revision by creating new dtb k3-am654-evm.dtb. This dtb will now contain base-board and the ICSSG2 overlay. *) Removed renaming of k3-am654-base-board.dts to k3-am654-common-board.dts Now k3-am654-base-board.dts remains as it was. 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/ [v5] https://lore.kernel.org/all/20231013110150.4142508-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 +++ arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso | 145 ++++++++++ arch/arm64/boot/dts/ti/k3-am654-idk.dtso | 296 ++++++++++++++++++++ 4 files changed, 481 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-am654-idk.dtso base-commit: 4230ea146b1e64628f11e44290bb4008e391bc24