[PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support
Marek Vasut
marek.vasut+renesas at mailbox.org
Sun Jan 28 16:52:05 CET 2024
From: Hai Pham <hai.pham.ud at renesas.com>
Support RPC SPI on R8A779H0 V4M SoC.
Reviewed-by: Paul Barker <paul.barker.ct at bp.renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud at renesas.com>
---
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Paul Barker <paul.barker.ct at bp.renesas.com>
---
V2: - Move the patch after PRR ID patch to satisfy macro dependency
- Add RB from Paul
---
drivers/spi/renesas_rpc_spi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/renesas_rpc_spi.c b/drivers/spi/renesas_rpc_spi.c
index 51c37d72eb6..3eb14061c81 100644
--- a/drivers/spi/renesas_rpc_spi.c
+++ b/drivers/spi/renesas_rpc_spi.c
@@ -215,7 +215,8 @@ static u32 rpc_spi_get_strobe_delay(void)
if (cpu_type == RMOBILE_CPU_TYPE_R8A7796 && rmobile_get_cpu_rev_integer() == 1)
return RPC_PHYCNT_STRTIM(6);
else if (cpu_type == RMOBILE_CPU_TYPE_R8A779F0 ||
- cpu_type == RMOBILE_CPU_TYPE_R8A779G0)
+ cpu_type == RMOBILE_CPU_TYPE_R8A779G0 ||
+ cpu_type == RMOBILE_CPU_TYPE_R8A779H0)
return RPC_PHYCNT_STRTIM2(15);
else
#endif
--
2.43.0
More information about the U-Boot
mailing list