1# ADS1X1X ADC configuration options
2
3# Copyright (c) 2021 Facebook, Inc.
4# SPDX-License-Identifier: Apache-2.0
5
6config ADC_ADS1X1X
7	bool "ADS1X1X driver"
8	default y
9	depends on DT_HAS_TI_ADS1013_ENABLED || DT_HAS_TI_ADS1014_ENABLED || \
10		   DT_HAS_TI_ADS1015_ENABLED || DT_HAS_TI_ADS1113_ENABLED || \
11		   DT_HAS_TI_ADS1114_ENABLED || DT_HAS_TI_ADS1115_ENABLED || \
12		   DT_HAS_TI_ADS1119_ENABLED
13
14	select I2C
15	select ADC_CONFIGURABLE_INPUTS
16	help
17	  Enable ADS1X1X ADC driver.
18
19if ADC_ADS1X1X
20
21config ADC_ADS1X1X_INIT_PRIORITY
22	int "Init priority"
23	default 80
24	help
25	  ADS1X1X ADC device driver initialization priority.
26
27config ADC_ADS1X1X_ACQUISITION_THREAD_PRIO
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_ADS1X1X_ACQUISITION_THREAD_STACK_SIZE
34	int "Stack size for the ADC data acquisition thread"
35	default 1024
36	help
37	  Size of the stack used for the internal data acquisition
38	  thread.
39
40endif # ADC_ADS1X1X
41