mbox series

[00/11,v3] Use GPIO descriptors for CD/WP

Message ID 20181125225217.23201-1-linus.walleij@linaro.org
Headers show
Series Use GPIO descriptors for CD/WP | expand

Message

Linus Walleij Nov. 25, 2018, 10:52 p.m. UTC
This is the updated v3 version of the patch series moving
all boards still using global GPIO numbers to GPIO
descriptors for "slot GPIO".

I removed the patches that were applied and added a bunch
more by splitting up the PXA patch as Robert Jarzmik
requested.

There is also a GPIO patch sneaked in, which can be
applied to the MMC tree with the rest.

The SPI, TMIO, s3cmci, and the PXA series can be
applied individually (no dependence).

The last patch must be applied after all the others.

Linus Walleij (11):
  mmc: spi: Convert to use GPIO descriptors
  mmc: host: tmio: Use GPIO descriptors
  mmc: s3cmci: Use the slot GPIO descriptor
  gpio: name PCA953x gpio chips after device name
  ARM: pxa: Add gpio descriptor lookup tables for MMC CD/WP
  ARM: pxa: Add GPIO descriptors for Palm27x
  mmc: pxamci: Support getting GPIO descs for RO and WP
  ARM: pxa/pcamci: Delete platform data for CD/WP
  mmc: pxamci: Delete platform data handling of CD and WP
  mmc: pxa: Use GPIO descriptor for power
  mmc: slot-gpio: Delete legacy GPIO handling

 arch/arm/mach-ep93xx/simone.c             | 14 +++-
 arch/arm/mach-ep93xx/vision_ep9307.c      | 17 +++--
 arch/arm/mach-pxa/balloon3.c              |  3 -
 arch/arm/mach-pxa/cm-x270.c               | 22 +++---
 arch/arm/mach-pxa/cm-x300.c               | 23 ++++---
 arch/arm/mach-pxa/colibri-evalboard.c     | 40 ++++++++---
 arch/arm/mach-pxa/colibri-pxa270-income.c | 19 ++++--
 arch/arm/mach-pxa/corgi.c                 | 20 +++++-
 arch/arm/mach-pxa/csb726.c                | 19 ++++--
 arch/arm/mach-pxa/em-x270.c               | 34 ++++------
 arch/arm/mach-pxa/gumstix.c               |  3 -
 arch/arm/mach-pxa/idp.c                   |  3 -
 arch/arm/mach-pxa/littleton.c             | 17 +++--
 arch/arm/mach-pxa/lubbock.c               |  3 -
 arch/arm/mach-pxa/magician.c              | 22 +++++-
 arch/arm/mach-pxa/mainstone.c             |  3 -
 arch/arm/mach-pxa/mioa701.c               | 18 ++++-
 arch/arm/mach-pxa/mxm8x10.c               | 17 +++--
 arch/arm/mach-pxa/palm27x.c               | 10 +--
 arch/arm/mach-pxa/palm27x.h               |  8 +--
 arch/arm/mach-pxa/palmld.c                | 16 ++++-
 arch/arm/mach-pxa/palmt5.c                | 16 ++++-
 arch/arm/mach-pxa/palmtc.c                | 19 ++++--
 arch/arm/mach-pxa/palmte2.c               | 18 ++++-
 arch/arm/mach-pxa/palmtreo.c              | 31 +++++++--
 arch/arm/mach-pxa/palmtx.c                | 16 ++++-
 arch/arm/mach-pxa/palmz72.c               | 16 ++++-
 arch/arm/mach-pxa/pcm990-baseboard.c      |  3 -
 arch/arm/mach-pxa/poodle.c                | 15 ++++-
 arch/arm/mach-pxa/raumfeld.c              |  3 -
 arch/arm/mach-pxa/spitz.c                 | 16 ++++-
 arch/arm/mach-pxa/stargate2.c             |  3 -
 arch/arm/mach-pxa/tosa.c                  | 18 ++++-
 arch/arm/mach-pxa/trizeps4.c              |  3 -
 arch/arm/mach-pxa/vpac270.c               | 16 ++++-
 arch/arm/mach-pxa/z2.c                    | 14 +++-
 arch/arm/mach-pxa/zeus.c                  | 15 ++++-
 arch/arm/mach-pxa/zylonite.c              | 44 +++++++++---
 arch/arm/mach-pxa/zylonite_pxa300.c       |  2 +
 arch/arm/mach-s3c24xx/mach-at2440evb.c    | 14 +++-
 arch/arm/mach-s3c24xx/mach-h1940.c        | 15 ++++-
 arch/arm/mach-s3c24xx/mach-mini2440.c     | 15 ++++-
 arch/arm/mach-s3c24xx/mach-n30.c          | 15 ++++-
 arch/arm/mach-s3c24xx/mach-rx1950.c       | 15 ++++-
 arch/sh/boards/mach-ecovec24/setup.c      | 43 ++++++++++--
 drivers/gpio/gpio-pca953x.c               |  2 +-
 drivers/mmc/core/slot-gpio.c              | 81 +----------------------
 drivers/mmc/host/mmc_spi.c                | 27 ++++----
 drivers/mmc/host/of_mmc_spi.c             | 34 ----------
 drivers/mmc/host/pxamci.c                 | 68 ++++++++-----------
 drivers/mmc/host/s3cmci.c                 | 29 +++-----
 drivers/mmc/host/tmio_mmc_core.c          | 12 ++--
 include/linux/mfd/tmio.h                  |  9 +--
 include/linux/mmc/slot-gpio.h             |  5 --
 include/linux/platform_data/mmc-pxamci.h  |  4 --
 include/linux/platform_data/mmc-s3cmci.h  |  4 --
 include/linux/spi/mmc_spi.h               | 15 -----
 57 files changed, 590 insertions(+), 416 deletions(-)

-- 
2.19.1