rtc: imx-sc: add rtc set time support
authorAnson Huang <anson.huang@nxp.com>
Tue, 22 Jan 2019 03:29:24 +0000 (03:29 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 7 Feb 2019 19:45:39 +0000 (20:45 +0100)
commit13a929f38ad742200270389cedc78c1859726bd8
tree4046453d2e2c1bb0317c9f6567b1690f1fe27301
parent761acdda5c2cc89208a94941f69579923420c8e9
rtc: imx-sc: add rtc set time support

This patch adds i.MX system controller RTC set time support, the
RTC set time is implemented via SIP(silicon provider) runtime
service call and ARM-Trusted-Firmware will communicate with system
controller via MU(message unit) IPC to set RTC time.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-imx-sc.c