rtc: isl12057: enable support for the standard "wakeup-source" property
authorSudeep Holla <Sudeep.Holla@arm.com>
Wed, 21 Oct 2015 10:10:01 +0000 (11:10 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:30 +0000 (14:12 +0100)
commitf4b6722248e4991a65e545d6b19e4497202e8a8a
treef2de61269bdb8b5b37f09853a06e98ab715e711f
parent347e40f0302c7e817e64256284b9e69a8b2711d2
rtc: isl12057: enable support for the standard "wakeup-source" property

Though the isl12057 rtc driver should and will continue to support the
legacy "isil,irq2-can-wakeup-machine" property to enable RTC as the
wakeup source, we need to add support for the new standard property
"wakeup-source".

This patch adds support for "wakeup-source" property in addition to the
existing "isil,irq2-can-wakeup-machine" property.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-isl12057.c