Re: [PATCH V7 4/4] rtc: imx-sc: add rtc alarm support

From: Alexandre Belloni
Date: Sat Jun 01 2019 - 17:22:11 EST


On 09/04/2019 05:00:07+0000, Anson Huang wrote:
> Add i.MX system controller RTC alarm support, the RTC alarm
> 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 alarm. When RTC alarm fires,
> system controller will generate a common MU irq event and notify
> system controller RTC driver to handle the irq event.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> Reviewed-by: Dong Aisheng <aisheng.dong@xxxxxxx>
> ---
> Changes since V6:
> - add comments to .read_alarm callback function to explain why it is an empty function;
> - improve irq notify callback function name.
> --
> drivers/rtc/rtc-imx-sc.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 87 insertions(+)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com