zephyr/drivers/spi/Kconfig.pl022
TOKITA Hiroshi 88149afff7 soc: raspberrypi: Drop PINCTRL from Kconfig.defconfig
The `Kconfig.defconfig` is not good place for put `select PINCTRL`.
Drop `select PINCTL` from `Kconfig.defconfig` and add it at each
driver's Kconfig.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-11-25 14:42:01 +01:00

23 lines
496 B
Text

# Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0
config SPI_PL022
default y
depends on DT_HAS_ARM_PL022_ENABLED
select PINCTRL if DT_HAS_RASPBERRYPI_PICO_SPI_ENABLED
bool "ARM PL022 SPI driver"
if SPI_PL022
config SPI_PL022_INTERRUPT
bool "PL022 interrupt mode"
help
Enables interrupt support for PL022 SPI driver.
config SPI_PL022_DMA
bool "PL022 DMA mode"
select DMA
help
Enables DMA support for PL022 SPI driver.
endif