zephyr/drivers/sdhc/Kconfig.mcux_sdif
Gerard Marull-Paretas 989d103d53 drivers: all: mcux: remove conditional support for pinctrl
The MCUX platform always uses pinctrl, there's no need to keep extra
macrology around pinctrl. Also updated driver's Kconfig options to
`select PINCTRL` (note that some already did).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-04-24 13:34:22 +02:00

37 lines
763 B
Plaintext

# Copyright 2022, NXP
# SPDX -License-Identifier: Apache-2.0
config MCUX_SDIF
bool "NXP MCUX SDIF Driver"
default y
depends on DT_HAS_NXP_LPC_SDIF_ENABLED
select SDHC_SUPPORTS_NATIVE_MODE
select PINCTRL
help
Enable the NXP SDIF Host controller driver
if MCUX_SDIF
config MCUX_SDIF_DMA_SUPPORT
bool "DMA support for MCUX SDIF driver"
default y
help
Enable DMA support for MCUX SDIF driver. May be disabled to reduce
footprint of driver.
if MCUX_SDIF_DMA_SUPPORT
# SDIF DMA needs 32 bit aligned buffers
config SDHC_BUFFER_ALIGNMENT
default 4
config MCUX_SDIF_DMA_BUFFER_SIZE
int "Size of DMA descriptor buffer in bytes"
default 256
help
Size of MCUX SDIF DMA descriptor buffer in bytes
endif #MCUX_SDIF_DMA_SUPPORT
endif #MCUX_SDIF