Skip to content

Commit 7210087

Browse files
TerryGengkartben
authored andcommitted
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 89cb309 commit 7210087

File tree

2 files changed

+316
-46
lines changed

2 files changed

+316
-46
lines changed

drivers/spi/Kconfig.rpi_pico

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@ config SPI_RPI_PICO_PIO
99
select PICOSDK_USE_CLAIM
1010
select PINCTRL
1111
help
12-
Enable driving SPI via PIO on the Pico
12+
Enable driving SPI via PIO on the Raspberry Pi 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)