Add NXP's i.MX8 SoCs SRTC SIP(silicon provider) service support
On NXP's i.MX8 SoCs with system controller inside, SRTC is maintained
in SCFW(system controller firmware), it can ONLY be accessed in EL3
mode for some functions like changing time, setting alarm etc,, so Linux
needs to use SMC call to trap into TF-A using SIP protocal, and TF-A will
call SCFW IPC API to operate the SRTC function.
This patch adds SRTC SIP service support and enable it for i.MX8QM/i.MX8QXP.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
5 files changed