1# ICM42605 Six-Axis Motion Tracking device configuration options 2 3# Copyright (c) 2020 TDK Invensense 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig ICM42605 7 bool "ICM42605 Six-Axis Motion Tracking Device" 8 default y 9 depends on DT_HAS_INVENSENSE_ICM42605_ENABLED 10 select SPI 11 help 12 Enable driver for ICM42605 SPI-based six-axis motion tracking device. 13 14if ICM42605 15 16choice ICM42605_TRIGGER_MODE 17 prompt "Trigger mode" 18 default ICM42605_TRIGGER_GLOBAL_THREAD 19 help 20 Specify the type of triggering to be used by the driver. 21 22config ICM42605_TRIGGER_NONE 23 bool "No trigger" 24 25config ICM42605_TRIGGER_GLOBAL_THREAD 26 bool "Use global thread" 27 depends on GPIO 28 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42605),int-gpios) 29 select ICM42605_TRIGGER 30 31endchoice 32 33config ICM42605_TRIGGER 34 bool 35 36config ICM42605_THREAD_PRIORITY 37 int "Thread priority" 38 depends on ICM42605_TRIGGER_GLOBAL_THREAD 39 default 10 40 help 41 Priority of thread used by the driver to handle interrupts. 42 43config ICM42605_THREAD_STACK_SIZE 44 int "Thread stack size" 45 depends on ICM42605_TRIGGER_GLOBAL_THREAD 46 default 1024 47 help 48 Stack size of thread used by the driver to handle interrupts. 49 50endif # ICM42605 51