diff options
author | David Lechner <[email protected]> | 2023-11-17 14:13:05 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-11-20 13:29:15 +0000 |
commit | d861b417e1893a46c63cef2cb46d3587da1e5b15 (patch) | |
tree | 27d008a7e5f334ff51d7376b06909e96c07b8a8b /scripts/generate_rust_analyzer.py | |
parent | 145bb2aedb9f78f290c2b5503b553894a6ec53fe (diff) |
spi: axi-spi-engine: add support for any word size
The AXI SPI Engine IP supports any word size from 1 to 32 bits. This
adds support for this by setting the bits_per_word_mask and emitting
the appropriate instruction to the SPI Engine each time a transfer
requires a new word size.
The functions that transfer tx/rx buffers from/to the SPI Engine
registers (spi_engine_write_{tx,rx}_fifo()) as well as the function that
creates the transfer instruction (spi_engine_gen_xfer()) also have to be
modified to take into account the word size since xfer->len is the
size of the buffers in bytes rather than words.
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions