]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: opal: enable support for the stardard "wakeup-source" property
authorSudeep Holla <Sudeep.Holla@arm.com>
Wed, 21 Oct 2015 10:10:00 +0000 (11:10 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:30 +0000 (14:12 +0100)
commitcb86ed8b2a9caefb34d71f28a3d345fbf79fc9d6
tree3218028ec0c0ac438c5ea377b152eec804ada66c
parentf3e65ca6db0aa17f5bab630df74588e6bf7fbf44
rtc: opal: enable support for the stardard "wakeup-source" property

Though the opal rtc driver should and will continue to support the legacy
"has-tpo" 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 "has-tpo" 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-opal.c