Skip to content

mmc: renesas_sdhi: extend quirk selection to handle ES revisions

Niklas Söderlund linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: renesas_sdhi: handle 4tap hs400 mode quirk based on SoC revisiondrivers/mmc/host/renesas_sdhi_core.c+26 -02 replies
2/3mmc: renesas_sdhi: align compatibility properties for H3 and M3-Wdrivers/mmc/host/renesas_sdhi_internal_dmac.c drivers/mmc/host/renesas_sdhi_sys_dmac.c+5 -351 reply
3/3mmc: renesas_sdhi: disable HS400 on H3 ES1.x and M3-W ES1.xdrivers/mmc/host/renesas_sdhi_core.c+15 -52 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWolfram SangSimon Horman
SeriesT-b R-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] mmc: renesas_sdhi: extend quirk selection to handle ES revisions

From: Niklas Söderlund <[email protected]>

Hi,

Recent datasheet updates have made it clear that some quirks are not SoC specific but SoC + ES version specific. Currently the quirks are selected using compatibility values but whit this new information that is not enough.

Patch 1/3 adds support to select quirks based on SoC + ES revision using soc_device_match() and converts the only existing quirk. Patch 2/3 Removes the old method to select quirk based on compatibility string. While Patch 3/3 adds a new quirk from the BSP which blacklists some known problematic ES versions for HS400. HS400 is not yet enabled upstream so blacklisting these ES versions is not a regression of functionality.

Based on mmc/next and tested on H3 and M3-N.

Niklas Söderlund (3):
mmc: renesas_sdhi: handle 4tap hs400 mode quirk based on SoC revision
mmc: renesas_sdhi: align compatibility properties for H3 and M3-W
mmc: renesas_sdhi: disable HS400 on H3 ES1.x and M3-W ES1.x

 drivers/mmc/host/renesas_sdhi_core.c          | 36 +++++++++++++++++++
 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 20 ++---------
 drivers/mmc/host/renesas_sdhi_sys_dmac.c      | 20 ++---------
 3 files changed, 41 insertions(+), 35 deletions(-)
Signature · 1 line
2.19.1