Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions boards/infineon/kit_psc3m5_evk/kit_psc3m5_evk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ toolchain:
- gnuarmemb
supported:
- gpio
- adc
vendor: infineon
1 change: 1 addition & 0 deletions drivers/adc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_ADC adc_gecko.c)
zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_IADC iadc_gecko.c)
zephyr_library_sources_ifdef(CONFIG_ADC_SILABS_SIWX91X adc_silabs_siwx91x.c)
zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_CAT1 adc_ifx_cat1.c)
zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_HPPASS_SAR adc_ifx_hppass_sar.c)
zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_GPADC adc_smartbond_gpadc.c)
zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_SDADC adc_smartbond_sdadc.c)
zephyr_library_sources_ifdef(CONFIG_ADC_TLA202X adc_tla202x.c)
Expand Down
2 changes: 2 additions & 0 deletions drivers/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ source "drivers/adc/Kconfig.siwx91x"

source "drivers/adc/Kconfig.ifx_cat1"

source "drivers/adc/Kconfig.ifx_hppass_sar"

source "drivers/adc/Kconfig.smartbond"

source "drivers/adc/Kconfig.tla202x"
Expand Down
31 changes: 31 additions & 0 deletions drivers/adc/Kconfig.ifx_hppass_sar
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright (c) 2025 Infineon Technologies AG,
# or an affiliate of Infineon Technologies AG.
#
# SPDX-License-Identifier: Apache-2.0

# Infineon HPPASS SAR ADC configuration options

config ADC_INFINEON_HPPASS_SAR
bool "Infineon HPPASS SAR ADC driver"
default y
depends on DT_HAS_INFINEON_HPPASS_SAR_ADC_ENABLED
select USE_INFINEON_HPPASS_SAR_ADC
select ADC_CONFIGURABLE_INPUTS
help
This option enables the ADC driver for Infineon PSOC C3
HPPASS (High Performance Programmable Analog Sub-System) SAR ADC.

The HPPASS SAR ADC provides 12-bit analog-to-digital
conversion capabilities

if ADC_INFINEON_HPPASS_SAR

config ADC_INFINEON_HPPASS_SAR_INIT_PRIORITY
int "Infineon HPPASS SAR ADC driver init priority"
default 80
help
Infineon HPPASS SAR ADC driver initialization priority.
This should be higher than the HPPASS_ANALOG_INIT_PRIORITY
to ensure the analog subsystem is initialized first.

endif # ADC_INFINEON_HPPASS_SAR
Loading
Loading