]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Add HiSilicon v3xx SPI NOR flash controller driver
authorJohn Garry <john.garry@huawei.com>
Mon, 9 Dec 2019 14:08:09 +0000 (22:08 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jan 2020 14:14:34 +0000 (14:14 +0000)
commit3cd930e5c14a930c482c3a8f0ccef8cce15f0c2c
treeaa4e3111c2adec58df2bf697317ffaee9357e9f9
parented7feb5288629455631c5710d0893b8476d206e5
spi: Add HiSilicon v3xx SPI NOR flash controller driver

Add the driver for the HiSilicon v3xx SPI NOR flash controller, commonly
found in hi16xx chipsets.

This is a different controller than that in drivers/mtd/spi-nor/hisi-sfc.c;
indeed, the naming for that driver is poor, since it is really known as
FMC, and can support other memory technologies.

The driver module name is "hisi-sfc-v3xx", as recommended by HW designer,
being an attempt to provide a distinct name - v3xx being the unique
controller versioning.

Only ACPI firmware is supported.

DMA is not supported, and we just use polling mode for operation
completion notification.

The driver uses the SPI MEM OPs.

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1575900490-74467-3-git-send-email-john.garry@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-hisi-sfc-v3xx.c [new file with mode: 0644]