linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/14] Remove platform callbacks from mmc_spi, sh_mmcif and sh_mobile_sdhi drivers
@ 2013-08-08 10:38 Laurent Pinchart
  2013-08-08 10:38 ` [PATCH v3 01/14] mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd() Laurent Pinchart
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Laurent Pinchart @ 2013-08-08 10:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This patch set replaces callbacks to board code with regulators and GPIOs in
the mmc_spi, sh_mmcif and sh_mobile_sdhi MMC drivers.

Most of the required infrastructure is in place already on the drivers side,
except for CD debouncing support in the MMC core and CD/RO GPIOs support in
the mmc_spi driver. The series thus starts with patches 01/14 and 02/14 that
add those features to the MMC core and mmc_spi driver.

Patches 03/14 to 07/14 remove the board callbacks from the ecovec24 and
vision_ep9307 boards. The code has been compile-tested only as I don't have
access to those boards.

Patches 08/14 to 14/14 then proceed to remove the callbacks from the drivers
themselves and from the platform data structures.

Compared to v2, the patches have been rebased on the mmc-next branch from
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git. I've also added
patch 07/14 that removes the .set_pwr() callback from the ag5evm board to avoid
compilation breakage during bisection.

The series interleaves patches for drivers and board files. The ep93xx and
ecovec24 patches have been acked, and the respective ARM subtree maintainers
have indicated that they are fine with the patches going through the MMC tree.
The ag5evm patch is new, but as the ag5evm board is going to be removed in
v3.12, it shouldn't cause any issue.

Chris, could you take the patches in your tree ? I've pushed them to

	git://linuxtv.org/pinchartl/fbdev.git mmc/devel

Laurent Pinchart (14):
  mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd()
  mmc: mmc_spi: Support CD/RO GPIOs
  ARM: ep93xx: vision_ep9307: Use MMC CD and RO GPIO
  sh: ecovec24: Use MMC/SDHI CD and RO GPIO
  sh: ecovec24: Remove mmcif .down_pwr() callback
  sh: ecovec24: Remove MMCIF and SDHI .set_pwr() callbacks
  ARM: shmobile: ag5evm: Remove SDHI .set_pwr() callback
  mmc: mmc_spi: Remove platform data .get_cd() and .get_ro() callbacks
  mmc: sh_mmcif: Remove .down_pwr() callback from platform data
  mmc: sh_mmcif: Remove .set_pwr() callback from platform data
  mmc: sh_mobile_sdhi: Remove .get_cd() callback from platform data
  mmc: sh_mobile_sdhi: Remove .set_pwr() callback from platform data
  mmc: tmio-mmc: Remove .get_cd() callback from platform data
  mmc: tmio-mmc: Remove .set_pwr() callback from platform data

 arch/arm/mach-ep93xx/vision_ep9307.c  | 57 ++--------------------
 arch/arm/mach-shmobile/board-ag5evm.c | 23 ---------
 arch/sh/boards/mach-ecovec24/setup.c  | 89 ++++-------------------------------
 drivers/mmc/core/host.c               |  2 +-
 drivers/mmc/core/slot-gpio.c          | 14 +++++-
 drivers/mmc/host/jz4740_mmc.c         |  2 +-
 drivers/mmc/host/mmc_spi.c            | 49 +++++++++----------
 drivers/mmc/host/mvsdio.c             |  3 +-
 drivers/mmc/host/of_mmc_spi.c         | 46 +++++-------------
 drivers/mmc/host/sdhci-esdhc-imx.c    |  2 +-
 drivers/mmc/host/sdhci-pxav3.c        |  3 +-
 drivers/mmc/host/sdhci-sirf.c         |  2 +-
 drivers/mmc/host/sh_mmcif.c           |  5 +-
 drivers/mmc/host/sh_mobile_sdhi.c     | 18 -------
 drivers/mmc/host/tmio_mmc.h           |  1 -
 drivers/mmc/host/tmio_mmc_pio.c       | 25 +---------
 include/linux/mfd/tmio.h              |  2 -
 include/linux/mmc/sh_mmcif.h          |  2 -
 include/linux/mmc/sh_mobile_sdhi.h    |  2 -
 include/linux/mmc/slot-gpio.h         |  3 +-
 include/linux/spi/mmc_spi.h           | 19 +++++---
 21 files changed, 86 insertions(+), 283 deletions(-)

-- 
Regards,

Laurent Pinchart

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

end of thread, other threads:[~2013-08-25 20:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08 10:38 [PATCH v3 00/14] Remove platform callbacks from mmc_spi, sh_mmcif and sh_mobile_sdhi drivers Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 01/14] mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd() Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 02/14] mmc: mmc_spi: Support CD/RO GPIOs Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 03/14] ARM: ep93xx: vision_ep9307: Use MMC CD and RO GPIO Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 04/14] sh: ecovec24: Use MMC/SDHI " Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 05/14] sh: ecovec24: Remove mmcif .down_pwr() callback Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 06/14] sh: ecovec24: Remove MMCIF and SDHI .set_pwr() callbacks Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 07/14] ARM: shmobile: ag5evm: Remove SDHI .set_pwr() callback Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 08/14] mmc: mmc_spi: Remove platform data .get_cd() and .get_ro() callbacks Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 09/14] mmc: sh_mmcif: Remove .down_pwr() callback from platform data Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 10/14] mmc: sh_mmcif: Remove .set_pwr() " Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 11/14] mmc: sh_mobile_sdhi: Remove .get_cd() " Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 12/14] mmc: sh_mobile_sdhi: Remove .set_pwr() " Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 13/14] mmc: tmio-mmc: Remove .get_cd() " Laurent Pinchart
2013-08-08 10:38 ` [PATCH v3 14/14] mmc: tmio-mmc: Remove .set_pwr() " Laurent Pinchart
2013-08-24  1:28 ` [PATCH v3 00/14] Remove platform callbacks from mmc_spi, sh_mmcif and sh_mobile_sdhi drivers Laurent Pinchart
2013-08-25  3:58 ` Chris Ball
2013-08-25 20:54   ` Laurent Pinchart

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).