Messages in this thread | | | From | <> | Subject | Re: [PATCH] Add spi-nor driver for Realtek RTL838x/RTL839x switch SoCs | Date | Wed, 16 Dec 2020 08:30:34 +0000 |
| |
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@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
| |