linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] SA11x0 cleanups (mainly assabet/neponset)
@ 2012-02-03 19:30 Russell King - ARM Linux
  2012-02-03 19:31 ` [PATCH 01/17] ARM: sa11x0: convert to use DEFINE_RES_xxx macros Russell King - ARM Linux
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: Russell King - ARM Linux @ 2012-02-03 19:30 UTC (permalink / raw)
  To: linux-arm-kernel

This is a series of cleanups and improvements to the SA11x0 code, in
particular the Assabet, and Assabet with the Neponset daughter board.

The main SA11x0 change is to switch to using the DEFINE_RES_xxx() for
resources, which obviously reduces the lines of code quite a bit.

The Assabet-only changes reduce power consumption of the board, and
illustrate why pins left as inputs when they're supposed to be outputs
are bad news - while it's undriven, it floats and increases the power
consumption by a measurable amount.

Neponset wise, there's fixes in here to restore it to fully working
state (rather than just being buildable.)  Unfortunately, genirq had
seriously broken the Neponset interrupt support code by genirq having
some 'improved checks' added without auditing the genirq users.

Neponset also gets ready for sparse IRQ support, meaning that its
interrupt numbers are no longer statically fixed.  We also move the
registration of the neponset device to assabet, which helps reduce
the knowledge spread of whether the board is fitted.

The random places which the NCR_0 board register is written are turned
into a function call instead, so that the NCR_0 register access can be
centralized and properly protected against concurrent access for this
platform.

Since neponset becomes mostly self-contained, most of the boards CPLD
register definitions are moved to the board file rather than exposing
them in the board header file.  That then paves the way to get rid of
its static mapping for its own registers, using ioremap() instead.

 arch/arm/mach-sa1100/assabet.c               |   39 ++-
 arch/arm/mach-sa1100/badge4.c                |   19 +-
 arch/arm/mach-sa1100/cerf.c                  |   13 +-
 arch/arm/mach-sa1100/collie.c                |   24 +-
 arch/arm/mach-sa1100/generic.c               |   93 +----
 arch/arm/mach-sa1100/h3xxx.c                 |   13 +-
 arch/arm/mach-sa1100/hackkit.c               |    7 +-
 arch/arm/mach-sa1100/include/mach/irqs.h     |    8 -
 arch/arm/mach-sa1100/include/mach/neponset.h |   52 +---
 arch/arm/mach-sa1100/irq.c                   |    7 +-
 arch/arm/mach-sa1100/jornada720.c            |   31 +--
 arch/arm/mach-sa1100/nanoengine.c            |   11 +-
 arch/arm/mach-sa1100/neponset.c              |  534 +++++++++++++++-----------
 arch/arm/mach-sa1100/pci-nanoengine.c        |    8 +-
 arch/arm/mach-sa1100/pleb.c                  |   24 +-
 arch/arm/mach-sa1100/shannon.c               |    7 +-
 arch/arm/mach-sa1100/simpad.c                |   11 +-
 drivers/net/ethernet/smsc/smc91x.c           |    2 +-
 drivers/pcmcia/sa1100_neponset.c             |    7 +-
 19 files changed, 402 insertions(+), 508 deletions(-)

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

end of thread, other threads:[~2012-02-03 20:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 19:30 [PATCH 00/17] SA11x0 cleanups (mainly assabet/neponset) Russell King - ARM Linux
2012-02-03 19:31 ` [PATCH 01/17] ARM: sa11x0: convert to use DEFINE_RES_xxx macros Russell King - ARM Linux
2012-02-03 19:31 ` [PATCH 02/17] ARM: sa11x0: assabet: deassert QMUTE to codec while codec is unpowered Russell King - ARM Linux
2012-02-03 19:32 ` [PATCH 03/17] ARM: sa11x0: assabet: avoid glitching GPIOs when setting outputs Russell King - ARM Linux
2012-02-03 19:32 ` [PATCH 04/17] ARM: sa11x0: assabet: ensure that GPIO27 is driven Russell King - ARM Linux
2012-02-03 19:32 ` [PATCH 05/17] ARM: sa11x0: neponset: fix interrupt setup Russell King - ARM Linux
2012-02-03 19:33 ` [PATCH 06/17] ARM: sa11x0: neponset: provide function to manipulate NCR_0 Russell King - ARM Linux
2012-02-03 19:33 ` [PATCH 07/17] ARM: sa11x0: neponset: shuffle some code around Russell King - ARM Linux
2012-02-03 19:33 ` [PATCH 08/17] ARM: sa11x0: neponset: add driver .owner initializer Russell King - ARM Linux
2012-02-03 19:34 ` [PATCH 09/17] ARM: sa11x0: neponset: save and restore MDM_CTL_0 Russell King - ARM Linux
2012-02-03 19:34 ` [PATCH 10/17] ARM: sa11x0: neponset: dynamically create neponset child devices Russell King - ARM Linux
2012-02-03 19:34 ` [PATCH 11/17] ARM: sa11x0: neponset: implement support for sparse IRQs Russell King - ARM Linux
2012-02-03 19:35 ` [PATCH 12/17] ARM: sa11x0: neponset: get parent IRQ from neponset device resource Russell King - ARM Linux
2012-02-03 19:35 ` [PATCH 13/17] ARM: sa11x0: neponset: place smc91x and sa1111 resources in neponset device Russell King - ARM Linux
2012-02-03 19:35 ` [PATCH 14/17] ARM: sa11x0: neponset: suspend/resume in _noirq state Russell King - ARM Linux
2012-02-03 19:36 ` [PATCH 15/17] ARM: sa11x0: assabet/neponest: create neponset device in assabet.c Russell King - ARM Linux
2012-02-03 19:36 ` [PATCH 16/17] ARM: sa11x0: neponset: move register definitions to neponset.c Russell King - ARM Linux
2012-02-03 19:36 ` [PATCH 17/17] ARM: sa11x0: neponset: don't static map neponset registers Russell King - ARM Linux
2012-02-03 20:43 ` [PATCH 00/17] SA11x0 cleanups (mainly assabet/neponset) Nicolas Pitre
2012-02-03 20:53   ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).