drivers: spi: Add support for Apollo3 SoCs SPI
This commit adds support for the SPI which can be found in Apollo3 SoCs, it can work in both DMA and non-DMA modes Signed-off-by: Hao Luo <hluo@ambiq.com>
This commit is contained in:
parent
ccc570f0c1
commit
524ea22952
8 changed files with 429 additions and 67 deletions
|
@ -15,6 +15,19 @@ config SPI_AMBIQ
|
|||
help
|
||||
Enable driver for Ambiq SPI.
|
||||
|
||||
config SPI_AMBIQ_DMA
|
||||
bool "AMBIQ APOLLO SPI DMA Support"
|
||||
depends on SPI_AMBIQ
|
||||
help
|
||||
Enable DMA for Ambiq SPI.
|
||||
|
||||
config SPI_DMA_TCB_BUFFER_SIZE
|
||||
int "DMA Transfer Control Buffer size in words."
|
||||
default 1024
|
||||
depends on SPI_AMBIQ_DMA
|
||||
help
|
||||
DMA Transfer Control Buffer size in words
|
||||
|
||||
config MSPI_AMBIQ
|
||||
bool "AMBIQ MSPI driver"
|
||||
default y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue