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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18017C02190 for ; Wed, 29 Jan 2025 22:52:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0EBB80CB0; Wed, 29 Jan 2025 23:52:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="mXdnnfbm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 706D4807DC; Wed, 29 Jan 2025 23:52:38 +0100 (CET) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7330B80AE5 for ; Wed, 29 Jan 2025 23:52:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jm@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50TMqY8h1430606 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Jan 2025 16:52:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738191154; bh=1NJrc1xM+2WZmUYeCe0uCUVDgYqe5zkabR3+VE9o3GY=; h=From:To:CC:Subject:Date; b=mXdnnfbmau7dKd2wVYCaZePpuYoB/8K9OpvXaF2d1Qet1paPCHtBqsHOg1DSfv5d0 tmlk15m/oalbQKj8WJ6kkEWcufDOHEvO/1WgQ3lftlMa6ZbjHVkV8ZU8B589+ojQnj HuQFO18/YHuTltuyJDDGQi3BAvqY9qnrhuKAhfPY= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50TMqYYC129310 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Jan 2025 16:52:34 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 29 Jan 2025 16:52:34 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE103.ent.ti.com (157.170.170.33) 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, 29 Jan 2025 16:52:33 -0600 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50TMqXBG125009; Wed, 29 Jan 2025 16:52:33 -0600 From: Judith Mendez To: Tom Rini CC: Vignesh Raghavendra , Hari Nagalla , Andrew Davis , , Daniel Schultz , Judith Mendez Subject: [PATCH v2 0/4] Introduce K3 remoteproc driver for M4 subsystem Date: Wed, 29 Jan 2025 16:52:29 -0600 Message-ID: <20250129225233.467139-1-jm@ti.com> X-Mailer: git-send-email 2.48.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F cores on am64x SoCs in patch 2/4, sets up environment to load FW in remote cores in patch 3/4, and enables config options for R5F and M4 remoteproc support in patch 4/4. This patch series was tested on am64x EVM using commands: => setenv dorprocboot 1 => run boot_rprocs Changes since v1: - reorder Kconfig entry - add Daniel's tested-by and reviewed-by - cleanup m4 rproc driver by removing uses_lreset which is always set anyways for M4 remotecores Hari Nagalla (4): remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs env: ti: am64x: set rproc_fw_binaries configs: am64x_evm_a53_defconfig: Enable R5F and M4 remote proc support board/ti/am64x/am64x.env | 6 + configs/am64x_evm_a53_defconfig | 2 + drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_m4_rproc.c | 392 +++++++++++++++++++++++++++ drivers/remoteproc/ti_k3_r5f_rproc.c | 2 + 6 files changed, 413 insertions(+) create mode 100644 drivers/remoteproc/ti_k3_m4_rproc.c -- 2.48.0