From c343da51612dbdc40902a29e5898846eb91effce Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Tue, 24 May 2022 14:09:53 +0200 Subject: [PATCH] nxp_imx: rt: add ADC External Trigger Control Kconfig option Add missing ADC External Trigger Control module Kconfig option. Signed-off-by: Bartosz Bilas --- drivers/adc/Kconfig.mcux | 6 ++++++ modules/Kconfig.mcux | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/drivers/adc/Kconfig.mcux b/drivers/adc/Kconfig.mcux index 6e80b068e69..c43aa29ded6 100644 --- a/drivers/adc/Kconfig.mcux +++ b/drivers/adc/Kconfig.mcux @@ -29,6 +29,12 @@ config ADC_MCUX_LPADC help Enable the MCUX LPADC driver. +config ADC_MCUX_ETC + bool "MCUX ADC ETC driver" + depends on HAS_MCUX_ADC_ETC + help + Enable the MCUX ADC ETC driver. + if ADC_MCUX_ADC16 choice diff --git a/modules/Kconfig.mcux b/modules/Kconfig.mcux index 47a24daf455..7e3b0ff4167 100644 --- a/modules/Kconfig.mcux +++ b/modules/Kconfig.mcux @@ -355,4 +355,10 @@ config HAS_MCUX_MCAN help Set if the MCAN module is present on the SoC. +config HAS_MCUX_ADC_ETC + bool + help + Set if the ADC External Trigger Control module is present + on the SoC. + endif # HAS_MCUX