Skip to content
Commit 5e9051bf authored by Mike Looijmans's avatar Mike Looijmans Committed by Greg Kroah-Hartman
Browse files

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: default avatarMike Looijmans <mike.looijmans@topic.nl>
Link: https://lore.kernel.org/r/20230821072013.7072-1-mike.looijmans@topic.nl


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Stable-dep-of: 2be36c09 ("rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a8a063f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment