linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/29] mmc: mmcif and tmio regulator and OF support
@ 2012-05-03 15:05 Guennadi Liakhovetski
  2012-05-03 15:05 ` [PATCH 01/29] mmc: sh_mmcif: remove redundant .down_pwr() callback Guennadi Liakhovetski
                   ` (28 more replies)
  0 siblings, 29 replies; 61+ messages in thread
From: Guennadi Liakhovetski @ 2012-05-03 15:05 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-sh

Hi

I was not directly sure, what was the better way to send these out - as 
one seriess or as several. I would actually prefer several, but there are 
many dependencies. So, maybe best would be to try to review and address 
any issues on the MLs, only posting new versions of affected patches, and 
eventually provide a branch to pull from.

Now to contents:

1. prerequisites: goes on top of

[PATCH 4/6] mmc: sdhi: don't use connection IDs to obtain a clock reference
[PATCH 5/6] mmc: mmcif: don't use connection IDs to obtain a clock reference

http://thread.gmane.org/gmane.linux.ports.sh.devel/14425

[PATCH 0/3] mmc: sh-mmcif: clock management updates         
[PATCH 1/3] mmc: sh_mmcif: simplify and use meaningful label names in error-handling
[PATCH 2/3] mmc: sh_mmcif: fix clock management             
[PATCH 3/3] mmc: sh_mmcif: re-read the clock frequency upon re-enabling

http://thread.gmane.org/gmane.linux.ports.sh.devel/14448

(the following two patches should already be in the MMC tree)

[PATCH] mmc: cd-gpio.c: Include header to pickup exported symbol prototypes

http://www.spinics.net/lists/linux-mmc/msg13823.html

[PATCH] mmc: cd-gpio: allow NULL context in mmc_cd_gpio_free()

http://thread.gmane.org/gmane.linux.kernel.mmc/14103

2. supersede: this series supersedes my earlier patches:

[PATCH/RFC 0/7] mmc: tmio: regulator support, clock management, convert ecovec
[PATCH 1/7] mmc: tmio: stop interface clock before runtime PM suspending
[PATCH 2/7] mmc: tmio: don't needlessly enable interrupts during probing
[PATCH 3/7] mmc: tmio: add callbacks to enable-update and disable the interface clock
[PATCH 4/7] mmc: sdhi: implement tmio-mmc clock enable-update and disable callbacks
[PATCH 5/7] mmc: tmio: add regulator support
[PATCH 6/7] mmc: sdhi: do not install dummy callbacks
[PATCH 7/7] sh: ecovec: switch MMC power control to regulators

http://thread.gmane.org/gmane.linux.ports.sh.devel/14539

[PATCH 0/5] mmc: sh_mmcif: add regulator support
[PATCH 1/5] mmc: sh_mmcif: remove redundant .down_pwr() callback
[PATCH 2/5] sh: ecovec: remove unused .down_pwr() MMCIF callback
[PATCH 3/5] mmc: sh_mmcif: remove unused .down_pwr() callback
[PATCH 4/5] mmc: sh_mmcif: add regulator support
[PATCH/RFC 5/5] sh: ecovec: switch MMC power control to regulator

http://thread.gmane.org/gmane.linux.ports.sh.devel/14469

3. regulators: this series includes a bug-fix:

[PATCH 04/31] regulator: fix devm_regulator_put() to call regulator_put() explicitly

a cosmetic improvement:

[PATCH 05/31] regulator: use IS_ERR_OR_NULL() instead of open-coding

and a feature addition to the regulators framework.

4. mmc: this is where most of the patches fall into. This series includes 
additions and enhancements to the cd-gpio helper, which from now on is 
going to be called "slot-gpio;" a new file drivers/mmc/core/of.c with only 
two functions, so, if preferred, it can be merged into core.c; and 
numerous features, enhancements and improvements to the MMCIF and 
SDHI/TMIO drivers.

The of.c addition is actually pretty important, because it defines an 
external interface: it defines mmc properties, that all mmc host drivers 
will now be able to use, instead of adding new proprietary ones. Drivers, 
that already have OF support cannot stop supporting their interfaces. 
Since we do not want to rewrite .dts filesand break binary compatibility 
with existing platforms, these properties have to be carefully designed.

mmc regulator support: thanks to Mark Brown for comments. This version 
adds a generic mmc function to obtain a "vmmc" regulator for a specific 
mmc interface and now uses the device-managed version of regulator_get().

5. sh patches: 

[PATCH 02/29] sh: ecovec: remove unused .down_pwr() MMCIF callback

If we get an ack for this one, we can pull it together with other 
mmc-related patches via the mmc tree. If not, the following patch

[PATCH 03/29] mmc: sh_mmcif: remove unused .down_pwr() callback

will have to wait until [PATCH 02/29] makes it in.

One more

[PATCH 29/29] sh: ecovec: switch MMC power control to regulators

is optional and mostly is offered as an example of how regulators 
can be used with sh_mmcif and sh_mobile_sdhi.

Thanks
Guennadi

Guennadi Liakhovetski (29):
  mmc: sh_mmcif: remove redundant .down_pwr() callback
  sh: ecovec: remove unused .down_pwr() MMCIF callback
  mmc: sh_mmcif: remove unused .down_pwr() callback
  regulator: fix devm_regulator_put() to call regulator_put()
    explicitly
  regulator: use IS_ERR_OR_NULL() instead of open-coding
  regulator: export a function to check if regulator can change status
  mmc: add a function to get a regulator, supplying card's Vdd
  mmc: sh_mmcif: add regulator support
  mmc: tmio: stop interface clock before runtime PM suspending
  mmc: tmio: don't needlessly enable interrupts during probing
  mmc: tmio: add callbacks to enable-update and disable the interface
    clock
  mmc: sdhi: implement tmio-mmc clock enable-update and disable
    callbacks
  mmc: tmio: add regulator support
  mmc: sdhi: do not install dummy callbacks
  mmc: extend and rename cd-gpio helpers to handle more slot GPIO
    functions
  mmc: tmio: use MMC opcode defines instead of numbers
  mmc: use a more generic name for slot function types and fields
  mmc: tmio: remove a duplicated comment line
  mmc: add two capability flags for CD and WP signal polarity
  mmc: add CD GPIO polling support to slot functions
  mmc: convert slot functions to managed allocation
  mmc: add WP pin handler to slot functions
  mmc: tmio: use generic GPIO CD and WP handlers
  mmc: add a simple generic OF parser
  mmc: tmio: add OF support
  mmc: sdhi: add OF support, make platform data optional
  mmc: mmcif: add OF support
  mmc: mmcif: add support for generic GPIO CD polling
  sh: ecovec: switch MMC power control to regulators

 arch/sh/boards/mach-ecovec24/setup.c |   91 ++++++++++++------
 drivers/mmc/core/Makefile            |    4 +-
 drivers/mmc/core/cd-gpio.c           |   83 ----------------
 drivers/mmc/core/core.c              |   27 +++++
 drivers/mmc/core/host.c              |    4 +
 drivers/mmc/core/of.c                |   91 ++++++++++++++++++
 drivers/mmc/core/slot-gpio.c         |  175 ++++++++++++++++++++++++++++++++++
 drivers/mmc/host/sh_mmcif.c          |   83 ++++++++++++++---
 drivers/mmc/host/sh_mobile_sdhi.c    |   56 ++++++++---
 drivers/mmc/host/tmio_mmc.h          |    2 +
 drivers/mmc/host/tmio_mmc_pio.c      |  159 +++++++++++++++++++++++++------
 drivers/regulator/core.c             |   20 ++++-
 include/linux/mfd/tmio.h             |    3 +
 include/linux/mmc/cd-gpio.h          |   18 ----
 include/linux/mmc/host.h             |   39 +++++++-
 include/linux/mmc/sh_mmcif.h         |    1 -
 include/linux/mmc/slot-gpio.h        |   24 +++++
 include/linux/regulator/consumer.h   |    7 ++
 18 files changed, 694 insertions(+), 193 deletions(-)
 delete mode 100644 drivers/mmc/core/cd-gpio.c
 create mode 100644 drivers/mmc/core/of.c
 create mode 100644 drivers/mmc/core/slot-gpio.c
 delete mode 100644 include/linux/mmc/cd-gpio.h
 create mode 100644 include/linux/mmc/slot-gpio.h

-- 
1.7.2.5


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

end of thread, other threads:[~2012-06-11 12:15 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 15:05 [PATCH 00/29] mmc: mmcif and tmio regulator and OF support Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 01/29] mmc: sh_mmcif: remove redundant .down_pwr() callback Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 02/29] sh: ecovec: remove unused .down_pwr() MMCIF callback Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 03/29] mmc: sh_mmcif: remove unused .down_pwr() callback Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 04/29] regulator: fix devm_regulator_put() to call regulator_put() explicitly Guennadi Liakhovetski
2012-05-03 16:56   ` Mark Brown
2012-05-18  8:54     ` Guennadi Liakhovetski
2012-05-18 15:10       ` Mark Brown
2012-05-03 15:05 ` [PATCH 05/29] regulator: use IS_ERR_OR_NULL() instead of open-coding Guennadi Liakhovetski
2012-05-03 15:32   ` Mark Brown
2012-05-18  8:44     ` Guennadi Liakhovetski
2012-05-18  8:57     ` Paul Mundt
2012-05-18  9:18       ` Guennadi Liakhovetski
2012-05-18  9:19         ` Paul Mundt
2012-05-18 15:04       ` Mark Brown
2012-06-11 11:38         ` Guennadi Liakhovetski
2012-06-11 11:51           ` Mark Brown
2012-06-11 12:06             ` Guennadi Liakhovetski
2012-06-11 12:15               ` Mark Brown
2012-05-03 15:05 ` [PATCH 06/29] regulator: export a function to check if regulator can change status Guennadi Liakhovetski
2012-05-03 15:25   ` Mark Brown
2012-05-18  8:33     ` Guennadi Liakhovetski
2012-05-18 15:08       ` Mark Brown
2012-05-18 15:23         ` Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 07/29] mmc: add a function to get a regulator, supplying card's Vdd Guennadi Liakhovetski
2012-05-03 15:42   ` Mark Brown
2012-05-18  9:28     ` Guennadi Liakhovetski
2012-05-18 15:18       ` Mark Brown
2012-05-18 15:39         ` Guennadi Liakhovetski
2012-05-18 16:04           ` Mark Brown
2012-05-03 15:05 ` [PATCH 08/29] mmc: sh_mmcif: add regulator support Guennadi Liakhovetski
2012-05-03 15:45   ` Mark Brown
2012-05-18  9:35     ` Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 09/29] mmc: tmio: stop interface clock before runtime PM suspending Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 10/29] mmc: tmio: don't needlessly enable interrupts during probing Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 11/29] mmc: tmio: add callbacks to enable-update and disable the interface clock Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 12/29] mmc: sdhi: implement tmio-mmc clock enable-update and disable callbacks Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 13/29] mmc: tmio: add regulator support Guennadi Liakhovetski
2012-05-03 15:56   ` Mark Brown
2012-05-18  9:55     ` Guennadi Liakhovetski
2012-05-18 15:34       ` Mark Brown
2012-05-03 15:05 ` [PATCH 14/29] mmc: sdhi: do not install dummy callbacks Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 15/29] mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions Guennadi Liakhovetski
2012-05-17 14:28   ` S, Venkatraman
2012-05-03 15:05 ` [PATCH 16/29] mmc: tmio: use MMC opcode defines instead of numbers Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 17/29] mmc: use a more generic name for slot function types and fields Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 18/29] mmc: tmio: remove a duplicated comment line Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 19/29] mmc: add two capability flags for CD and WP signal polarity Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 20/29] mmc: add CD GPIO polling support to slot functions Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 21/29] mmc: convert slot functions to managed allocation Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 22/29] mmc: add WP pin handler to slot functions Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 23/29] mmc: tmio: use generic GPIO CD and WP handlers Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 24/29] mmc: add a simple generic OF parser Guennadi Liakhovetski
2012-05-04 18:26   ` Olof Johansson
2012-05-18  9:58     ` Guennadi Liakhovetski
2012-05-10  7:51   ` Magnus Damm
2012-05-03 15:05 ` [PATCH 25/29] mmc: tmio: add OF support Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 26/29] mmc: sdhi: add OF support, make platform data optional Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 27/29] mmc: mmcif: add OF support Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 28/29] mmc: mmcif: add support for generic GPIO CD polling Guennadi Liakhovetski
2012-05-03 15:05 ` [PATCH 29/29] sh: ecovec: switch MMC power control to regulators Guennadi Liakhovetski

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