From mboxrd@z Thu Jan 1 00:00:00 1970 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 5A2CFC0218D for ; Thu, 30 Jan 2025 22:33:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE2AE82145; Thu, 30 Jan 2025 23:33:06 +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="gzGg85Gi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D1DF82139; Thu, 30 Jan 2025 23:33:03 +0100 (CET) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) (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 5E3C180F0E for ; Thu, 30 Jan 2025 23:32:59 +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 fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 50UMWvxi1557742 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Jan 2025 16:32:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738276377; bh=qEgGEYSuTtVsxqqq3eGT8be8d0PTHySeR4z5vyVEhuA=; h=From:To:CC:Subject:Date; b=gzGg85GiM13A1VfuoXUfy6lkmV3EHoa8AFW8RgcR2bjSDD+EH9Z5NAA6qqUfCe7V9 gcu2dPbnqjnltzlE06vkFFkwF5kMak9fBJ0cRlaNHVH/xV+kp+lcggxEjzM2quqOFs +VRKqVjxHL5fipvv4bGe26sRNZ3tYdWprjKAR/pk= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 50UMWvO5017657 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Jan 2025 16:32:57 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 Jan 2025 16:32:56 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) 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; Thu, 30 Jan 2025 16:32:56 -0600 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 50UMWuHi029547; Thu, 30 Jan 2025 16:32:56 -0600 From: Judith Mendez To: Tom Rini CC: Vignesh Raghavendra , Hari Nagalla , Andrew Davis , , Daniel Schultz , Judith Mendez Subject: [PATCH v3 0/4] Introduce K3 remoteproc driver for M4 subsystem Date: Thu, 30 Jan 2025 16:32:52 -0600 Message-ID: <20250130223256.1944522-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 v2: - Cleanup unused labels - Remove optional init and reset functions which do not do anything - In stop, call unprepare() instead of ti_sci_proc_power_domain_off() Since it is already a wrapper for ti_sci_proc_power_domain_off 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 | 370 +++++++++++++++++++++++++++ drivers/remoteproc/ti_k3_r5f_rproc.c | 2 + 6 files changed, 391 insertions(+) create mode 100644 drivers/remoteproc/ti_k3_m4_rproc.c base-commit: 021baf7b08cceb58bb850859dba1614424e16a83 -- 2.48.0