Skip to content
Commit 02aea4da authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Daniel Schwierzeck
Browse files

gpio: mscc-bitbang-spi: Add a simple gpio driver for bitbgang spi



The VCore III SoCs such as the Luton but also the Ocelot can remap an SPI
flash directly in memory. However, for writing in the flash the
communication has to be done by software.

Each of the signal used for the SPI are exposed in a single register. In
order to be able to use the soft-spi driver, the management of this pin
is done through this simple gpio driver.

Even if the main purpose of this driver is to be used by soft-spi, it can
still be used as a normal gpio driver but with limitation: for example
the first pin can't be used as output.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Reviewed-by: Daniel Schwierzeck's avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
parent 53bdae24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment