Home
last modified time | relevance | path

Searched hist:"6 aa8d320052102fdf83be925ef5a7013e4dbeacb" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_rtc.c6aa8d320052102fdf83be925ef5a7013e4dbeacb Tue Sep 09 15:45:11 UTC 2025 Thomas Bourgoin <thomas.bourgoin@foss.st.com> drivers: stm32_rtc: prevent registering of RTC interrupt when it's not used by OP-TEE

Do not register the RTC interrupt when it's not used by OP-TEE as it
prevents non-secure world from handling that interrupt.

The RTC interrupt line is only used if the RTC is set as a wakeup source
or RTC is secured by the RIF (only for STM32MP2x) and RTC PTA and
async notif are enabled.

Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Reviewed-by: Clément Le Goffic <legoffic.clement@gmail.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>