From 26ee3375170120ba90814261da3de6a3fd746715 Mon Sep 17 00:00:00 2001 From: Jared Baumann Date: Tue, 25 Apr 2023 15:34:50 +0000 Subject: [PATCH] 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 --- drivers/adc/CMakeLists.txt | 2 +- drivers/adc/Kconfig.gecko | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/adc/CMakeLists.txt b/drivers/adc/CMakeLists.txt index b41100e89f..de4d2699e9 100644 --- a/drivers/adc/CMakeLists.txt +++ b/drivers/adc/CMakeLists.txt @@ -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) diff --git a/drivers/adc/Kconfig.gecko b/drivers/adc/Kconfig.gecko index 278684b63c..72de957c9a 100644 --- a/drivers/adc/Kconfig.gecko +++ b/drivers/adc/Kconfig.gecko @@ -3,7 +3,7 @@ # Copyright (c) 2023 Antmicro # 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