[PATCH v7 09/13] arm: mach-k3: am62p5_init: Resume on LPM exit

Kumar, Udit u-kumar1 at ti.com
Sat Dec 13 07:57:05 CET 2025


On 12/10/2025 7:39 PM, Markus Schneider-Pargmann (TI.com) wrote:
> When exiting a low power mode with DDR self-refresh, we can directly
> resume after DDR setup is done. Call the common function to resume.
>
> Tested-by: Anshul Dalal <anshuld at ti.com>
> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp at baylibre.com>
> ---
>   arch/arm/mach-k3/am62px/am62p5_init.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/mach-k3/am62px/am62p5_init.c b/arch/arm/mach-k3/am62px/am62p5_init.c
> index 976bbbeb8747f9ddddd78b3f8d7f3787c5bfd576..4bc688ae10cd0ce36d87d2c2ad2d7609db52d5b2 100644
> --- a/arch/arm/mach-k3/am62px/am62p5_init.c
> +++ b/arch/arm/mach-k3/am62px/am62p5_init.c
> @@ -255,6 +255,16 @@ void board_init_f(ulong dummy)
>   	spl_enable_cache();
>   
>   	setup_qos();
> +
> +	if (wkup_ctrl_is_lpm_exit()) {
> +		u64 meta_data_addr;
> +
> +		ret = wkup_r5f_am62_lpm_meta_data_addr(&meta_data_addr);
> +		if (ret)
> +			panic("Failed to get LPM meta data address %d\n", ret);
> +		lpm_resume_from_ddr(meta_data_addr);
> +	}
> +

Any specific reason in patch 8/13, resume is done before cache and qos.

for this platform am62p5, cache is qos is done before resuming from standby


>   	debug("am62px_init: %s done\n", __func__);
>   
>   	fixup_a53_cpu_freq_by_speed_grade();
>


More information about the U-Boot mailing list