spi: npcm-fiu: add NPCM7xx FIU controller driver
authorJim Liu <JJLIU0@nuvoton.com>
Tue, 26 Apr 2022 08:52:45 +0000 (16:52 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 3 May 2022 12:19:48 +0000 (17:49 +0530)
commitaaf2dbc82bef51962c80ad98dea5dc9adf7d5f6b
tree365efef65b0806dc68b861b9582e0cb811db7762
parentf9b96413483c37d30de1a0b62337dc1c790f210c
spi: npcm-fiu: add NPCM7xx 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 driver provides flash access in UMA(User
Mode Access) mode by using an indirect address/data mechanism.

the dts node is followed upstream kernel dts name.

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
[Jagan: fixed the Kconfig, Makefile order]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/npcm_fiu_spi.c [new file with mode: 0644]