[PATCH] Add spi-nor driver for Realtek RTL838x/RTL839x switch SoCs

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Wed Dec 16 03:30:34 EST 2020


On 12/15/20 11:46 PM, Bert Vermeulen wrote:
> This driver supports the spiflash core in all RTL838x/RTL839x SoCs,
> and likely some older models as well (RTL8196C).
> 
Can we use SPIMEM and move this under drivers/spi/ instead?

Cheers,
ta

> Signed-off-by: Bert Vermeulen <bert at biot.com>
> ---
>  drivers/mtd/spi-nor/controllers/Kconfig       |   7 +
>  drivers/mtd/spi-nor/controllers/Makefile      |   1 +
>  .../spi-nor/controllers/rtl8380-spiflash.c    | 347 ++++++++++++++++++
>  .../spi-nor/controllers/rtl8380-spiflash.h    |  34 ++
>  4 files changed, 389 insertions(+)
>  create mode 100644 drivers/mtd/spi-nor/controllers/rtl8380-spiflash.c
>  create mode 100644 drivers/mtd/spi-nor/controllers/rtl8380-spiflash.h



More information about the linux-mtd mailing list