summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBeleswar Padhi <[email protected]>2025-06-09 13:44:28 +0530
committerTom Rini <[email protected]>2025-06-18 12:16:39 -0600
commit92e77d3768ae968158a5b76e023b86cf6b7d72bd (patch)
tree75141e2bbfcedd1ed07e90902fcb074cfc7c84fb /drivers
parent87a9c1f5a05a2eff0f2146bf9199145a00049a0e (diff)
remoteproc: k3-r5: Acquire processor control before reset ops
Acquire processor control before doing core reset operations in probe routine. Release the control afterwards, so that it can be acquired during core loading operations. Signed-off-by: Beleswar Padhi <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/remoteproc/ti_k3_r5f_rproc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/remoteproc/ti_k3_r5f_rproc.c b/drivers/remoteproc/ti_k3_r5f_rproc.c
index 57268e7f8ff..f4bab6868ee 100644
--- a/drivers/remoteproc/ti_k3_r5f_rproc.c
+++ b/drivers/remoteproc/ti_k3_r5f_rproc.c
@@ -834,8 +834,14 @@ static int k3_r5f_probe(struct udevice *dev)
return 0;
}
+ ret = k3_r5f_proc_request(core);
+ if (ret)
+ return ret;
+
/* Make sure Local reset is asserted. Redundant? */
reset_assert(&core->reset);
+
+ ti_sci_proc_release(&core->tsp);
}
ret = k3_r5f_rproc_configure(core);