Skip to content

Commit a718b84

Browse files
decsnykartben
authored andcommitted
spi_nxp_lpspi: Fix Kconfig description
The Kconfig description is wrong, this driver can be used with or without RTIO. Also, rename the kconfig to be less confusing, as _NORMAL is meaningless, this is the CPU/interrupt based driver. Signed-off-by: Declan Snyder <[email protected]>
1 parent 2a35835 commit a718b84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright 2024 NXP
22

33
zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_LPSPI spi_nxp_lpspi_common.c)
4-
zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_LPSPI_NORMAL spi_nxp_lpspi.c)
4+
zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_LPSPI_CPU spi_nxp_lpspi.c)
55
zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_LPSPI_DMA spi_nxp_lpspi_dma.c)

drivers/spi/spi_nxp_lpspi/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ config SPI_MCUX_LPSPI_DMA
2020
Enable the SPI DMA mode for SPI instances
2121
that enable dma channels in their device tree node.
2222

23-
config SPI_MCUX_LPSPI_NORMAL
23+
config SPI_MCUX_LPSPI_CPU
2424
bool "NXP MCUX LPSPI driver"
2525
default y
2626
depends on $(dt_compat_any_not_has_prop,$(DT_COMPAT_NXP_LPSPI),dmas) || !SPI_MCUX_LPSPI_DMA
2727
help
28-
Use the traditional (non-RTIO) SPI driver for NXP LPSPI.
28+
Use the CPU-based LPSPI driver.
2929

3030
endif # SPI_MCUX_LPSPI

0 commit comments

Comments
 (0)