rtc: brcmstb-waketimer: Add Broadcom STB wake-timer
authorBrian Norris <computersforpeace@gmail.com>
Mon, 26 Jun 2017 21:15:03 +0000 (14:15 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 5 Jul 2017 21:11:59 +0000 (23:11 +0200)
commitc4f07ecee22ec720936eb58e7c63b89a1e86bf32
treec061147bbd828f2809542d21121415dbfe3f3c9a
parent3fde00a014ed1b0716a1d73fdebd96188e2ff6fe
rtc: brcmstb-waketimer: Add Broadcom STB wake-timer

This adds support for the Broadcom STB wake-timer which is a timer in
the chip's 27Mhz clock domain that offers the ability to wake the system
(wake-up source) from suspend states (S2, S3, S5). It is supported using
the rtc framework allowing us to configure alarms for system wake-up.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-brcmstb-waketimer.c [new file with mode: 0644]