[PATCH V2 0/5] drivers/rtc/rtc-ds1307.c: Basic cleanups and support for wakeupirq

From: Nishanth Menon
Date: Tue Jun 23 2015 - 12:17:16 EST


Here is the revamp of the patch posted eariler to support wakeupirq.
This series does a few cleanups as well prior to introducing the
generic apis required to support the wakeirq mechanism used on certain
TI SoCs. Cleanups done here are just minimal set of the cleanups we
discussed in [2].

Series is based on next-20150623

Test log: http://pastebin.ubuntu.com/11763002/

NOTE1: I have only tested in mcp79410 device, and not on other
ds1307-rtc driver compatbile devices as I dont have any other.
additional testing might be nice to have.
NOTE2: there are additional fixes that linux-next seems to need but
those are in omap-rtc, cpufreq etc, but those are not related by the

V1: https://patchwork.kernel.org/patch/4759171/

NOTE: Patch 5/5 of the series is meant to indicate the usage, and will
be reposted along with other wakeup sources to be enabled once the
driver changes are accepted.

Felipe Balbi (1):
drivers/rtc/rtc-ds1307.c: Convert to threaded IRQ

Nishanth Menon (4):
drivers/rtc/rtc-ds1307.c: Switch to managed irq allocation
drivers/rtc/rtc-ds1307.c: Sort the headers
drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source
(TMP) ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410

arch/arm/boot/dts/am57xx-beagle-x15.dts | 3 +-
drivers/rtc/rtc-ds1307.c | 110 +++++++++++++++++--------------
2 files changed, 63 insertions(+), 50 deletions(-)


[2] https://patchwork.kernel.org/patch/6245101/
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/