spi: rzv2h-rspi: Add support for RZ/G3L (R9A08G046)

Add support for RZ/G3L RSPI. The RZ/G3L variant requires only
2 clocks (pclk + tclk), unlike the RZ/V2H which needs 3.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20260408085418.18770-3-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Biju Das
2026-04-08 15:57:53 +01:00
committed by Mark Brown
parent 5277c29196
commit 9be1143516
+8
View File
@@ -811,6 +811,13 @@ static const struct rzv2h_rspi_info rzv2h_info = {
.num_clks = 3,
};
static const struct rzv2h_rspi_info rzg3l_info = {
.find_tclk_rate = rzv2h_rspi_find_rate_fixed,
.tclk_name = "tclk",
.fifo_size = 16,
.num_clks = 2,
};
static const struct rzv2h_rspi_info rzt2h_info = {
.find_tclk_rate = rzv2h_rspi_find_rate_variable,
.find_pclk_rate = rzv2h_rspi_find_rate_fixed,
@@ -820,6 +827,7 @@ static const struct rzv2h_rspi_info rzt2h_info = {
};
static const struct of_device_id rzv2h_rspi_match[] = {
{ .compatible = "renesas,r9a08g046-rspi", &rzg3l_info },
{ .compatible = "renesas,r9a09g057-rspi", &rzv2h_info },
{ .compatible = "renesas,r9a09g077-rspi", &rzt2h_info },
{ /* sentinel */ }