mbox series

[0/2] mmc: renesas_sdhi: upport better HS400 reset from BSP

Message ID 20221118214556.81763-1-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series mmc: renesas_sdhi: upport better HS400 reset from BSP | expand

Message

Wolfram Sang Nov. 18, 2022, 9:45 p.m. UTC
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(-)

Comments

Wolfram Sang Nov. 19, 2022, 10:44 p.m. UTC | #1
On Fri, Nov 18, 2022 at 10:45:54PM +0100, Wolfram Sang wrote:
> This small series upports a BSP improvement in a refactored way. The

Please discard this series. I want to upport another BSP fix, but I need
all patches in a specific order to ease backporting. I'll send a new
series on Monday latest.