diff options
author | Stefan Roese <[email protected]> | 2016-05-19 09:07:05 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-05-30 17:01:20 +0100 |
commit | b3c195b3a75b0aff9ede850ba2208cd1f40a702b (patch) | |
tree | 8b4fda2c2ab5fb2ae01bf2326bd93be639f35b08 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
spi: orion: Add direct access mode
This patch adds support for the direct access mode to the Orion SPI
driver which is used on the Marvell Armada based SoCs. In this direct
mode, all data written to (or read from) a specifically mapped MBus
window (linked to one SPI chip-select on one of the SPI controllers)
will be transferred directly to the SPI bus. Without the need to control
the SPI registers in between. This can improve the SPI transfer rate in
such cases.
Both, direct-read and -write mode are supported. But only the write
mode has been tested. This mode especially benefits from the SPI direct
mode, as the data bytes are written head-to-head to the SPI bus,
without any additional addresses.
One use-case for this direct write mode is, programming a FPGA bitstream
image into the FPGA connected to the SPI bus at maximum speed.
This mode is described in chapter "22.5.2 Direct Write to SPI" in the
Marvell Armada XP Functional Spec Datasheet.
Signed-off-by: Stefan Roese <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions