Skip to content

ARM SA11x0 / PXA / SoC-common PCMCIA cleanups

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19PCMCIA: soc_common: move common initialization into soc_commondrivers/pcmcia/pxa2xx_base.c drivers/pcmcia/sa1111_generic.c drivers/pcmcia/sa11xx_base.c +2 more+15 -120 replies
2/19PCMCIA: soc_common: add GPIO support for card status signalsdrivers/pcmcia/soc_common.c drivers/pcmcia/soc_common.h+127 -30 replies
3/19PCMCIA: pxa: convert PXA socket drivers to use new irq/gpio managementarch/arm/mach-pxa/include/mach/balloon3.h drivers/pcmcia/pxa2xx_balloon3.c drivers/pcmcia/pxa2xx_cm_x255.c +12 more+82 -3560 replies
4/19PCMCIA: sa1111: use new per-socket irq/gpio infrastructuredrivers/pcmcia/pxa2xx_lubbock.c drivers/pcmcia/sa1100_badge4.c drivers/pcmcia/sa1100_jornada720.c +3 more+13 -520 replies
5/19PCMCIA: sa11x0: assabet: convert to use new irq/gpio managementarch/arm/mach-sa1100/include/mach/assabet.h drivers/pcmcia/sa1100_assabet.c+21 -580 replies
6/19PCMCIA: sa11x0: cerf: convert to use new irq/gpio managementarch/arm/mach-sa1100/include/mach/cerf.h drivers/pcmcia/sa1100_cerf.c+13 -420 replies
7/19PCMCIA: sa11x0: cerf: convert reset handling to use GPIO subsystemarch/arm/mach-sa1100/include/mach/cerf.h drivers/pcmcia/sa1100_cerf.c+15 -60 replies
8/19PCMCIA: sa11x0: nanoengine: convert to use new irq/gpio managementarch/arm/mach-sa1100/include/mach/nanoengine.h drivers/pcmcia/sa1100_nanoengine.c+15 -940 replies
9/19PCMCIA: sa11x0: nanoengine: convert reset handling to use GPIO subsystemarch/arm/mach-sa1100/include/mach/nanoengine.h drivers/pcmcia/sa1100_nanoengine.c+18 -240 replies
10/19PCMCIA: sa11x0: shannon: convert to use new irq/gpio managementarch/arm/mach-sa1100/include/mach/shannon.h drivers/pcmcia/sa1100_shannon.c+21 -410 replies
11/19PCMCIA: sa11x0: simpad: convert to use new irq/gpio managementarch/arm/mach-sa1100/include/mach/simpad.h drivers/pcmcia/sa1100_simpad.c+10 -220 replies
12/19PCMCIA: sa11x0: h3600: convert to use new irq/gpio managementdrivers/pcmcia/sa1100_h3600.c+15 -800 replies
13/19PCMCIA: soc_common: remove soc_pcmcia_*_irqs functionsdrivers/pcmcia/soc_common.c drivers/pcmcia/soc_common.h+0 -730 replies
14/19PCMCIA: soc_common: remove explicit wrprot initialization in socket driversdrivers/pcmcia/pxa2xx_balloon3.c drivers/pcmcia/pxa2xx_cm_x255.c drivers/pcmcia/pxa2xx_cm_x270.c +16 more+0 -210 replies
15/19PCMCIA: sa1111: pass along sa1111_pcmcia_configure_socket() failure codedrivers/pcmcia/sa1100_badge4.c drivers/pcmcia/sa1100_neponset.c+2 -20 replies
16/19PCMCIA: sa1111: jornada720: no need to disable IRQs around sa1111_set_iodrivers/pcmcia/sa1100_jornada720.c+1 -60 replies
17/19PCMCIA: Add Kconfig control for building sa11xx_base.cdrivers/pcmcia/Kconfig drivers/pcmcia/Makefile+8 -20 replies
18/19PCMCIA: make lubbock socket driver part of sa1111_csdrivers/pcmcia/Kconfig drivers/pcmcia/Makefile+4 -40 replies
19/19PCMCIA: sa1111: rename sa1111 socket drivers to have sa1111_ prefix.drivers/pcmcia/Makefile drivers/pcmcia/pxa2xx_lubbock.c drivers/pcmcia/sa1100_badge4.c +6 more+654 -6540 replies

Reviews trailers per patch

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

PatchDominik Brodowski
SeriesA-b
1/19
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19] ARM SA11x0 / PXA / SoC-common PCMCIA cleanups

What follows is a series of 19 patches cleaning up the SA11xx and PXA PCMCIA support, which uses the soc-common infrastructure.

Now that we have proper gpiolib support in the kernel for these platforms, with properly implemented gpio_to_irq() functionality, we can move some things that the individual platform socket drivers were doing into the soc-common core.

This significantly reduces the code in the platform socket drivers - a reduction of around 550 lines, for the net addition of about 50 lines to soc-common.

The final set of five patches in this set contain some minor bug fixes (which are really low priority) and cleanup the handling of the SA1111 build between PXA and SA11x0 platforms.

Please supply acks; I have other work which touches the header files in arch/arm which would conflict, and it would help to keep it together rather than have SFR carry those resolutions.

 arch/arm/mach-pxa/include/mach/balloon3.h          |    1 -
 arch/arm/mach-sa1100/include/mach/assabet.h        |   15 +-
 arch/arm/mach-sa1100/include/mach/cerf.h           |   15 +-
 arch/arm/mach-sa1100/include/mach/nanoengine.h     |   12 +-
 arch/arm/mach-sa1100/include/mach/shannon.h        |   12 +-
 arch/arm/mach-sa1100/include/mach/simpad.h         |    6 +-
 drivers/pcmcia/Kconfig                             |    8 +-
 drivers/pcmcia/Makefile                            |   14 +-
 drivers/pcmcia/pxa2xx_balloon3.c                   |   22 +--
 drivers/pcmcia/pxa2xx_base.c                       |    5 +-
 drivers/pcmcia/pxa2xx_cm_x255.c                    |   39 ++---
 drivers/pcmcia/pxa2xx_cm_x270.c                    |   23 +--
 drivers/pcmcia/pxa2xx_colibri.c                    |   21 +--
 drivers/pcmcia/pxa2xx_e740.c                       |   71 ++------
 drivers/pcmcia/pxa2xx_mainstone.c                  |   31 ++--
 drivers/pcmcia/pxa2xx_palmld.c                     |    8 +-
 drivers/pcmcia/pxa2xx_palmtc.c                     |    8 +-
 drivers/pcmcia/pxa2xx_palmtx.c                     |    8 +-
 drivers/pcmcia/pxa2xx_sharpsl.c                    |   30 +---
 drivers/pcmcia/pxa2xx_stargate2.c                  |   34 +---
 drivers/pcmcia/pxa2xx_trizeps4.c                   |   63 +------
 drivers/pcmcia/pxa2xx_viper.c                      |   39 +----
 drivers/pcmcia/pxa2xx_vpac270.c                    |   54 +-----
 drivers/pcmcia/sa1100_assabet.c                    |   65 ++-----
 drivers/pcmcia/sa1100_cerf.c                       |   52 ++----
 drivers/pcmcia/sa1100_h3600.c                      |   94 ++--------
 drivers/pcmcia/sa1100_nanoengine.c                 |  132 +++-----------
 drivers/pcmcia/sa1100_shannon.c                    |   52 ++----
 drivers/pcmcia/sa1100_simpad.c                     |   27 +--
 .../pcmcia/{sa1100_badge4.c => sa1111_badge4.c}    |    3 +-
 drivers/pcmcia/sa1111_generic.c                    |   56 ++-----
 drivers/pcmcia/sa1111_generic.h                    |    1 -
 .../{sa1100_jornada720.c => sa1111_jornada720.c}   |    8 +-
 .../pcmcia/{pxa2xx_lubbock.c => sa1111_lubbock.c}  |    1 -
 .../{sa1100_neponset.c => sa1111_neponset.c}       |   11 +-
 drivers/pcmcia/sa11xx_base.c                       |    5 +-
 drivers/pcmcia/soc_common.c                        |  193 +++++++++++++-------
 drivers/pcmcia/soc_common.h                        |   23 ++-
 38 files changed, 372 insertions(+), 890 deletions(-)
 rename drivers/pcmcia/{sa1100_badge4.c => sa1111_badge4.c} (98%)
 rename drivers/pcmcia/{sa1100_jornada720.c => sa1111_jornada720.c} (94%)
 rename drivers/pcmcia/{pxa2xx_lubbock.c => sa1111_lubbock.c} (99%)
 rename drivers/pcmcia/{sa1100_neponset.c => sa1111_neponset.c} (93%)