rtc: pcf85363: Allow to wake up system without IRQ
[ Upstream commit 1e786b03 ] When wakeup-source is set in the devicetree, set up the device for using the output as interrupt instead of clock. This is similar to how other RTC devices handle this. This allows the clock chip to turn on the board when wired to do so in hardware. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Link: https://lore.kernel.org/r/20230821072013.7072-1-mike.looijmans@topic.nl Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Stable-dep-of: 2be36c09 ("rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call") Signed-off-by: Sasha Levin <sashal@kernel.org>
Please register or sign in to comment