]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi: renesas: Add R8A779H0 V4M support
authorHai Pham <hai.pham.ud@renesas.com>
Sun, 28 Jan 2024 15:52:05 +0000 (16:52 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Feb 2024 16:08:06 +0000 (17:08 +0100)
Support RPC SPI on R8A779H0 V4M SoC.

Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/renesas_rpc_spi.c

index 51c37d72eb62c5e7c7145c1fcf13e98186a12439..3eb14061c81d4f1c49c23bd8aa43fe59d89d0fa5 100644 (file)
@@ -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