diff options
| author | Bhargav Shah <[email protected]> | 2019-07-17 04:23:43 +0000 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-07-18 17:11:16 +0530 |
| commit | a2f32bfdd3673706dcda9da2e2fb3a908affcba4 (patch) | |
| tree | 931ef9bc3140598ac0e86e11464336f0104bfa3b /drivers/spi/Kconfig | |
| parent | a706029410228dbe43345b1dce0ee6a002a63c8b (diff) | |
spi: Add SiFive SPI driver
This patch adds SiFive SPI driver. The driver is 100% DM driver
and it determines input clock using clk framework.
The SiFive SPI block is found on SiFive FU540 SOC and is used to
access flash and MMC devices on SiFive Unleashed board.
This driver implementation is inspired from the Linux SiFive SPI
driver available in Linux-5.2 or higher and SiFive FSBL sources.
Signed-off-by: Bhargav Shah <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'drivers/spi/Kconfig')
| -rw-r--r-- | drivers/spi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index cc174dd0363..2ee0ac976d4 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -232,6 +232,14 @@ config SANDBOX_SPI }; }; +config SPI_SIFIVE + bool "SiFive SPI driver" + help + This driver supports the SiFive SPI IP. If unsure say N. + Enable the SiFive SPI controller driver. + + The SiFive SPI controller driver is found on various SiFive SoCs. + config SPI_SUNXI bool "Allwinner SoC SPI controllers" help |
