summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2015-04-15 17:43:52 +0200
committerMark Brown <broonie@kernel.org>2015-04-18 13:57:58 +0100
commit05aec357871f892eea91d8b808f96a6091dd5310 (patch)
treea51308d1be6148c3721b55425a89d612d9bc6e4d /drivers/spi/Kconfig
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadop-kernel-dev-05aec357871f892eea91d8b808f96a6091dd5310.zip
op-kernel-dev-05aec357871f892eea91d8b808f96a6091dd5310.tar.gz
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/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index ab8dfbe..8b1beaf6 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
OpenPOWER on IntegriCloud