linux_dsm_epyc7002/drivers
Hebbar Gururaja 1d2e2b65d0 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>
2013-07-03 16:08:00 -07:00
..
accessibility
acpi clean up scary strncpy(dst, src, strlen(src)) uses 2013-07-03 16:07:41 -07:00
amba
ata
atm
auxdisplay
base drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
bcma
block drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
bluetooth
bus ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
cdrom drivers/cdrom/cdrom.c: use kzalloc() for failing hardware 2013-07-03 16:07:25 -07:00
char Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-03 09:10:19 -07:00
clk ARM SoC late changes 2013-07-02 14:42:51 -07:00
clocksource Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
connector
cpufreq ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
cpuidle ARM SoC specific changes 2013-07-02 13:43:38 -07:00
crypto ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
dca
devfreq drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
dio
dma drivers/dma: remove unused support for MEMSET operations 2013-07-03 16:07:42 -07:00
edac
eisa
extcon drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
firewire
firmware dmi: add support for exact DMI matches in addition to substring matching 2013-07-03 16:07:42 -07:00
fmc
gpio Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-07-02 16:14:35 -07:00
gpu radeon: remove redundant __list_for_each definition from mkregtable.c 2013-07-03 16:07:43 -07:00
hid
hsi drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
hv
hwmon drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
hwspinlock
i2c ARM SoC specific changes 2013-07-02 13:43:38 -07:00
ide drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
idle
iio
infiniband drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
input
iommu Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-07-02 16:15:23 -07:00
ipack
irqchip Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-07-02 16:14:35 -07:00
isdn drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
leds
lguest
macintosh
mailbox
md
media drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
memory
memstick
message drivers: avoid format strings in names passed to alloc_workqueue() 2013-07-03 16:07:41 -07:00
mfd Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-07-02 16:14:35 -07:00
misc drivers/misc/sgi-gru/grufault.c: fix a sanity test in gru_set_context_option() 2013-07-03 16:07:42 -07:00
mmc Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mtd drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
net ipw2200: convert __list_for_each usage to list_for_each 2013-07-03 16:07:43 -07:00
nfc
ntb
nubus
of
oprofile
parisc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-03 09:10:19 -07:00
parport
pci drivers: avoid format strings in names passed to alloc_workqueue() 2013-07-03 16:07:41 -07:00
pcmcia Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
pinctrl ARM SoC late changes 2013-07-02 14:42:51 -07:00
platform drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
pnp isapnp: switch to fixed_size_llseek() 2013-06-29 12:57:48 +04:00
power
pps
ps3
ptp
pwm
rapidio
regulator ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
remoteproc
reset
rpmsg
rtc rtc: omap: restore back (hard-code) wakeup support 2013-07-03 16:08:00 -07:00
s390 clean up scary strncpy(dst, src, strlen(src)) uses 2013-07-03 16:07:41 -07:00
sbus
scsi drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
sfi
sh
sn
spi drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
ssb
ssbi
staging drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
target
tc
thermal
tty Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-03 09:10:19 -07:00
uio uio: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT 2013-07-03 16:07:26 -07:00
usb drivers: avoid parsing names as kthread_run() format strings 2013-07-03 16:07:41 -07:00
uwb drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
vfio
vhost
video backlight: convert from legacy pm ops to dev_pm_ops 2013-07-03 16:07:43 -07:00
virt
virtio mm: correctly update zone->managed_pages 2013-07-03 16:07:33 -07:00
vlynq
vme
w1
watchdog ARM SoC specific changes 2013-07-02 13:43:38 -07:00
xen drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
zorro zorro: switch to fixed_size_llseek() 2013-06-29 12:57:28 +04:00
Kconfig
Makefile