1# MCP9808 temperature sensor configuration options 2 3# Copyright (c) 2016 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig MCP9808 7 bool "MCP9808 temperature sensor" 8 depends on I2C 9 help 10 Enable driver for MCP9808 temperature sensor. 11 12if MCP9808 13 14choice 15 prompt "MCP9808 trigger mode" 16 default MCP9808_TRIGGER_NONE 17 18config MCP9808_TRIGGER_NONE 19 bool "No trigger" 20 21config MCP9808_TRIGGER_GLOBAL_THREAD 22 depends on GPIO 23 select MCP9808_TRIGGER 24 bool "Use global thread" 25 26config MCP9808_TRIGGER_OWN_THREAD 27 depends on GPIO 28 select MCP9808_TRIGGER 29 bool "Use own thread" 30 31endchoice 32 33config MCP9808_TRIGGER 34 bool 35 36config MCP9808_THREAD_STACK_SIZE 37 int "Sensor delayed work thread stack size" 38 depends on MCP9808_TRIGGER_OWN_THREAD 39 default 1024 40 41config MCP9808_THREAD_PRIORITY 42 int "MCP9808 thread priority" 43 depends on MCP9808_TRIGGER_OWN_THREAD 44 default 10 45 46endif # MCP9808 47