]> git.karo-electronics.de Git - linux-beck.git/commit
spi: Add SPI driver for Mikrotik RB4xx series boards
authorBert Vermeulen <bert@biot.com>
Wed, 15 Apr 2015 15:43:52 +0000 (17:43 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 18 Apr 2015 12:57:58 +0000 (13:57 +0100)
commit05aec357871f892eea91d8b808f96a6091dd5310
treea51308d1be6148c3721b55425a89d612d9bc6e4d
parentc517d838eb7d07bbe9507871fab3931deccff539
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>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-rb4xx.c [new file with mode: 0644]