zephyr/drivers/spi/Kconfig.pl022
TOKITA Hiroshi da6bf19560 drivers: spi: pl022: Enable PINCTRL conjuction with dt prop 'pinctrl-0'
If there is a pinctrl-0 property, PINCTRL will be enabled in
conjunction with it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-01-27 11:02:23 +01:00

23 lines
519 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_compat_any_has_prop,$(DT_COMPAT_ARM_PL022),pinctrl-0)
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