From patchwork Fri Mar 15 21:15:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanmay Shah X-Patchwork-Id: 13594065 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 4A7EAC54E67 for ; Fri, 15 Mar 2024 21:16:45 +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=YY3z0aRmluncxFbsocjbt1gbvQYldcS7RNA+TSoBiKo=; b=dFcgM5b8Fcnlyt dSObOa2X339SMC+KEaRmIRKfHcODnpU2LHHcSVHamnkrmTiI/o2R9+F4D1ir1IxfEnr/OGyGv4kj2 y/okOUxOqLHvnFpMy2VEzLuAOUrB0AqrJ+ZuC8Wi/Uyu3L7hZclxTLYQydKTmjMjaMasYLmV87wjc 6eNVtQ2cRbzK+c1ubRiv01H4I6DQv5wdAjiFcjMXOBbyAEcIdwWjzlHfa/EWLLG3Xx38vEEDz4A6U 5yz0UyseL5gcGw4j1xmzi3hUbH7P0geW8evXXoC0WaFgTjKByZ4dMBG6O5908EBi5Ifgc1vHPOPwr VyAfK9EPpxejiNIWxGYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlEul-00000001c3C-3vJd; Fri, 15 Mar 2024 21:16:31 +0000 Received: from mail-mw2nam12on20600.outbound.protection.outlook.com ([2a01:111:f403:200a::600] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlEug-00000001c17-0qMW for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 21:16:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kNr/RkOq7dcLVdX+U4Knbeet10OCQHMapO0Zb6jK35RHVIi+MWOpWfceDEYVmqqJoAhwgO1cEDT0rwgcOoL0twTvwDehmU32LrP1luwwC4LlflSFuCYI32LhNvEnATqW/kR1TVnd73thIra70zS1Xl2Upw5AGPLiL3KeuvteJFnQztXzjyVSEDBAZ9ibUA8J4FUU95C8ptCLyL3RoUtlJb1djVXx1Y2e/yMMf1TlZvfAAdDl/IuYSrRG7d9Q/zQtWJMZn7QuAAnvdHgfleS8mmDMOVAIr9I98KVWIfJT7fDA+UWx6+UabSq5lLEryie3dNjzMeGczqbr34P44tAAig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qoRhqOupdLOowQzHhHpNwLwsERX6sdA09fAQF59/I+E=; b=H0ed6oc5qMAr8yyt3Texnw2r5Lm5FYRp05d9xDQPRRCzaYhPW2sCj2YB8raIpF0JYwC6Uu8ALDtzbRi/nAs3LtXA+2+lvGzgjDC2UzosNVuNvjzYXcL5h7nlt2tU3rzjr7j7qdqvl6oaZjf9n1gmmghGh5vb0O/byQNiiz73KG8e8mNA7cRq/8TxMLTLC4+kSvWtcsFH7Qj1jG7sD+ZCktLOiZ6OEnrrJpyJyTqrTFFt1FG53C3uTo7I/OhcnHwhpuaxhyqR5fJNd17H7mjCekUt8JKVUn9ZPHqZVkL7cca7nNs8/mrl0Fx6fdNQZpMKN4Ea8whYaJZIHL4BNlF7Pw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qoRhqOupdLOowQzHhHpNwLwsERX6sdA09fAQF59/I+E=; b=x8o4YOrNb1xHcSFUuTG41B5okYUocLqkv3n8GJfuEirtMOboHqx4f7vNcvUBu6QtvmkmXwl9kuU7kISO68uI3EvqF8ctFGTqeqzOlK7XBNtKeBWJ2K3SiT2YQjv60DXiH49AZAw2bpXlL8r4fY1+C4X38BsgebWREZmpSgcFC6I= Received: from BLAPR03CA0055.namprd03.prod.outlook.com (2603:10b6:208:32d::30) by MW6PR12MB8960.namprd12.prod.outlook.com (2603:10b6:303:23e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.19; Fri, 15 Mar 2024 21:16:15 +0000 Received: from MN1PEPF0000ECD9.namprd02.prod.outlook.com (2603:10b6:208:32d:cafe::eb) by BLAPR03CA0055.outlook.office365.com (2603:10b6:208:32d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.20 via Frontend Transport; Fri, 15 Mar 2024 21:16:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by MN1PEPF0000ECD9.mail.protection.outlook.com (10.167.242.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7386.12 via Frontend Transport; Fri, 15 Mar 2024 21:16:13 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 15 Mar 2024 16:16:12 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 15 Mar 2024 16:16:12 -0500 Received: from xsjtanmays50.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 15 Mar 2024 16:16:11 -0500 From: Tanmay Shah To: , , , , , , , CC: , , , Subject: [PATCH 0/3] Add Versal and Versal-NET platform support Date: Fri, 15 Mar 2024 14:15:30 -0700 Message-ID: <20240315211533.1996543-1-tanmay.shah@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: tanmay.shah@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD9:EE_|MW6PR12MB8960:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d854a22-2df0-4aec-3861-08dc453524d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WixXjPKmthfNrY/K6xvuP3jCxDaOYZKwF3/9S9QulhDHu/vv2lNdqlJVIQdWpNKOx0DZm3WC7RwBjYOqWN37es0WOXcw2Sjv9tjji4vNz4v4+5mvzkNVaKo0FIFCewF1ouaYYnfweGIVMbul31yhbs+KBZCZjowYfLRpadTeK5Ocy1kL7yXu04pMQ9whbZ5jzW+ewGEcQ3YUt06hUrU2h3QqvPCapSbwbk/Z/HDUS5ehsqiQGX+gS74MmICN0ueJmEDJ21av5xedXnzA+A/QUWNLjgbNYj7aIJeXq6+NsSS0JU4dJy3hoBR0iaQ57PmefyW4A+90DtvnGJa6ZJ8sFs5CF6hRF+EIHJLZam1tseCLmmxNo/dMwo/uK8By3vE7T4Jq6NliaWkPPvYM27y3ZUn7/W9P9XuH9Zyet8tgsYq24Zz3pFBfllkiHe9Ec94m4Yop6drsR+WC/vFvDCijHnYN6mkbr/68pFg5ApANptnr3n2iq6sNSFxdvK1sTucmGFl0J2tcECxto6DmCm0bT7OW1dTG7C/WAMs9GTL7b8Mmj2jqhrIYv0K6hXOQCJntI7WGuRDtahxJO6jvWsH4aKfeRff44VoyafCleDMOmWnvvdgwfK/GBR+omMkTilnK+Yd69hZDnMzc4cto7hJFctqLkz0HuIx1UbgIauAnsgWj+xzijJ16zqGXpAN9gqOGv1mCtGh5/dwae5MaxYFh0A== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(36860700004)(376005)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 21:16:13.2639 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d854a22-2df0-4aec-3861-08dc453524d2 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000ECD9.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8960 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240315_141626_267967_CE1EB2FF X-CRM114-Status: UNSURE ( 8.68 ) 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 AMD-Xilinx Versal platform is successor of ZynqMP platform. Real-time Processing Unit R5 cluster IP on Versal is same as of ZynqMP Platform. Add bindings example for Versal remoteproc node. ZynqMP driver is comatible for Versal's RPU unit. AMD-Xilinx Versal-NET platform is successor of Versal platform. Versal-NET Real-Time Processing Unit has two clusters and each cluster contains dual core ARM Cortex-R52 processors. Each R52 core is assigned 128KB of TCM memory. Add bindings and example node of Versal-NET RPU. Add Versal-NET support in ZynqMP remoteproc driver. This series depends on follwoing series: Link: https://lore.kernel.org/all/20240311175926.1625180-1-tanmay.shah@amd.com/ title: add zynqmp TCM bindings Tanmay Shah (3): dt-bindings: remoteproc: add Versal platform support dt-bindings: remoteproc: add Versal-NET platform drivers: remoteproc: add Versal and Versal-NET support .../remoteproc/xlnx,zynqmp-r5fss.yaml | 313 ++++++++++++++++-- drivers/remoteproc/xlnx_r5_remoteproc.c | 19 +- 2 files changed, 292 insertions(+), 40 deletions(-) base-commit: e8f897f4afef0031fe618a8e94127a0934896aba prerequisite-patch-id: ecf2ff9fd2f2a9a39f55f961b52a5414ea2f2962 prerequisite-patch-id: ff02d06bb3dbd13258cd5748c7486c363bd60478 prerequisite-patch-id: 4869c001ae65dfedaa2e481a3119de03b44a31c5 prerequisite-patch-id: 95e214bf94bce74d86972ea229186f602b5375ae