Skip to content

Commit

Permalink
soc: nxp: imxrt11xx: select CONFIG_HAS_MCUX_ADC_ETC
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Raymond0225 authored and kartben committed Dec 7, 2024
1 parent f84dadd commit 0db1c07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/adc/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions soc/nxp/imxrt/imxrt11xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0db1c07

Please sign in to comment.