Skip to content

Restore SA11x0 MCP/UCB drivers to a working state

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "ARM: sa1100: Refactor mcp-sa11x0 to use platform resources."arch/arm/mach-sa1100/assabet.c arch/arm/mach-sa1100/cerf.c arch/arm/mach-sa1100/collie.c +5 more+53 -1760 replies
2/4Revert "ARM: sa11x0: Implement autoloading of codec and codec pdata for mcp bus."arch/arm/mach-sa1100/assabet.c arch/arm/mach-sa1100/cerf.c arch/arm/mach-sa1100/collie.c +12 more+21 -1350 replies
3/4MFD: mcp-core: fix complaints from the genirq layerdrivers/mfd/mcp-core.c+11 -60 replies
4/4MFD: mcp-sa11x0: remove DMA initializers and variablesdrivers/mfd/mcp-core.c drivers/mfd/mcp-sa11x0.c drivers/mfd/ucb1x00-assabet.c +3 more+0 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Restore SA11x0 MCP/UCB drivers to a working state

Samuel,

The following patch set restores the SA11x0 MCP and UCB1x00 drivers back to a working state, as tested on the Assabet.

The first two patches are the revert I requested. The others fix a problem with the UCB1x00's use of genirq (it returns from its interrupt handler with IRQs enabled, which causes genirq to barf), and delete the SA11x0 specific DMA definitions and SA11x0 specific DMA header file from the driver. That is in preparation for me removing the existing SA11x0 private DMA backend in favour of a DMA engine implementation.

As the DMA changes have dependencies in my tree (on which other changes then depend on) I can't see this being sanely split from my tree, so I'll request acks for these changes.

I'll plan to send the first three patches to Linus as part of my next 'fixes' push if you agree.

 arch/arm/mach-sa1100/assabet.c          |   12 ---
 arch/arm/mach-sa1100/cerf.c             |   11 --
 arch/arm/mach-sa1100/collie.c           |   18 +---
 arch/arm/mach-sa1100/generic.c          |    7 +-
 arch/arm/mach-sa1100/include/mach/mcp.h |    2 -
 arch/arm/mach-sa1100/lart.c             |   10 --
 arch/arm/mach-sa1100/shannon.c          |   11 --
 arch/arm/mach-sa1100/simpad.c           |   18 +---
 drivers/mfd/mcp-core.c                  |   62 +++---------
 drivers/mfd/mcp-sa11x0.c                |  166 +++++++++---------------------
 drivers/mfd/ucb1x00-assabet.c           |    3 -
 drivers/mfd/ucb1x00-core.c              |   49 ++-------
 drivers/mfd/ucb1x00-ts.c                |    3 +-
 include/linux/mfd/mcp.h                 |   13 +--
 include/linux/mfd/ucb1x00.h             |    5 +-
 include/linux/mod_devicetable.h         |   11 --
 scripts/mod/file2alias.c                |   10 --
 17 files changed, 81 insertions(+), 330 deletions(-)