]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31eb0c11e6f6e35438582158d2e20c471b2bd494
treea83e3689e7d4f56632af1fd7eae1fa84add4a7c3
parentef39296dd1a51927333f8ee9589cf41878cbbc75
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]