diff options
author | Nishanth Menon <nm@ti.com> | 2015-06-24 19:26:54 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 14:19:05 +0300 |
commit | 7abea617a4bae178da0f42983998c779ec2f732d (patch) | |
tree | a4053e8b785c6d3b63e01f78a30e751618371da1 /drivers/rtc/rtc-ds1685.c | |
parent | eac7237fd8432e232af3c407e667dbdc17ebf1d8 (diff) | |
download | linux-7abea617a4bae178da0f42983998c779ec2f732d.tar.xz |
rtc: ds1307: Support optional wakeup interrupt source
With the recent pinctrl-single changes, SoCs such as Texas
Instrument's OMAP processors can treat wake-up events from deeper idle
states as interrupts.
Let's add support for the optional second interrupt for wake-up using
the generic wakeirq support added in commit 4990d4fe327b ("PM /
Wakeirq: Add automated device wake IRQ handling")
Finally, to pass the wake-up interrupt in the dts file,
interrupts-extended property needs to be passed.
This is similar in approach to commit 2a0b965cfb6e ("serial: omap: Add
support for optional wake-up") + ee83bd3b6483 ("serial: omap: Switch
wake-up interrupt to generic wakeirq")
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1685.c')
0 files changed, 0 insertions, 0 deletions