Re: [PATCH 16/22] spi: remove spi-sh-sci

Geert Uytterhoeven
2023-01-13T08:50:43Z

On Fri, Jan 13, 2023 at 7:24 AM Christoph Hellwig <hch@lst.de> wrote:
> Now that arch/sh is removed this driver is dead code.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/spi/Kconfig | 7 --
> drivers/spi/Makefile | 1 -
> drivers/spi/spi-sh-sci.c | 197 ---------------------------------------
> 3 files changed, 205 deletions(-)
> delete mode 100644 drivers/spi/spi-sh-sci.c
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 7508dcef909c78..76f3bc6f8c81fc 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -882,13 +882,6 @@ config SPI_SH_MSIOF
> help
> SPI driver for SuperH and SH Mobile MSIOF blocks.
>
> -config SPI_SH_SCI
> - tristate "SuperH SCI SPI controller"
> - depends on SUPERH
> - select SPI_BITBANG
> - help
> - SPI driver for SuperH SCI blocks.

This driver uses the Serial Communications Interface (SCI, cfr.
drivers/tty/serial/sh-sci.c) in SPI mode. Hence in theory it could be
used on a variety of Renesas ARM SoCs, and even on RZ/Five.
Again, no DT support.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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