soc: nxp: imxrt11xx: select CONFIG_HAS_MCUX_ADC_ETC

On NXP RT1170 SOC, ADC ETC exists but it can not be enabled because
of dependency on HAS_MCUX_ADC_ETC.
Also, ADC ETC should only work with ADC together, there is no use
case to run it standalone.
Fixes:#81466

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
This commit is contained in:
Raymond Lei 2024-11-15 14:20:03 -06:00 committed by Benjamin Cabé
commit 0db1c07bf0
2 changed files with 3 additions and 0 deletions

View file

@ -37,11 +37,13 @@ config ADC_MCUX_LPADC
help
Enable the MCUX LPADC driver.
if ADC_MCUX_12B1MSPS_SAR || ADC_MCUX_LPADC
config ADC_MCUX_ETC
bool "MCUX ADC ETC driver"
depends on HAS_MCUX_ADC_ETC
help
Enable the MCUX ADC ETC driver.
endif
config ADC_MCUX_GAU
bool "MCUX GAU ADC driver"

View file

@ -15,6 +15,7 @@ config SOC_SERIES_IMXRT11XX
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS_MCUX_LPADC
select HAS_MCUX_ADC_ETC
select HAS_MCUX_LPUART
select HAS_MCUX_ELCDIF
select HAS_MCUX_MIPI_DSI