Skip to content

drivers/rtc/rtc-ds1307.c: Basic cleanups and support for wakeupirq

Nishanth Menon linux-arm-kernel linux-omap linux-rtc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drivers/rtc/rtc-ds1307.c: Convert to threaded IRQdrivers/rtc/rtc-ds1307.c+19 -400 replies
2/5drivers/rtc/rtc-ds1307.c: Switch to managed irq allocationdrivers/rtc/rtc-ds1307.c+4 -60 replies
3/5drivers/rtc/rtc-ds1307.c: Sort the headersdrivers/rtc/rtc-ds1307.c+5 -50 replies
4/5drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt sourcedrivers/rtc/rtc-ds1307.c+38 -37 replies
5/5ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410arch/arm/boot/dts/am57xx-beagle-x15.dts+2 -10 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTony LindgrenFelipe BalbiGrygorii Strashko
SeriesA-b R-b
1/5
2/5
3/5
4/5A-b A-b A-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

Hi,

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 ds-1307.

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(-)
Signature · 3 lines
1.7.9.5

[2] https://patchwork.kernel.org/patch/6245101/