summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stih41x.dtsi
diff options
context:
space:
mode:
authorHebbar Gururaja2013-07-04 00:08:02 +0200
committerLinus Torvalds2013-07-04 01:08:00 +0200
commit1d2e2b65d098c0a321e16b0997eb760439d99500 (patch)
tree3b208286f4e124b6a5facd69f719f0ca2893699d /arch/arm/boot/dts/stih41x.dtsi
parentrtc: add NXP PCF2127 support (i2c) (diff)
downloadkernel-qcow2-linux-1d2e2b65d098c0a321e16b0997eb760439d99500.tar.gz
kernel-qcow2-linux-1d2e2b65d098c0a321e16b0997eb760439d99500.tar.xz
kernel-qcow2-linux-1d2e2b65d098c0a321e16b0997eb760439d99500.zip
rtc: omap: restore back (hard-code) wakeup support
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. However, rtc wake support on OMAP1 is broken. Hence the device_init_wakeup() was removed from rtc-omap driver and moved to platform board files that supported it (DA850/OMAP-L138). [1] However, recently [2] it was suggested that driver should always do a device_init_wakeup(dev, true). Platforms that don't want/need wakeup support can disable it from userspace via: echo disabled > /sys/devices/.../power/wakeup Also, with the new DT boot-up, board file doesn't exist and hence there is no way to have device wakeup support rtc. The fix for above issues, is to hard code device_init_wakeup() inside driver and let platforms that don't need this, handle it through the sysfs power entry. [1] https://patchwork.kernel.org/patch/136731/ [2] http://www.mail-archive.com/davinci-linux-open-source@linux. davincidsp.com/msg26077.html Signed-off-by: Hebbar Gururaja <gururaja.hebbar@ti.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/boot/dts/stih41x.dtsi')
0 files changed, 0 insertions, 0 deletions