diff options
author | Bert Vermeulen <bert@biot.com> | 2015-04-15 17:43:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-18 14:57:58 +0200 |
commit | 05aec357871f892eea91d8b808f96a6091dd5310 (patch) | |
tree | a51308d1be6148c3721b55425a89d612d9bc6e4d /drivers/spi/Kconfig | |
parent | Linux 4.0-rc1 (diff) | |
download | linux-05aec357871f892eea91d8b808f96a6091dd5310.tar.xz linux-05aec357871f892eea91d8b808f96a6091dd5310.zip |
spi: Add SPI driver for Mikrotik RB4xx series boards
This driver mediates access between the connected CPLD and other devices
on the bus.
The m25p80-compatible boot flash and (some models) MMC use regular SPI,
bitbanged as required by the SoC. However the SPI-connected CPLD has
a two-wire mode, in which two bits are transferred per SPI clock
cycle. The second bit is transmitted with the SoC's CS2 pin.
Signed-off-by: Bert Vermeulen <bert@biot.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index ab8dfbef6f1b..8b1beaf6c9e5 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -429,6 +429,12 @@ config SPI_ROCKCHIP The main usecase of this controller is to use spi flash as boot device. +config SPI_RB4XX + tristate "Mikrotik RB4XX SPI master" + depends on SPI_MASTER && ATH79 + help + SPI controller driver for the Mikrotik RB4xx series boards. + config SPI_RSPI tristate "Renesas RSPI/QSPI controller" depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST |