On 8/28/2026 7:27 PM, Richard Genoud (TI) wrote:
> From: "Thomas Richard (TI)" <[email protected]>
> 
> Add the board specific part of the exit retention sequence for k3-ddrss:
> - exit DDR from retention
> - de-assert the DDR_RET pin
> - restore DDR max frequency
> - exit DDR from low power
> Then generic resume path is run.
> 
> Signed-off-by: Thomas Richard (TI) <[email protected]>
> ---
>  arch/arm/mach-k3/j721s2/j721s2_init.c | 49 ++++++++++++++++++++++++---
>  1 file changed, 45 insertions(+), 4 deletions(-)
> 
>[..]> +
> +                     /* exit DDR from low power */
> +                     for (ctrl = 0; ctrl < MAX_DDR_CONTROLLERS; ctrl++)
> +                             k3_ddrss_lpddr4_exit_low_power(devs[ctrl],
> +                                                            &regs[ctrl]);
> +
> +                     do_resume();

Please check for calling spl_enable_cache() before do_resume

> +             }
>       }
>       spl_enable_cache();
>  }

Reply via email to