Skip to content

Commit 5e3a432

Browse files
decsnyjhedberg
authored andcommitted
adc: Remove CONFIG_ADC_MCUX_ETC
This Kconfig does not belong in the ADC folder, because there is not actually a zephyr ADC driver for this. Also, remove HAS_MCUX_ADC_ETC as well because it is a useless config. The cmake line to pull in this driver from the SDK in the zephyr repo is totally unnecessary. If a user wants to use this SDK driver they can add it to their build like any other SDK driver or any other external code module. Zephyr should not be a cesspool of random build glue for random pieces of code. Signed-off-by: Declan Snyder <[email protected]>
1 parent 6b7a6d6 commit 5e3a432

File tree

5 files changed

+0
-17
lines changed

5 files changed

+0
-17
lines changed

drivers/adc/Kconfig.mcux

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

40-
if ADC_MCUX_12B1MSPS_SAR || ADC_MCUX_LPADC
41-
config ADC_MCUX_ETC
42-
bool "MCUX ADC ETC driver"
43-
depends on HAS_MCUX_ADC_ETC
44-
help
45-
Enable the MCUX ADC ETC driver.
46-
endif
47-
4840
config ADC_MCUX_GAU
4941
bool "MCUX GAU ADC driver"
5042
default y

modules/hal_nxp/mcux/Kconfig.mcux

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ config HAS_MCUX_MCX_CMC
6969
Set if the Core Mode Controller (CMC) module is present in
7070
the SoC.
7171

72-
config HAS_MCUX_ADC_ETC
73-
bool
74-
help
75-
Set if the ADC External Trigger Control module is present
76-
on the SoC.
77-
7872
config HAS_MCUX_XCACHE
7973
bool
8074
help

modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ set_variable_ifdef(CONFIG_IMX_USDHC CONFIG_MCUX_COMPONENT_driver.usd
117117
set_variable_ifdef(CONFIG_MIPI_DSI_MCUX CONFIG_MCUX_COMPONENT_driver.mipi_dsi_split)
118118
set_variable_ifdef(CONFIG_MIPI_DSI_MCUX_2L CONFIG_MCUX_COMPONENT_driver.mipi_dsi)
119119
set_variable_ifdef(CONFIG_MCUX_SDIF CONFIG_MCUX_COMPONENT_driver.sdif)
120-
set_variable_ifdef(CONFIG_ADC_MCUX_ETC CONFIG_MCUX_COMPONENT_driver.adc_etc)
121120
set_variable_ifdef(CONFIG_MCUX_XBARA CONFIG_MCUX_COMPONENT_driver.xbara)
122121
set_variable_ifdef(CONFIG_MCUX_XBARB CONFIG_MCUX_COMPONENT_driver.xbarb)
123122
set_variable_ifdef(CONFIG_QDEC_MCUX CONFIG_MCUX_COMPONENT_driver.enc)

soc/nxp/imxrt/imxrt10xx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ config SOC_MIMXRT1062
5454
select HAS_MCUX_SEMC
5555
select CPU_HAS_FPU_DOUBLE_PRECISION
5656
select CPU_HAS_ARM_MPU
57-
select HAS_MCUX_ADC_ETC
5857
select HAS_MCUX_SRC
5958

6059
config SOC_MIMXRT1064

soc/nxp/imxrt/imxrt11xx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config SOC_SERIES_IMXRT11XX
1010
select HAS_MCUX_CACHE
1111
select HAS_MCUX
1212
select HAS_MCUX_SEMC
13-
select HAS_MCUX_ADC_ETC
1413
select HAS_MCUX_FLEXSPI
1514
select CPU_HAS_ARM_MPU
1615
select CPU_HAS_ICACHE if CPU_CORTEX_M7

0 commit comments

Comments
 (0)