Skip to content

Commit

Permalink
driver: adc: kconfig
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. The expectation is when CONFIG_ADC=y,
ADC ETC should be enabled automatically if it exists.
Fixes:#81466

Signed-off-by: Raymond Lei <[email protected]>
  • Loading branch information
Raymond0225 committed Nov 15, 2024
1 parent 659eec8 commit 49d082e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ config ADC_MCUX_LPADC
select ADC_CONFIGURABLE_INPUTS
select REGULATOR
select PINCTRL
imply ADC_MCUX_ETC
depends on DT_HAS_NXP_LPC_LPADC_ENABLED
help
Enable the MCUX LPADC 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 49d082e

Please sign in to comment.