]> git.ipfire.org Git - thirdparty/u-boot.git/commit
remoteproc: k3-r5: Implement is_running operation
authorPhilippe Schenker <philippe.schenker@impulsing.ch>
Tue, 11 Nov 2025 07:16:30 +0000 (08:16 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 18 Nov 2025 18:50:05 +0000 (12:50 -0600)
commit0c192f52cfb8a4b1c29d61750f48e016ba6b978b
treedaebf9d1b9cc27e9db308c67ef3dea8581d40a90
parent3a43fc9016c3c37eefca10ed404c95ac7cecd3dc
remoteproc: k3-r5: Implement is_running operation

Add is_running callback to query the R5F core halt status via the
TI-SCI processor control API. This allows the remoteproc framework
to determine whether the R5F core is currently runnin.

The core is considered running when the PROC_BOOT_CTRL_FLAG_R5_CORE_HALT
bit is not set in the control flags.

Signed-off-by: Philippe Schenker <philippe.schenker@impulsing.ch>
Reviewed-by: Andrew Davis <afd@ti.com>
drivers/remoteproc/ti_k3_r5f_rproc.c