rtc: bd70528: Initial support for ROHM bd70528 RTC
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 3 Jun 2019 07:27:14 +0000 (10:27 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Jun 2019 09:57:24 +0000 (10:57 +0100)
commit32a4a4ebf76848828d67f519d07af9eadb6e8300
treea83e3689e7d4f56632af1fd7eae1fa84add4a7c3
parent18bc64b3aebfa693f34463d2bcad9c82e21af9f6
rtc: bd70528: Initial support for ROHM bd70528 RTC

Support RTC block in ROHM bd70528 power management IC. Support
getting and setting the time and date as well as arming an alarm
which can also be used to wake the PMIC from standby state.

HW supports wake interrupt only for the next 24 hours (sec, minute
and hour information only) so we limit also the alarm interrupt to
this 24 hours for the sake of consistency.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-bd70528.c [new file with mode: 0644]