]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ
authorDavid Lowe <dave-lowe@ntlworld.com>
Sat, 22 Apr 2017 17:28:00 +0000 (18:28 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 31 May 2017 07:17:00 +0000 (09:17 +0200)
commit5470eea5544103e138a7012e47bee13e95fae66e
treee2114d996b89ac842483095c77149b0c7999d637
parented10f313f7ea2e10db093a36e655dd87df6f7459
rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ

This patch extends the fixes for ds1337, ds1339, ds3231 in commit
2685d82ee567 ("rtc: ds1307: add support for the DT property
'wakeup-source'") to mcp794xx devices, so that those parts can similarly be
used as a wakeup source without an IRQ to the processor.

Tested on Raspberry Pi ZeroW with MCP79400.

Signed-off-by: David Lowe <dave-lowe@ntlworld.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1307.c