1# TMP007 infrared thermopile sensor configuration options
2
3# Copyright (c) 2016 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig TMP007
7	bool "TMP007 Infrared Thermopile Sensor"
8	depends on I2C
9	help
10	  Enable driver for TMP007 infrared thermopile sensors.
11
12if TMP007
13
14choice
15	prompt "Trigger mode"
16	default TMP007_TRIGGER_NONE
17	help
18	  Specify the type of triggering to be used by the driver.
19
20config TMP007_TRIGGER_NONE
21	bool "No trigger"
22
23config TMP007_TRIGGER_GLOBAL_THREAD
24	bool "Use global thread"
25	depends on GPIO
26	select TMP007_TRIGGER
27
28config TMP007_TRIGGER_OWN_THREAD
29	bool "Use own thread"
30	depends on GPIO
31	select TMP007_TRIGGER
32
33endchoice
34
35config TMP007_TRIGGER
36	bool
37
38config TMP007_THREAD_PRIORITY
39	int "Thread priority"
40	depends on TMP007_TRIGGER_OWN_THREAD
41	default 10
42	help
43	  Priority of thread used by the driver to handle interrupts.
44
45config TMP007_THREAD_STACK_SIZE
46	int "Thread stack size"
47	depends on TMP007_TRIGGER_OWN_THREAD
48	default 1024
49	help
50	  Stack size of thread used by the driver to handle interrupts.
51
52endif # TMP007
53