1# MAX1125X ADC configuration options
2
3# Copyright (c) 2023 Mustafa Abdullah Kus, Sparse Technology
4# SPDX-License-Identifier: Apache-2.0
5
6config ADC_MAX1125X
7	bool "MAX1125X driver"
8	default y
9	depends on DT_HAS_MAXIM_MAX11254_ENABLED || DT_HAS_MAXIM_MAX11253_ENABLED
10	select SPI
11	select ADC_CONFIGURABLE_INPUTS
12	help
13	  Enable the driver implementation for the MAX1125X
14
15if ADC_MAX1125X
16
17config ADC_MAX1125X_INIT_PRIORITY
18	int "Init priority"
19	default 80
20	help
21	  ADS1X1X ADC device driver initialization priority.
22
23config ADC_MAX1125X_ASYNC_THREAD_INIT_PRIORITY
24	int "ADC MAX1125X async thread priority"
25	default 0
26
27config ADC_MAX1125X_ACQUISITION_THREAD_PRIORITY
28	int "Priority for the ADC data acquisition thread"
29	default 0
30	help
31	  Priority level for the internal ADC data acquisition thread.
32
33config ADC_MAX1125X_ACQUISITION_THREAD_STACK_SIZE
34	int "Stack size for the ADC data acquisition thread"
35	default 400
36	help
37	  Size of the stack used for the internal data acquisition
38	  thread.
39
40endif # ADC_MAX1125X
41