[PATCH v3 04/22] firmware: ti_sci: Add TI_SCI_MSG_MIN_CONTEXT_RESTORE
Akashdeep Kaur
a-kaur at ti.com
Tue Jul 1 16:51:59 CEST 2025
On 23/06/25 17:38, Markus Schneider-Pargmann wrote:
> This patch adds code to be able to call TI_SCI_MSG_MIN_CONTEXT_RESTORE.
> The context needs to be restored after booting SPL when resuming from
> IO+DDR.
>
> Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
> ---
> drivers/firmware/ti_sci.c | 38 ++++++++++++++++++++++++++++++++++
> drivers/firmware/ti_sci.h | 14 +++++++++++++
> include/linux/soc/ti/ti_sci_protocol.h | 9 ++++++++
> 3 files changed, 61 insertions(+)
>
> diff --git a/drivers/firmware/ti_sci.h b/drivers/firmware/ti_sci.h
> index ce50bf6800eb1fee70a872d8ae648b1a9582b681..e0e7c229deda20bf638a5e33f0225d8a35a01779 100644
> --- a/drivers/firmware/ti_sci.h
> +++ b/drivers/firmware/ti_sci.h
> @@ -45,6 +45,9 @@
>
> +/**
> + * struct ti_sci_msg_min_restore_context_req - Request to restore context from DDR
> + *
> + * @hdr: Generic Header
Missing parameter description for ctx_lo and ctx_hi
> + */
> +struct ti_sci_msg_min_restore_context_req {
> + struct ti_sci_msg_hdr hdr;
> + u32 ctx_lo;
> + u32 ctx_hi;
> +} __packed;
> +
Regards,
Akashdeep Kaur
More information about the U-Boot
mailing list