rtc: cros-ec: add cros-ec-rtc driver.
authorStephen Barber <smbarber@chromium.org>
Fri, 10 Nov 2017 21:55:53 +0000 (22:55 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 18 Dec 2017 22:05:10 +0000 (23:05 +0100)
commit6f2a71a31afd738af446c802e1ed40365afa55b8
tree31b9622b1d59b8e71ab358e8381da11fb743d31a
parent3eff6d2cc995e5a4cffb7a35dc368f02f39c4cd3
rtc: cros-ec: add cros-ec-rtc driver.

On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.

Signed-off-by: Stephen Barber <smbarber@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-cros-ec.c [new file with mode: 0644]