Re: [PATCH] spi: renesas: Make driver available on R-Car Gen4

2023-02-28 Thread Geert Uytterhoeven
On Tue, Feb 28, 2023 at 10:28 PM Marek Vasut
 wrote:
> Use CONFIG_RCAR_64 to make the driver available on both
> R-Car Gen3 and R-Car Gen4.
>
> Signed-off-by: Marek Vasut 

LGTM, so
Reviewed-by: Geert Uytterhoeven 

> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -381,7 +381,7 @@ config SPI_QUP
>
>  config RENESAS_RPC_SPI
> bool "Renesas RPC SPI driver"
> -   depends on RCAR_GEN3 || RZA1
> +   depends on RCAR_64 || RZA1

Note that the RPC-IF is also present on the RZ/G2L SoC family
(RZ/G2L{,}, RZ/G2UL, RZ/Five), which does not seem to have upstream
U-Boot support yet.

> imply SPI_FLASH_BAR
> help
>   Enable the Renesas RPC SPI driver, used to access SPI NOR flash

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


[PATCH] spi: renesas: Make driver available on R-Car Gen4

2023-02-28 Thread Marek Vasut
Use CONFIG_RCAR_64 to make the driver available on both
R-Car Gen3 and R-Car Gen4.

Signed-off-by: Marek Vasut 
---
Cc: Geert Uytterhoeven 
Cc: Jagan Teki 
Cc: Simon Glass 
Cc: Tom Rini 
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index cdd2304aeb1..b1d4b6c5f89 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -381,7 +381,7 @@ config SPI_QUP
 
 config RENESAS_RPC_SPI
bool "Renesas RPC SPI driver"
-   depends on RCAR_GEN3 || RZA1
+   depends on RCAR_64 || RZA1
imply SPI_FLASH_BAR
help
  Enable the Renesas RPC SPI driver, used to access SPI NOR flash
-- 
2.39.2