Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756531Ab3EaRle (ORCPT ); Fri, 31 May 2013 13:41:34 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:59262 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081Ab3EaRl0 (ORCPT ); Fri, 31 May 2013 13:41:26 -0400 From: Kevin Hilman To: Hebbar Gururaja Cc: , , , , , , , , , , , , , , Subject: Re: [PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events References: <1369982005-8572-1-git-send-email-gururaja.hebbar@ti.com> <1369982005-8572-3-git-send-email-gururaja.hebbar@ti.com> Date: Fri, 31 May 2013 10:41:22 -0700 In-Reply-To: <1369982005-8572-3-git-send-email-gururaja.hebbar@ti.com> (Hebbar Gururaja's message of "Fri, 31 May 2013 12:03:25 +0530") Message-ID: <87a9nb2gjh.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 735 Lines: 20 Hebbar Gururaja 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/