diff options
author | 2025-04-30 23:33:59 +0900 | |
---|---|---|
committer | 2025-04-30 23:33:59 +0900 | |
commit | a7f035c2c72496cf7ac34bfaa8c289e0d4c45836 (patch) | |
tree | 1962110083a27f50a6b0f08d44e6f225e6bd7cbd /scripts/lib/kdoc/kdoc_files.py | |
parent | Configure Clocks, Add Internal DMA support (diff) | |
parent | spi: axi-spi-engine: omit SYNC from offload instructions (diff) | |
download | wireguard-linux-a7f035c2c72496cf7ac34bfaa8c289e0d4c45836.tar.xz wireguard-linux-a7f035c2c72496cf7ac34bfaa8c289e0d4c45836.zip |
spi: axi-spi-engine: offload instruction optimization
Merge series from David Lechner <dlechner@baylibre.com>:
In order to achieve a 4 MSPS rate on a 16-bit ADC with a 80 MHz SCLK
using the SPI offload feature of the AXI SPI Engine, we need to shave
off some time that is spent executing unnecessary instructions. There
are a few one-time setup instructions that can be moved so that they
execute only once when the SPI offload trigger is enabled rather than
repeating each time the offload is triggered. Additionally, a recent
change to the IP block allows dropping the SYNC instruction completely.
With these changes, we are left with only the 3 instructions that are
needed to to assert CS, transfer the data, and deassert CS. This makes
3 + 16 * 12.5 ns = 237.5 ns < 250 ns which is comfortably within the
available time period.
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions