public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] [RFC] RTC: Cleanups for 2.6.39
@ 2011-02-21 23:55 John Stultz
  2011-02-21 23:55 ` [PATCH 01/10] RTC: Cleanup rtc_class_ops->irq_set_state John Stultz
                   ` (9 more replies)
  0 siblings, 10 replies; 32+ messages in thread
From: John Stultz @ 2011-02-21 23:55 UTC (permalink / raw)
  To: LKML
  Cc: John Stultz, Thomas Gleixner, Alessandro Zummo,
	Marcelo Roberto Jimenez, rtc-linux

I believe all the RTC regressions in 2.6.38 are addressed,
so I wanted  to send these changes out for comment before
I push them to Thomas and the -tip tree for testing and
hopeful inclusion into 2.6.39.

Now that the generic RTC layer is virtualizing the various
legacy irq modes, and managing the hardware itself instead
of exposing the hardware functions directly to userland, it 
greatly simplifies what is required from an RTC driver.

No longer do we use the irq_set_state, irq_set_freq,
update_irq_enable and read_alarm function in the hardware
specific RTC drivers. So that code can be removed.

This really does take a buzzsaw to the code, so I want to
make sure there really are no objections to removing it
before we do so.

There may also be some further driver specific cleanups
needed. For example, included in this set are Marcelo's
changes to the sa1100 rtc driver to further reduce the
amount of driver level code.

Let me know what you think.

thanks
-john

CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
CC: rtc-linux@googlegroups.com

John Stultz (6):
  RTC: Cleanup rtc_class_ops->irq_set_state
  RTC: Cleanup rtc_class_ops->irq_set_freq()
  RTC: Cleanup rtc_class_ops->update_irq_enable()
  RTC: Cleanup rtc_class_ops->read_alarm()
  RTC: Clean out UIE icotl implementations
  RTC: Fix up rtc.txt documentation to reflect changes to generic rtc
    layer

Marcelo Roberto Jimenez (4):
  RTC: Include information about UIE and PIE in RTC driver proc.
  RTC: Remove UIE and PIE information from the sa1100 driver proc.
  RTC: Fix the cross interrupt issue on rtc-test.
  RTC: sa1100: Update the sa1100 RTC driver.

 Documentation/rtc.txt        |   29 +++-----
 drivers/rtc/interface.c      |    3 +-
 drivers/rtc/rtc-ab3100.c     |   34 --------
 drivers/rtc/rtc-ab8500.c     |   40 ----------
 drivers/rtc/rtc-at32ap700x.c |   14 ----
 drivers/rtc/rtc-at91rm9200.c |   50 ------------
 drivers/rtc/rtc-at91sam9.c   |   55 -------------
 drivers/rtc/rtc-bfin.c       |   38 ---------
 drivers/rtc/rtc-cmos.c       |  139 ----------------------------------
 drivers/rtc/rtc-coh901331.c  |   14 ----
 drivers/rtc/rtc-davinci.c    |   93 -----------------------
 drivers/rtc/rtc-ds1286.c     |   24 ------
 drivers/rtc/rtc-ds1305.c     |   62 +---------------
 drivers/rtc/rtc-ds1307.c     |   52 -------------
 drivers/rtc/rtc-ds1374.c     |   43 -----------
 drivers/rtc/rtc-ds1511.c     |   35 ---------
 drivers/rtc/rtc-ds1553.c     |   33 --------
 drivers/rtc/rtc-ds3232.c     |   66 ----------------
 drivers/rtc/rtc-efi.c        |   20 -----
 drivers/rtc/rtc-fm3130.c     |   59 --------------
 drivers/rtc/rtc-imxdi.c      |   27 -------
 drivers/rtc/rtc-isl1208.c    |   40 ----------
 drivers/rtc/rtc-jz4740.c     |   26 ------
 drivers/rtc/rtc-lpc32xx.c    |   14 ----
 drivers/rtc/rtc-m41t80.c     |   50 ------------
 drivers/rtc/rtc-m48t59.c     |   48 ------------
 drivers/rtc/rtc-max8925.c    |   31 --------
 drivers/rtc/rtc-max8998.c    |   32 --------
 drivers/rtc/rtc-mc13xxx.c    |   50 ------------
 drivers/rtc/rtc-mpc5121.c    |   33 --------
 drivers/rtc/rtc-mrst.c       |   52 -------------
 drivers/rtc/rtc-mv.c         |   38 ---------
 drivers/rtc/rtc-mxc.c        |   25 ------
 drivers/rtc/rtc-nuc900.c     |   27 -------
 drivers/rtc/rtc-omap.c       |   61 ---------------
 drivers/rtc/rtc-pcap.c       |   27 -------
 drivers/rtc/rtc-pcf50633.c   |   46 +-----------
 drivers/rtc/rtc-pl030.c      |   15 ----
 drivers/rtc/rtc-pl031.c      |   84 --------------------
 drivers/rtc/rtc-proc.c       |    8 ++
 drivers/rtc/rtc-pxa.c        |   60 ---------------
 drivers/rtc/rtc-rs5c372.c    |   90 ----------------------
 drivers/rtc/rtc-rx8025.c     |   71 -----------------
 drivers/rtc/rtc-s3c.c        |   94 -----------------------
 drivers/rtc/rtc-sa1100.c     |  172 +----------------------------------------
 drivers/rtc/rtc-sh.c         |   64 ----------------
 drivers/rtc/rtc-stk17ta8.c   |   16 ----
 drivers/rtc/rtc-stmp3xxx.c   |   24 ------
 drivers/rtc/rtc-test.c       |   20 ++---
 drivers/rtc/rtc-twl.c        |   44 -----------
 drivers/rtc/rtc-tx4939.c     |   30 -------
 drivers/rtc/rtc-vr41xx.c     |   52 -------------
 drivers/rtc/rtc-wm831x.c     |   52 -------------
 drivers/rtc/rtc-wm8350.c     |   71 -----------------
 drivers/rtc/rtc-x1205.c      |   26 ------
 include/linux/rtc.h          |    5 -
 56 files changed, 36 insertions(+), 2492 deletions(-)

-- 
1.7.3.2.146.gca209


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2011-02-22 23:07 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 23:55 [PATCH 00/10] [RFC] RTC: Cleanups for 2.6.39 John Stultz
2011-02-21 23:55 ` [PATCH 01/10] RTC: Cleanup rtc_class_ops->irq_set_state John Stultz
2011-02-21 23:55 ` [PATCH 02/10] RTC: Cleanup rtc_class_ops->irq_set_freq() John Stultz
2011-02-21 23:55 ` [PATCH 03/10] RTC: Cleanup rtc_class_ops->update_irq_enable() John Stultz
2011-02-21 23:55 ` [PATCH 04/10] RTC: Cleanup rtc_class_ops->read_alarm() John Stultz
2011-02-22  2:34   ` [rtc-linux] " Mark Brown
2011-02-22  2:55     ` John Stultz
2011-02-22  8:09       ` john stultz
2011-02-22 12:51         ` Marcelo Roberto Jimenez
2011-02-22 19:35           ` john stultz
2011-02-22 19:51             ` Mark Brown
2011-02-22 19:58               ` john stultz
2011-02-22 21:26                 ` Marcelo Roberto Jimenez
2011-02-22 18:16         ` Mark Brown
2011-02-22 19:51           ` john stultz
2011-02-22 20:00             ` Mark Brown
2011-02-22 20:22               ` john stultz
2011-02-22 21:05                 ` Mark Brown
2011-02-22 21:21                   ` john stultz
2011-02-22 21:27                     ` Thomas Gleixner
2011-02-22 21:40                       ` Mark Brown
2011-02-22 21:33                     ` Mark Brown
2011-02-22 22:10                       ` john stultz
2011-02-22 23:07                         ` Mark Brown
2011-02-22 19:53           ` john stultz
2011-02-22 20:31             ` Mark Brown
2011-02-21 23:55 ` [PATCH 05/10] RTC: Clean out UIE icotl implementations John Stultz
2011-02-21 23:55 ` [PATCH 06/10] RTC: Include information about UIE and PIE in RTC driver proc John Stultz
2011-02-21 23:55 ` [PATCH 07/10] RTC: Remove UIE and PIE information from the sa1100 " John Stultz
2011-02-21 23:55 ` [PATCH 08/10] RTC: Fix the cross interrupt issue on rtc-test John Stultz
2011-02-21 23:55 ` [PATCH 09/10] RTC: sa1100: Update the sa1100 RTC driver John Stultz
2011-02-21 23:55 ` [PATCH 10/10] RTC: Fix up rtc.txt documentation to reflect changes to generic rtc layer John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox