spi: mcux: Rename spi driver to DSPI to match naming convention
In prep for supporting the older KL2x SoCs that use a different SPI block, rename the current SPI driver to DSPI to match what the MCUX HAL defines it as. Change-Id: I9097580df5fca649ab6fd9a38212fced0b1ea6ed Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
fedf497b03
commit
83d8ffb2a0
6 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ config SPI
|
|||
|
||||
if SPI
|
||||
|
||||
config SPI_MCUX
|
||||
config SPI_MCUX_DSPI
|
||||
def_bool y
|
||||
|
||||
endif # SPI
|
||||
|
|
|
@ -263,6 +263,6 @@ config SPI_SS_1_CS_GPIO_PIN
|
|||
|
||||
source "drivers/spi/Kconfig.dw"
|
||||
|
||||
source "drivers/spi/Kconfig.mcux"
|
||||
source "drivers/spi/Kconfig.mcux_dspi"
|
||||
|
||||
endif # SPI
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
menuconfig SPI_MCUX
|
||||
menuconfig SPI_MCUX_DSPI
|
||||
bool
|
||||
prompt "MCUX SPI driver"
|
||||
depends on SPI && HAS_MCUX
|
||||
|
@ -14,7 +14,7 @@ menuconfig SPI_MCUX
|
|||
help
|
||||
Enable support for mcux spi driver.
|
||||
|
||||
if SPI_MCUX
|
||||
if SPI_MCUX_DSPI
|
||||
|
||||
config SPI_MCUX_BUF_SIZE
|
||||
int "Number of bytes in the local buffer"
|
||||
|
@ -33,4 +33,4 @@ config SPI_MCUX_DUMMY_CHAR
|
|||
This option configures what value to send when the tx buffer length is
|
||||
less than the rx buffer length.
|
||||
|
||||
endif # SPI_MCUX
|
||||
endif # SPI_MCUX_DSPI
|
|
@ -1,5 +1,5 @@
|
|||
obj-$(CONFIG_SPI_INTEL) += spi_intel.o
|
||||
obj-$(CONFIG_SPI_DW) += spi_dw.o
|
||||
obj-$(CONFIG_SPI_MCUX) += spi_mcux.o
|
||||
obj-$(CONFIG_SPI_MCUX_DSPI) += spi_mcux_dspi.o
|
||||
obj-$(CONFIG_SPI_QMSI) += spi_qmsi.o
|
||||
obj-$(CONFIG_SPI_QMSI_SS) += spi_qmsi_ss.o
|
||||
|
|
|
@ -9,6 +9,6 @@ obj-$(CONFIG_I2C_MCUX) += fsl_i2c.o
|
|||
obj-$(CONFIG_RANDOM_MCUX_RNGA) += fsl_rnga.o
|
||||
obj-$(CONFIG_RANDOM_MCUX_TRNG) += fsl_trng.o
|
||||
obj-$(CONFIG_SOC_FLASH_MCUX) += fsl_flash.o
|
||||
obj-$(CONFIG_SPI_MCUX) += fsl_dspi.o
|
||||
obj-$(CONFIG_SPI_MCUX_DSPI) += fsl_dspi.o
|
||||
obj-$(CONFIG_UART_MCUX) += fsl_uart.o
|
||||
obj-$(CONFIG_UART_MCUX_LPUART) += fsl_lpuart.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue