All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] mmc: tmio/SDHI fixup patches
@ 2013-11-20  8:30 ` Kuninori Morimoto
  0 siblings, 0 replies; 27+ messages in thread
From: Kuninori Morimoto @ 2013-11-20  8:30 UTC (permalink / raw)
  To: Simon, Chris Ball; +Cc: Magnus, Linux-SH, Kuninori Morimoto, linux-mmc


Hi Chris

Now, our new board would like to use sh_mobile_sdhi driver,
then, it is expecting sh_mobile_sdhi use regulator.
But, this regulator is based on GPIO driver,
and GPIO driver probe timing is after sh_mobile_sdhi.
So, sh_mobile_sdhi (= tmio_mmc_pio) use default ocr_avail,
and it doesn't work for us.
#1 patch returns -EPROBE_DEFER in such case.
it changes tmio_mmc_host_probe() behavior, but
in my check, tmio_mmc_pio driver user is sh_mobile_sdhi/tmio-mmc only,
and, current user has no conflict by this patch.

sh_mobile_sdhi/tmio-mmc is very similar, but, have some difference.
#2 - #4 cares such case.

These were part of "SDHI support for r8a7790" patch set,
but was separated

Kuninori Morimoto (4):
      mmc: tmio: use -EPROBE_DEFER if driver can't find regulator
      mmc: tmio: bus_shift become tmio_mmc_data member
      mmc: tmio: add new TMIO_MMC_HAVE_HIGH_REG flags
      mmc: SDHI: add SoC specific workaround via HW version

 drivers/mmc/host/sh_mobile_sdhi.c |   19 +++++++++++++++++++
 drivers/mmc/host/tmio_mmc.c       |    9 +++++++++
 drivers/mmc/host/tmio_mmc.h       |   17 ++++++++---------
 drivers/mmc/host/tmio_mmc_dma.c   |    2 +-
 drivers/mmc/host/tmio_mmc_pio.c   |   36 +++++++++++++++++++-----------------
 include/linux/mfd/tmio.h          |    8 ++++++++
 include/linux/mmc/tmio.h          |    1 +
 7 files changed, 65 insertions(+), 27 deletions(-)


Best regards
---
Kuninori Morimoto

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

end of thread, other threads:[~2014-01-12 16:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-20  8:30 [PATCH 0/4] mmc: tmio/SDHI fixup patches Kuninori Morimoto
2013-11-20  8:30 ` Kuninori Morimoto
2013-11-20  8:30 ` [PATCH 1/4] mmc: tmio: use -EPROBE_DEFER if driver can't find regulator Kuninori Morimoto
2013-11-20  8:30   ` Kuninori Morimoto
2013-11-20  8:30 ` [PATCH 2/4] mmc: tmio: bus_shift become tmio_mmc_data member Kuninori Morimoto
2013-11-20  8:30   ` Kuninori Morimoto
2014-01-07 13:40   ` Arnd Bergmann
2014-01-07 13:40     ` Arnd Bergmann
2014-01-08  1:33     ` [PATCH] mmc: tmio: fixup compile error Kuninori Morimoto
2014-01-08  1:33       ` Kuninori Morimoto
2014-01-08  4:47       ` Simon Horman
2014-01-08  4:47         ` Simon Horman
2014-01-12 16:22         ` Chris Ball
2013-11-20  8:31 ` [PATCH 3/4] mmc: tmio: add new TMIO_MMC_HAVE_HIGH_REG flags Kuninori Morimoto
2013-11-20  8:31   ` Kuninori Morimoto
2013-11-20  8:31 ` [PATCH 4/4] mmc: SDHI: add SoC specific workaround via HW version Kuninori Morimoto
2013-11-20  8:31   ` Kuninori Morimoto
2013-11-29  2:29 ` [PATCH 0/4] mmc: tmio/SDHI fixup patches Kuninori Morimoto
2013-11-29  2:29   ` Kuninori Morimoto
2013-12-10  2:56 ` Kuninori Morimoto
2013-12-10  2:56   ` Kuninori Morimoto
2013-12-12  1:45 ` Chris Ball
2013-12-12  1:45   ` Chris Ball
2013-12-12  8:26   ` Kuninori Morimoto
2013-12-12  8:26     ` Kuninori Morimoto
2013-12-13  0:11     ` Simon Horman
2013-12-13  0:11       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.