Skip to content

Commit 0db1c07

Browse files
Raymond0225kartben
authored andcommitted
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>
1 parent f84dadd commit 0db1c07

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/adc/Kconfig.mcux

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ config ADC_MCUX_LPADC
3737
help
3838
Enable the MCUX LPADC driver.
3939

40+
if ADC_MCUX_12B1MSPS_SAR || ADC_MCUX_LPADC
4041
config ADC_MCUX_ETC
4142
bool "MCUX ADC ETC driver"
4243
depends on HAS_MCUX_ADC_ETC
4344
help
4445
Enable the MCUX ADC ETC driver.
46+
endif
4547

4648
config ADC_MCUX_GAU
4749
bool "MCUX GAU ADC driver"

soc/nxp/imxrt/imxrt11xx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ config SOC_SERIES_IMXRT11XX
1515
select HAS_MCUX_LPI2C
1616
select HAS_MCUX_LPSPI
1717
select HAS_MCUX_LPADC
18+
select HAS_MCUX_ADC_ETC
1819
select HAS_MCUX_LPUART
1920
select HAS_MCUX_ELCDIF
2021
select HAS_MCUX_MIPI_DSI

0 commit comments

Comments
 (0)