public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 01/13] mmc: renesas-sdhi: R-Car M3 r1.3 also uses 4 tuning taps
@ 2023-01-26 20:05 Marek Vasut
  2023-01-26 20:05 ` [PATCH 02/13] mmc: renesas-sdhi: Filter out HS400 on M3-W r1.2, V3M, V3H r1.x, D3 Marek Vasut
                   ` (11 more replies)
  0 siblings, 12 replies; 19+ messages in thread
From: Marek Vasut @ 2023-01-26 20:05 UTC (permalink / raw)
  To: u-boot; +Cc: aford173, Hai Pham, Marek Vasut

From: Hai Pham <hai.pham.ud@renesas.com>

Early ES revisions of M3-W SoCs requires 4-tap HS400. Reflect the status
from datasheet.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
 drivers/mmc/renesas-sdhi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c
index 9ad92648a34..9f8a272d03d 100644
--- a/drivers/mmc/renesas-sdhi.c
+++ b/drivers/mmc/renesas-sdhi.c
@@ -934,12 +934,12 @@ static void renesas_sdhi_filter_caps(struct udevice *dev)
 			r8a77990_calib_table[!rmobile_is_gen3_mmc0(priv)];
 	}
 
-	/* H3 ES1.x, ES2.0 and M3W ES1.0, ES1.1, ES1.2 uses 4 tuning taps */
+	/* H3 ES1.x, ES2.0 and M3W ES1.[0123] uses 4 tuning taps */
 	if (((rmobile_get_cpu_type() == RMOBILE_CPU_TYPE_R8A7795) &&
 	    (rmobile_get_cpu_rev_integer() <= 2)) ||
 	    ((rmobile_get_cpu_type() == RMOBILE_CPU_TYPE_R8A7796) &&
 	    (rmobile_get_cpu_rev_integer() == 1) &&
-	    (rmobile_get_cpu_rev_fraction() <= 2)))
+	    (rmobile_get_cpu_rev_fraction() <= 3)))
 		priv->nrtaps = 4;
 	else
 		priv->nrtaps = 8;
-- 
2.39.0


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

end of thread, other threads:[~2023-01-31 23:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-26 20:05 [PATCH 01/13] mmc: renesas-sdhi: R-Car M3 r1.3 also uses 4 tuning taps Marek Vasut
2023-01-26 20:05 ` [PATCH 02/13] mmc: renesas-sdhi: Filter out HS400 on M3-W r1.2, V3M, V3H r1.x, D3 Marek Vasut
2023-01-31 23:26   ` Jaehoon Chung
2023-01-26 20:05 ` [PATCH 03/13] mmc: renesas-sdhi: Adjust HS400 calibration tables Marek Vasut
2023-01-31 23:27   ` Jaehoon Chung
2023-01-26 20:05 ` [PATCH 04/13] mmc: renesas-sdhi: Adjust HS400 calibration offsets for M3-W r1.3 Marek Vasut
2023-01-31 23:33   ` Jaehoon Chung
2023-01-26 20:05 ` [PATCH 05/13] mmc: renesas-sdhi: Add R8A77961 M3-W+ support Marek Vasut
2023-01-31 23:34   ` Jaehoon Chung
2023-01-26 20:06 ` [PATCH 06/13] mmc: renesas-sdhi: Drop R-Car H3 ES3.0 HS400 calibration table Marek Vasut
2023-01-31 23:35   ` Jaehoon Chung
2023-01-26 20:06 ` [PATCH 07/13] mmc: renesas-sdhi: Flag non-standard SDnH handling for V3M Marek Vasut
2023-01-31 23:36   ` Jaehoon Chung
2023-01-26 20:06 ` [PATCH 08/13] clk: renesas: Convert Gen2/Gen3 clock tables to clk-provider struct clk_div_table Marek Vasut
2023-01-26 20:06 ` [PATCH 09/13] clk: renesas: Introduce and use rcar_clk_get_rate64_div_table function Marek Vasut
2023-01-26 20:06 ` [PATCH 10/13] clk: renesas: Handle E3/D3 RPCSRC clock Marek Vasut
2023-01-26 20:06 ` [PATCH 12/13] clk: renesas: Add R8A77970 SD0H/SD0 clocks for SDHI Marek Vasut
2023-01-26 20:06 ` [PATCH 13/13] clk: renesas: rcar-gen3: Factor out CPG library Marek Vasut
2023-01-29  1:50 ` [PATCH 11/13] clk: renesas: Switch to new SD clock handling Marek Vasut

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