File tree Expand file tree Collapse file tree 4 files changed +1405
-0
lines changed Expand file tree Collapse file tree 4 files changed +1405
-0
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,4 @@ zephyr_library_sources_ifdef(CONFIG_ADC_AMBIQ adc_ambiq.c)
57
57
zephyr_library_sources_ifdef (CONFIG_ADC_RENESAS_RA adc_renesas_ra.c )
58
58
zephyr_library_sources_ifdef (CONFIG_ADC_MAX32 adc_max32.c )
59
59
zephyr_library_sources_ifdef (CONFIG_ADC_AD4114 adc_ad4114.c )
60
+ zephyr_library_sources_ifdef (CONFIG_ADC_AD7124 adc_ad7124.c )
Original file line number Diff line number Diff line change @@ -138,4 +138,6 @@ source "drivers/adc/Kconfig.max32"
138
138
139
139
source "drivers/adc/Kconfig.ad4114"
140
140
141
+ source "drivers/adc/Kconfig.ad7124"
142
+
141
143
endif # ADC
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Analog Devices, Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config ADC_AD7124
5
+ bool "ADI AD7124 Analog-to-Digital Converter"
6
+ default y
7
+ depends on DT_HAS_ADI_AD7124_ADC_ENABLED
8
+ select SPI
9
+ select CRC
10
+ select ADC_CONFIGURABLE_INPUTS
11
+ help
12
+ Enable the ad7124 adc
13
+
14
+ config ADI_AD7124_ADC_ACQUISITION_THREAD_INIT_PRIO
15
+ int "ADC data acquisition thread priority"
16
+ default 0
17
+ depends on ADC_AD7124 && ADC_ASYNC
18
+
19
+ config ADI_AD7124_ADC_ACQUISITION_THREAD_STACK_SIZE
20
+ int "Stack size for the ADC data acquisition thread"
21
+ default 400
22
+ depends on ADC_AD7124 && ADC_ASYNC
23
+ help
24
+ Size of the stack used for the internal data acquisition
25
+ thread.
You can’t perform that action at this time.
0 commit comments