public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mmc: renesas_sdhi: reset via reset controller
@ 2021-03-15 14:59 Wolfram Sang
  2021-03-15 14:59 ` [PATCH v2 1/3] mmc: tmio: abort DMA before reset Wolfram Sang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Wolfram Sang @ 2021-03-15 14:59 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-renesas-soc, Yoshihiro Shimoda, Wolfram Sang

This series enables SDHI to be reset via a reset controller.
Please let me know about your (and BSP team's) thoughts.
The series is based on mmc/next and tested on Salvator-XS with R-Car H3
ES2.0 with what I think I can do locally here.

Changes since v1:
* Niklas tag added to patch 1 (thanks!)
* new patch 2 to factor out SCC reset and make intentions clearer
  (thanks to Shimoda-san for the review!)
* patch 3 re-inits now the SD clock again after the hard reset

Wolfram Sang (3):
  mmc: tmio: abort DMA before reset
  mmc: renesas_sdhi: break SCC reset into own function
  mmc: renesas_sdhi: do hard reset if possible

 drivers/mmc/host/Kconfig             |  1 +
 drivers/mmc/host/renesas_sdhi.h      |  2 ++
 drivers/mmc/host/renesas_sdhi_core.c | 35 +++++++++++++++++++++-------
 drivers/mmc/host/tmio_mmc_core.c     |  4 ++--
 4 files changed, 32 insertions(+), 10 deletions(-)

-- 
2.30.0


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

end of thread, other threads:[~2021-03-16 16:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15 14:59 [PATCH v2 0/3] mmc: renesas_sdhi: reset via reset controller Wolfram Sang
2021-03-15 14:59 ` [PATCH v2 1/3] mmc: tmio: abort DMA before reset Wolfram Sang
2021-03-15 14:59 ` [PATCH v2 2/3] mmc: renesas_sdhi: break SCC reset into own function Wolfram Sang
2021-03-15 14:59 ` [PATCH v2 3/3] mmc: renesas_sdhi: do hard reset if possible Wolfram Sang
2021-03-16 12:53   ` Geert Uytterhoeven
2021-03-16 12:57     ` Wolfram Sang
2021-03-16 13:14       ` Geert Uytterhoeven
2021-03-16 16:59         ` Wolfram Sang
2021-03-16  6:38 ` [PATCH v2 0/3] mmc: renesas_sdhi: reset via reset controller Yoshihiro Shimoda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox