Skip to contentSkip to conversation

mmc: renesas_sdhi: Add quirk entry for RZ/G2H SoC

PATCH Applied Prabhakar 2 participants 2 messages Jul 7 – Jul 8

Subsystems (3)
lore
Share & tools
lore

Prabhakar

author
#0 lore raw

PATCH 1/1 mmc: renesas_sdhi: Add quirk entry for RZ/G2H SoC

From: Lad Prabhakar <[email protected]>

The RZ/G2H (R8A774E1) SoC uses the same SDHI IP as the R-Car H3-N (R8A77951) and requires the sdhi_quirks_bad_taps2367 quirk.

The 5.10 stable backport of commit 77fa80a1b732 ("mmc: renesas_sdhi:
Add OF entry for RZ/G2H SoC") adds an OF match entry for RZ/G2H. However, unlike upstream, the 5.10 driver applies SoC-specific quirks through the sdhi_quirks_match table. As a result, the required quirk is not applied for RZ/G2H.

Add the missing sdhi_quirks_match entry for RZ/G2H ES3.x.

---
Hi Sasha,

As requested [0], here is a patch to add the missing quirk entry for RZ/G2H SoC.

[0] https://lore.kernel.org/all/[email protected]/

Cheers, Prabhakar

---
 drivers/mmc/host/renesas_sdhi_core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/renesas_sdhi_core.c +1 -0
index c0acb309e3243..f02f9ef5cfbc8 100644
@@ -903,6 +903,7 @@ static const struct renesas_sdhi_quirks sdhi_quirks_r8a77990 = {
  */
 static const struct soc_device_attribute sdhi_quirks_match[]  = {
 	{ .soc_id = "r8a774a1", .revision = "ES1.[012]", .data = &sdhi_quirks_4tap_nohs400 },
+	{ .soc_id = "r8a774e1", .revision = "ES3.*", .data = &sdhi_quirks_bad_taps2367 },
 	{ .soc_id = "r8a7795", .revision = "ES1.*", .data = &sdhi_quirks_4tap_nohs400 },
 	{ .soc_id = "r8a7795", .revision = "ES2.0", .data = &sdhi_quirks_4tap },
 	{ .soc_id = "r8a7795", .revision = "ES3.*", .data = &sdhi_quirks_bad_taps2367 },

base-commit: 738ac465e4e900d4a391a27da4e20c090eaa1e75

Signature · 1 line
2.54.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Lad Prabhakar

As requested [0], here is a patch to add the missing quirk entry for RZ/G2H SoC.

Queued for 5.10, thanks.

Signature · 2 lines
Thanks,
Sasha