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

From: Kevin Hilman
Date: Fri May 31 2013 - 13:41:36 EST


Hebbar Gururaja <gururaja.hebbar@xxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/