Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] mmc: renesas_sdhi: reset via reset controller
@ 2021-02-22 11:39 Wolfram Sang
  2021-02-22 11:39 ` [RFC PATCH v2 1/2] mmc: tmio: abort DMA before reset Wolfram Sang
  2021-02-22 11:39 ` [RFC PATCH v2 2/2] mmc: renesas_sdhi: do hard reset if possible Wolfram Sang
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfram Sang @ 2021-02-22 11:39 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.


Changes since (internal) RFC v1:

* moved from probe() to the reset() callback so we use it for every
  reset, not only when initializing
* patch 1 is new to make sure aborting DMA will work
* added a comment about (unexpected) polling for the reset status
* don't use atomic version for polling; reset is not a hot path

Wolfram Sang (2):
  mmc: tmio: abort DMA before reset
  mmc: renesas_sdhi: do hard reset if possible

 drivers/mmc/host/renesas_sdhi.h      |  2 ++
 drivers/mmc/host/renesas_sdhi_core.c | 13 ++++++++++++-
 drivers/mmc/host/tmio_mmc_core.c     |  4 ++--
 3 files changed, 16 insertions(+), 3 deletions(-)

-- 
2.30.0


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

end of thread, other threads:[~2021-02-23 10:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 11:39 [RFC PATCH v2 0/2] mmc: renesas_sdhi: reset via reset controller Wolfram Sang
2021-02-22 11:39 ` [RFC PATCH v2 1/2] mmc: tmio: abort DMA before reset Wolfram Sang
2021-02-22 11:39 ` [RFC PATCH v2 2/2] mmc: renesas_sdhi: do hard reset if possible Wolfram Sang
2021-02-23 10:06   ` Geert Uytterhoeven
2021-02-23 10:17     ` Wolfram Sang
2021-02-23 10:20       ` Geert Uytterhoeven

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