SA11x0 cleanups (mainly assabet/neponset)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | ARM: sa11x0: convert to use DEFINE_RES_xxx macrosarch/ arch/ arch/ +12 more | +61 | 0 replies | |
| 2/17 | ARM: sa11x0: assabet: deassert QMUTE to codec while codec is unpoweredarch/ | +2 | 0 replies | |
| 3/17 | ARM: sa11x0: assabet: avoid glitching GPIOs when setting outputsarch/ | +2 | 0 replies | |
| 4/17 | ARM: sa11x0: assabet: ensure that GPIO27 is drivenarch/ | +8 | 0 replies | |
| 5/17 | ARM: sa11x0: neponset: fix interrupt setuparch/ | +19 | 0 replies | |
| 6/17 | ARM: sa11x0: neponset: provide function to manipulate NCR_0arch/ arch/ drivers/ +1 more | +15 | 0 replies | |
| 7/17 | ARM: sa11x0: neponset: shuffle some code aroundarch/ | +101 | 0 replies | |
| 8/17 | ARM: sa11x0: neponset: add driver .owner initializerarch/ | +1 | 0 replies | |
| 9/17 | ARM: sa11x0: neponset: save and restore MDM_CTL_0arch/ | +42 | 0 replies | |
| 10/17 | ARM: sa11x0: neponset: dynamically create neponset child devicesarch/ | +28 | 0 replies | |
| 11/17 | ARM: sa11x0: neponset: implement support for sparse IRQsarch/ arch/ | +61 | 0 replies | |
| 12/17 | ARM: sa11x0: neponset: get parent IRQ from neponset device resourcearch/ | +13 | 0 replies | |
| 13/17 | ARM: sa11x0: neponset: place smc91x and sa1111 resources in neponset devicearch/ | +13 | 0 replies | |
| 14/17 | ARM: sa11x0: neponset: suspend/resume in _noirq statearch/ | +15 | 0 replies | |
| 15/17 | ARM: sa11x0: assabet/neponest: create neponset device in assabet.carch/ arch/ | +25 | 0 replies | |
| 16/17 | ARM: sa11x0: neponset: move register definitions to neponset.carch/ arch/ | +91 | 0 replies | |
| 17/17 | ARM: sa11x0: neponset: don't static map neponset registersarch/ | +1 | 0 replies |
Reviews trailers per patch
None of the 17 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nicolas Pitre |
|---|---|
| Series | A-b |
| 1/17 | |
| 2/17 | |
| 3/17 | |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/17] SA11x0 cleanups (mainly assabet/neponset)
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(-)