From 9c251fc9ac37211e06c57b1f2075f5318ca355b1 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Thu, 30 Jun 2022 09:51:19 +0200 Subject: [PATCH] nxp_imx: rt: add XBARA Inter-Peripheral Crossbar Switch Kconfig option Add missing MCUX XBARA module Kconfig option. Signed-off-by: Bartosz Bilas --- drivers/pinctrl/Kconfig.imx | 7 +++++++ modules/Kconfig.mcux | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/drivers/pinctrl/Kconfig.imx b/drivers/pinctrl/Kconfig.imx index df5afd99a58..b31a90e7291 100644 --- a/drivers/pinctrl/Kconfig.imx +++ b/drivers/pinctrl/Kconfig.imx @@ -6,3 +6,10 @@ config PINCTRL_IMX depends on HAS_MCUX_IOMUXC || HAS_IMX_IOMUXC help Enable pin controller driver for NXP iMX series MCUs + +# TODO: Find better place for this option +config MCUX_XBARA + bool "MCUX XBARA driver" + depends on HAS_MCUX_XBARA + help + Enable the MCUX XBARA driver. diff --git a/modules/Kconfig.mcux b/modules/Kconfig.mcux index 7e3b0ff4167..fdd1a5806b1 100644 --- a/modules/Kconfig.mcux +++ b/modules/Kconfig.mcux @@ -361,4 +361,9 @@ config HAS_MCUX_ADC_ETC Set if the ADC External Trigger Control module is present on the SoC. +config HAS_MCUX_XBARA + bool + help + Set if the XBARA module is present on the SoC. + endif # HAS_MCUX