# \[PATCH 2/2\] rtc: omap: add rtc wakeup support to alarm events

- From: Kevin Hilman \<hidden\>
- Date: 2013-05-31 17:41:34 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/05/4058229
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/05/4058229/t.md

```text
Hebbar Gururaja [ref] writes:

> On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN)
> is available to enable Wakeup feature for Alarm Events.
>
> Since new platforms/Boards are now added through DT only, this feature
> is supported via DT property only.

> Platforms using such IP should add the property "ti,has_irq_wake_enb"
> in rtc DT node.

This is a property of the IP, not the board.  Can't you detect this
based on the revision of the IP?

Kevin
```
