Skip to content

Commit 59b0260

Browse files
committed
drivers: adc: Infineon AutAnalog SAR ADC driver
Adds AutAnalog SAR ADC driver files to support ADC conversions in the PCSOC Edge family of MCUs. Signed-off-by: John Batch <[email protected]>
1 parent cfcba1a commit 59b0260

File tree

4 files changed

+707
-0
lines changed

4 files changed

+707
-0
lines changed

drivers/adc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_ADC adc_gecko.c)
4848
zephyr_library_sources_ifdef(CONFIG_ADC_SILABS_IADC adc_silabs_iadc.c)
4949
zephyr_library_sources_ifdef(CONFIG_ADC_SILABS_SIWX91X adc_silabs_siwx91x.c)
5050
zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_CAT1 adc_ifx_cat1.c)
51+
zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_AUTANALOG_SAR adc_ifx_autanalog_sar.c)
5152
zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_GPADC adc_smartbond_gpadc.c)
5253
zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_SDADC adc_smartbond_sdadc.c)
5354
zephyr_library_sources_ifdef(CONFIG_ADC_TLA202X adc_tla202x.c)

drivers/adc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ source "drivers/adc/Kconfig.silabs"
136136

137137
source "drivers/adc/Kconfig.ifx_cat1"
138138

139+
source "drivers/adc/Kconfig.ifx_autanalog_sar"
140+
139141
source "drivers/adc/Kconfig.smartbond"
140142

141143
source "drivers/adc/Kconfig.tla202x"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
# Infineon AutAnalog SAR ADC configuration options
7+
8+
config ADC_INFINEON_AUTANALOG_SAR
9+
bool "Infineon AutAnalog SAR ADC driver"
10+
default y
11+
depends on DT_HAS_INFINEON_AUTANALOG_SAR_ADC_ENABLED
12+
select USE_INFINEON_AUTANALOG_SAR_ADC
13+
select ADC_CONFIGURABLE_INPUTS
14+
help
15+
This option enables the ADC driver for Infineon MCUs using AutAnalog SAR ADC.

0 commit comments

Comments
 (0)