drivers: adc: Rename gecko IADC config option

Renamed CONFIG_ADC_GECKO to CONFIG_IADC_GECKO to eliminate confusion
between the Incremental ADC found on series 2 silabs gecko MCUs, and the
ADC found on earlier gecko series.

Signed-off-by: Jared Baumann <jared.baumann8@t-mobile.com>
This commit is contained in:
Jared Baumann 2023-04-25 15:34:50 +00:00 committed by Fabio Baltieri
parent 4d2819ecca
commit 26ee337517
2 changed files with 2 additions and 2 deletions

View file

@ -34,5 +34,5 @@ zephyr_library_sources_ifdef(CONFIG_ADC_ADS114S0X adc_ads114s0x.c)
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ESP32 adc_esp32.c)
zephyr_library_sources_ifdef(CONFIG_ADC_GECKO iadc_gecko.c)
zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_IADC iadc_gecko.c)
zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_CAT1 adc_ifx_cat1.c)

View file

@ -3,7 +3,7 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
config ADC_GECKO
config ADC_GECKO_IADC
bool "Gecko Incremental ADC driver"
default y
depends on DT_HAS_SILABS_GECKO_IADC_ENABLED