Browse Source

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>
pull/82624/head
Raymond Lei 8 months ago committed by Benjamin Cabé
parent
commit
0db1c07bf0
  1. 2
      drivers/adc/Kconfig.mcux
  2. 1
      soc/nxp/imxrt/imxrt11xx/Kconfig

2
drivers/adc/Kconfig.mcux

@ -37,11 +37,13 @@ config ADC_MCUX_LPADC @@ -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"

1
soc/nxp/imxrt/imxrt11xx/Kconfig

@ -15,6 +15,7 @@ config SOC_SERIES_IMXRT11XX @@ -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

Loading…
Cancel
Save