Skip to content

Commit 32295f3

Browse files
committed
drivers: spi: spi_pico_pio: Implement DMA support for 4-wire operation
This commit largely mirrors the approach of implementing DMA in the pl022 driver. Signed-off-by: Terry Geng <[email protected]>
1 parent 19c6240 commit 32295f3

File tree

2 files changed

+319
-44
lines changed

2 files changed

+319
-44
lines changed

drivers/spi/Kconfig.rpi_pico

+9
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ config SPI_RPI_PICO_PIO
1010
select PINCTRL
1111
help
1212
Enable driving SPI via PIO on the PICO
13+
14+
if SPI_RPI_PICO_PIO
15+
16+
config SPI_RPI_PICO_PIO_DMA
17+
bool "Raspberry Pi PICO PIO SPI DMA mode"
18+
select DMA
19+
help
20+
Enables DMA support for Raspberry Pi PICO PIO SPI driver.
21+
endif

0 commit comments

Comments
 (0)