Skip to content

Commit 32a4a4e

Browse files
M-VaittinenLee Jones
authored andcommitted
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>
1 parent 18bc64b commit 32a4a4e

3 files changed

Lines changed: 509 additions & 0 deletions

File tree

‎drivers/rtc/Kconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,14 @@ config RTC_DRV_M41T80_WDT
497497
help
498498
If you say Y here you will get support for the
499499
watchdog timer in the ST M41T60 and M41T80 RTC chips series.
500+
config RTC_DRV_BD70528
501+
tristate "ROHM BD70528 PMIC RTC"
502+
help
503+
If you say Y here you will get support for the RTC
504+
on ROHM BD70528 Power Management IC.
505+
506+
This driver can also be built as a module. If so, the module
507+
will be called rtc-bd70528.
500508

501509
config RTC_DRV_BQ32K
502510
tristate "TI BQ32000"

‎drivers/rtc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ obj-$(CONFIG_RTC_DRV_ASPEED) += rtc-aspeed.o
3838
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
3939
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
4040
obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o
41+
obj-$(CONFIG_RTC_DRV_BD70528) += rtc-bd70528.o
4142
obj-$(CONFIG_RTC_DRV_BQ32K) += rtc-bq32k.o
4243
obj-$(CONFIG_RTC_DRV_BQ4802) += rtc-bq4802.o
4344
obj-$(CONFIG_RTC_DRV_BRCMSTB) += rtc-brcmstb-waketimer.o

0 commit comments

Comments
 (0)