Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: renesas_sdhi: upport better HS400 reset from BSP
@ 2022-11-18 21:45 Wolfram Sang
  2022-11-18 21:45 ` [PATCH 1/2] mmc: renesas_sdhi: add helper to access quirks Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wolfram Sang @ 2022-11-18 21:45 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-renesas-soc, Yoshihiro Shimoda, Wolfram Sang

This small series upports a BSP improvement in a refactored way. The
original patch 15d7abbfc3f0 ("mmc: renesas_sdhi: reset calibration register")
added a new quirk for devices which always should disable HS400
adjustment. This was only applicable for SoCs which either had bad_taps
or needed a calibration table. So, I simply used this logic directly.
This is patch 2.

To achieve this in a readable way, I finally did something I wanted to
do for some time now. Having a helper to check for SDHI quirks. This is
patch 1.

The series has been tested on a Salvator-XS (R-Car M3-N). The patches
are based on mmc/next as of today as they depend on d901e2ba566 ("mmc:
renesas_sdhi: take DMA end interrupts into account").

Let me know what you think!

Happy hacking,

   Wolfram


Wolfram Sang (2):
  mmc: renesas_sdhi: add helper to access quirks
  mmc: renesas_sdhi: better reset from HS400 mode

 drivers/mmc/host/renesas_sdhi.h               |  2 ++
 drivers/mmc/host/renesas_sdhi_core.c          | 18 +++++++++---------
 drivers/mmc/host/renesas_sdhi_internal_dmac.c |  8 ++++----
 3 files changed, 15 insertions(+), 13 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2022-11-21  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 21:45 [PATCH 0/2] mmc: renesas_sdhi: upport better HS400 reset from BSP Wolfram Sang
2022-11-18 21:45 ` [PATCH 1/2] mmc: renesas_sdhi: add helper to access quirks Wolfram Sang
2022-11-21  8:28   ` Geert Uytterhoeven
2022-11-18 21:45 ` [PATCH 2/2] mmc: renesas_sdhi: better reset from HS400 mode Wolfram Sang
2022-11-19 22:44 ` [PATCH 0/2] mmc: renesas_sdhi: upport better HS400 reset from BSP Wolfram Sang

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