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 and sets up environment to load FW in remote cores in patch 3,4,5. This patch series also enables remoteproc drivers by default as per what remoteproc sybsystem is supported per SoC, thus all remoteproc options are now deleted in configs/* since they are no longer required. This patch series was tested on am64x EVM, am62x SK, am62ax SK, am62px SK boards. Any additional tested by's are welcome since I was not able to test any additional boards. Tested by running the following commands in u-boot prompt: => setenv dorprocboot 1 => run boot_rprocs Links: v4: https://lore.kernel.org/u-boot/20250206015406.2702944-1...@ti.com/ v3: https://lore.kernel.org/u-boot/20250130223256.1944522-1...@ti.com/ v2: https://lore.kernel.org/u-boot/20250129225233.467139-1...@ti.com/ v1: https://lore.kernel.org/u-boot/20250123010759.810799-1...@ti.com/ Changes since v4: - Remove patch 6 from v4 - Add patches 6-10 from v5 Hari Nagalla (5): remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs board: ti: am64x: Add remoteproc specific env support board: ti: am62x: Add remoteproc specific env support board: ti: am62px: Add remoteproc specific env support Judith Mendez (5): remoteproc: Enable ARM64 remoteproc driver by default for K3 ARCH spl: Enable SPL remoteproc by default for K3 ARCH cmd: Enable CMD remoteproc by default for K3 ARCH arm: mach-k3: Enable remoteproc drivers by default for K3 ARCH configs: am6*/j7*: Remove remoteproc configs arch/arm/mach-k3/Kconfig | 24 ++ board/ti/am62px/am62px.env | 6 + board/ti/am62x/am62x.env | 6 + board/ti/am64x/am64x.env | 6 + cmd/Kconfig | 1 + common/spl/Kconfig | 1 + configs/am62ax_evm_a53_defconfig | 4 - configs/am62ax_evm_r5_defconfig | 3 - configs/am62px_evm_a53_defconfig | 4 - configs/am62px_evm_r5_defconfig | 3 - configs/am62x_beagleplay_a53_defconfig | 1 - configs/am62x_beagleplay_r5_defconfig | 3 - configs/am62x_evm_a53_defconfig | 1 - configs/am62x_evm_r5_defconfig | 3 - configs/am64x_evm_a53_defconfig | 3 - configs/am64x_evm_r5_defconfig | 3 - configs/am65x_evm_a53_defconfig | 3 - configs/am65x_evm_r5_defconfig | 3 - configs/am65x_evm_r5_usbdfu_defconfig | 3 - configs/am65x_evm_r5_usbmsc_defconfig | 3 - configs/j7200_evm_a72_defconfig | 2 - configs/j7200_evm_r5_defconfig | 3 - configs/j721e_beagleboneai64_a72_defconfig | 3 - configs/j721e_beagleboneai64_r5_defconfig | 3 - configs/j721e_evm_a72_defconfig | 3 - configs/j721e_evm_r5_defconfig | 3 - configs/j721s2_evm_a72_defconfig | 3 - configs/j721s2_evm_r5_defconfig | 3 - configs/j722s_evm_a53_defconfig | 4 - configs/j722s_evm_r5_defconfig | 3 - configs/j784s4_evm_a72_defconfig | 3 - configs/j784s4_evm_r5_defconfig | 2 - drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_m4_rproc.c | 371 +++++++++++++++++++++ drivers/remoteproc/ti_k3_r5f_rproc.c | 2 + 36 files changed, 429 insertions(+), 75 deletions(-) create mode 100644 drivers/remoteproc/ti_k3_m4_rproc.c base-commit: d6da3dbaef57fc1d319b6b552efa009e2489d7d9 -- 2.48.0