]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: npcm-fiu: add NPCM FIU controller driver
authorTomer Maimon <tmaimon77@gmail.com>
Wed, 28 Aug 2019 14:25:13 +0000 (17:25 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 11:42:07 +0000 (12:42 +0100)
commitace55c411b11d9b12f500c7433bf469c26130182
tree54ce8e2d53b95d17293b1f742ac0ea585302380b
parent91d0c59f460fd61db977d35b0d7c057128e7f7b7
spi: npcm-fiu: add NPCM FIU controller driver

Add Nuvoton NPCM BMC Flash Interface Unit(FIU) SPI master
controller driver using SPI-MEM interface.

The FIU supports single, dual or quad communication interface.

the FIU controller can operate in following modes:
- User Mode Access(UMA): provides flash access by using an
  indirect address/data mechanism.
- direct rd/wr mode: maps the flash memory into the core
  address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/20190828142513.228556-3-tmaimon77@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-npcm-fiu.c [new file with mode: 0644]