zephyr/drivers/spi/Kconfig.rpi_pico
Steve Boylan 85cbc7a96e drivers: spi: spi_pico_pio: Add basic support for SPI via PIO
Add fundamental feature support for RP2040 PIO SPI peripherals.
This commit implements synchronous transfer with 8-bit MSB
format.  Using PIO allows any GPIO pins to be assigned the roles
of CS, CLK, MOSI, and MISO.

Optional features not implemented yet:

  - Interrupt based transfer
  - DMA transfer
  - Slave mode
  - Varying word size
  - 3-wire SPI support
  - LSB-first

Updated in response to review comments.
Further updates from second round of review.
Rename spi_pico_pio.c source to match zephyr/MAINTAINERS.yml
Remove unnecessary initialization code.
Resolve merge conflicts

Signed-off-by: Steve Boylan <stephen.boylan@beechwoods.com>
2023-09-01 16:36:41 +02:00

12 lines
344 B
Plaintext

# Copyright (c) 2023 Stephen Boylan <stephen.boylan@beechwoods.com>
# SPDX-License-Identifier: Apache-2.0
config SPI_RPI_PICO_PIO
bool "Raspberry Pi PICO PIO SPI controller driver"
default y
depends on DT_HAS_RASPBERRYPI_PICO_SPI_PIO_ENABLED
select PICOSDK_USE_PIO
select PICOSDK_USE_CLAIM
help
Enable driving SPI via PIO on the PICO