Skip to content

Commit 7e8a312

Browse files
galakmmahadevan108
authored andcommitted
adc: remove Kconfig.defconfig setting of ADC drivers
Now that ADC drivers are enabled based on devicetree we need to remove any cases of them getting enabled by Kconfig.defconfig* files as this can lead to errors. Typically the Kconfig.defconfig* will blindly enable a sensor and not respect the devicetree state of the ADC. Additionally we can get problems with prj.conf/defconfig getting incorrectly overridden. Signed-off-by: Kumar Gala <[email protected]>
1 parent 66e4a4d commit 7e8a312

33 files changed

+0
-117
lines changed

boards/riscv/tlsr9518adk80d/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ config IEEE802154_TELINK_B91
1818
config NET_CONFIG_IEEE802154_DEV_NAME
1919
default "IEEE802154_b91"
2020

21-
config ADC_TELINK_B91
22-
default y if ADC
23-
2421
if BT
2522

2623
# BLE Controller SDK from hal_telink requires

boards/shields/lmp90100_evb/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if ADC
88
config SPI
99
default y
1010

11-
config ADC_LMP90XXX
12-
default y
13-
1411
config ADC_LMP90XXX_GPIO
1512
default y
1613

boards/shields/mikroe_adc_click/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if ADC
88
config SPI
99
default y
1010

11-
config ADC_MCP320X
12-
default y
13-
1411
config ADC_INIT_PRIORITY
1512
default 80
1613

soc/arm/atmel_sam/same70/Kconfig.defconfig.series

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ config DMA_SAM_XDMAC
4545
default y
4646
depends on DMA
4747

48-
config ADC_SAM_AFEC
49-
default y
50-
depends on ADC
51-
5248
config I2S_SAM_SSC
5349
default y
5450
depends on I2S

soc/arm/atmel_sam/samv71/Kconfig.defconfig.series

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ config DMA_SAM_XDMAC
4646
default y
4747
depends on DMA
4848

49-
config ADC_SAM_AFEC
50-
default y
51-
depends on ADC
52-
5349
config I2S_SAM_SSC
5450
default y
5551
depends on I2S

soc/arm/atmel_sam0/common/Kconfig.defconfig.series

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
if SOC_FAMILY_SAM0
77

8-
config ADC_SAM0
9-
default ADC
10-
118
config COUNTER_SAM0_TC32
129
default COUNTER
1310

soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ config PINMUX_XEC
1515
config GPIO
1616
default y
1717

18-
config ADC_XEC
19-
default y
20-
depends on ADC
21-
2218
config ESPI_XEC
2319
default y
2420
depends on ESPI

soc/arm/microchip_mec/mec172x/Kconfig.defconfig.mec172xnsz

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ config PINMUX_XEC
1515
default y
1616
depends on PINMUX
1717

18-
config ADC_XEC_V2
19-
default y
20-
depends on ADC
21-
2218
config ESPI_XEC_V2
2319
default y
2420
depends on ESPI

soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ config NUM_IRQS
1414
config CORTEX_M_SYSTICK
1515
default !NPCX_ITIM_TIMER
1616

17-
config ADC_NPCX
18-
default y
19-
depends on ADC
20-
2117
config WDT_NPCX
2218
default y
2319
depends on WATCHDOG

soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ config NUM_IRQS
1414
config CORTEX_M_SYSTICK
1515
default !NPCX_ITIM_TIMER
1616

17-
config ADC_NPCX
18-
default y
19-
depends on ADC
20-
2117
config WDT_NPCX
2218
default y
2319
depends on WATCHDOG

0 commit comments

Comments
 (0)