]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: add new RTC_FEATURE_ALARM_WAKEUP_ONLY feature
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:53 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:40 +0000 (19:58 +0100)
commita921bcb8cb8566c759662ce3e7d80d31962eae99
tree3e7665b89d3bdf980f93dbcbf007cab47cff1a5f
parente78771e95ab8bcbe64de9db9a40a454d36dd5802
rtc: add new RTC_FEATURE_ALARM_WAKEUP_ONLY feature

Some RTCs have an IRQ pin that is not connected to a CPU interrupt but
rather directly to a PMIC or power supply. In that case, it is still useful
to be able to set alarms but we shouldn't expect interrupts.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-22-alexandre.belloni@bootlin.com
include/uapi/linux/rtc.h