MLK-17293-1 rtc: add rpmsg rtc support for i.MX7ULP
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 26 Dec 2017 10:53:20 +0000 (18:53 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:13 +0000 (14:52 -0500)
commit2294500dc8e74fdae62fbcc2a1d265444018d544
treea2fb4255a79d01407e93439474d7c343790105b1
parent376af401e73d5465794f101904a7c625aa8f560b
MLK-17293-1 rtc: add rpmsg rtc support for i.MX7ULP

On i.MX7ULP B0 chip, SNVS is located on M4 domain,
all RTC related functions need to use RPMSG channel
to communicate with M4 to proceed hardware operation.

The RTC RPMSG channel index is 6.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-imx-rpmsg.c [new file with mode: 0644]
include/linux/imx_rpmsg.h