From 3efd339e7e53be359ab54e4aeb4619338fb082c9 Mon Sep 17 00:00:00 2001 From: Maureen Helm Date: Sun, 30 Jun 2019 10:44:09 -0500 Subject: [PATCH] soc: nxp_lpc: Enable the mcux flexcomm spi driver Enables the mcux flexcomm spi driver on lpc54xxx and lpc55xxx socs. Signed-off-by: Maureen Helm --- soc/arm/nxp_lpc/Kconfig.defconfig | 7 +++++++ soc/arm/nxp_lpc/lpc54xxx/Kconfig.series | 1 + soc/arm/nxp_lpc/lpc55xxx/Kconfig.series | 1 + 3 files changed, 9 insertions(+) diff --git a/soc/arm/nxp_lpc/Kconfig.defconfig b/soc/arm/nxp_lpc/Kconfig.defconfig index d702a25a214..a6a7e88ab78 100644 --- a/soc/arm/nxp_lpc/Kconfig.defconfig +++ b/soc/arm/nxp_lpc/Kconfig.defconfig @@ -2,3 +2,10 @@ # SPDX-License-Identifier: Apache-2.0 source "soc/arm/nxp_lpc/*/Kconfig.defconfig.series" + +if SPI + +config SPI_MCUX_FLEXCOMM + default y if HAS_MCUX_FLEXCOMM + +endif # SPI diff --git a/soc/arm/nxp_lpc/lpc54xxx/Kconfig.series b/soc/arm/nxp_lpc/lpc54xxx/Kconfig.series index 31c4c36ab32..db611a0d507 100644 --- a/soc/arm/nxp_lpc/lpc54xxx/Kconfig.series +++ b/soc/arm/nxp_lpc/lpc54xxx/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_LPC54XXX bool "LPC LPC54xxx Series MCU" select HAS_MCUX + select HAS_MCUX_FLEXCOMM select SOC_FAMILY_LPC select CPU_CORTEX_M_HAS_SYSTICK help diff --git a/soc/arm/nxp_lpc/lpc55xxx/Kconfig.series b/soc/arm/nxp_lpc/lpc55xxx/Kconfig.series index 778679b6bb4..1749e5c467a 100644 --- a/soc/arm/nxp_lpc/lpc55xxx/Kconfig.series +++ b/soc/arm/nxp_lpc/lpc55xxx/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_LPC55XXX bool "LPC5500 Series Family MCU" select HAS_MCUX + select HAS_MCUX_FLEXCOMM select SOC_FAMILY_LPC select CPU_CORTEX_M_HAS_SYSTICK help