On 22/05/25 12:48, Beleswar Padhi wrote:
> 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 <b-pa...@ti.com>
> ---
>  drivers/remoteproc/ti_k3_r5f_rproc.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> 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);

Reviewed-by: Neha Malcom Francis <n-fran...@ti.com>

-- 
Thanking You
Neha Malcom Francis

Reply via email to