summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.sensor_devices
blob: 12f5951ff5edb93b18dd67197dca7f3fc9409acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

menu "Sensor Devices"

config PLATFORM_EC_ACCELGYRO_BMI
	bool
	select PLATFORM_EC_MATH_UTIL
	help
	  This config does not contain a prompt on purpose, it cannot be set
	  directly from a .conf file. This value should be set using an `select`
	  statement in other BMI family of drivers such as BMI260.

config PLATFORM_EC_ACCELGYRO_ICM
	bool
	help
	  This config does not contain a prompt on purpose, it cannot be set
	  directly from a .conf file. This value should be set using an `select`
	  statement in other BMI family of drivers such as ICM426XX.

config PLATFORM_EC_ACCEL_BMA255
	bool "BMA2X2 Accelerometer Family Driver"
	select PLATFORM_EC_MATH_UTIL
	help
	  The driver supports Bosch's a triaxial, low-g acceleration sensor.
	  It allows measurements of acceleration in three perpendicular axes.
	  Currently the driver supports BMA253, BMA255, BMA355, BMA280, BMA282,
	  BMA223, BMA254, BMA284, BMA250E, BMA222E, BMC150 BMC056, BMC156.

config PLATFORM_EC_ACCEL_BMA4XX
	bool "BMA4XX Accelerometer Family Driver"
	help
	  The driver supports Bosch's a triaxial, low-g acceleration sensor.
	  It allows measurements of acceleration in three perpendicular axes.
	  Currently the driver supports BMA4XX.

config PLATFORM_EC_ACCEL_KX022
	bool "KX022 Accelerometer Driver"
	help
	  The driver supports Kionix's KX022 triaxial low-g acceleration sensor.
	  It allows measurements of acceleration in three perpendicular axes.

config PLATFORM_EC_ACCEL_LIS2DW12
	bool "LIS2DW12 Accelerometer Driver"
	select PLATFORM_EC_STM_MEMS_COMMON
	help
	  The driver supports ST's LIS2DW12 3D digital accelerometer sensor.
	  It allows measurements of acceleration in three perpendicular axes.

config PLATFORM_EC_ACCELGYRO_BMI160
	bool "BMI160 Accelgyrometer Driver"
	select PLATFORM_EC_ACCELGYRO_BMI
	help
	  The driver supports Bosch's BMI160 which is an Inertial Measurement
	  Unit (IMU) consisting of a 16-bit tri-axial gyroscope and a 16-bit
	  tri-axial accelerometer.

config PLATFORM_EC_ACCELGYRO_BMI260
	bool "BMI260 Accelgyrometer Driver"
	select PLATFORM_EC_ACCELGYRO_BMI
	help
	  The driver supports Bosch's BMI260 which is an Inertial Measurement
	  Unit (IMU) consisting of a 16-bit tri-axial gyroscope and a 16-bit
	  tri-axial accelerometer.

config PLATFORM_EC_ACCELGYRO_BMI3XX
	bool "BMI3XX Accelgyrometer Driver"
	select PLATFORM_EC_ACCELGYRO_BMI
	help
	  The driver supports Bosch's BMI3XX which is an Inertial Measurement
	  Unit (IMU) consisting of a 16-bit tri-axial gyroscope and a 16-bit
	  tri-axial accelerometer.

config PLATFORM_EC_ALS_TCS3400
	bool "TCS3400 Ambient Light Senseor Driver"
	help
	  The driver supports TCS3400 which provides color and
	  IR (red, green, blue, clear and IR) ambient light sensing.

config PLATFORM_EC_ALS_CM32183
	bool "CM32183 Ambient Light Sensor Driver"
	help
	  The driver supports CM32183 which provides ambient
	  light sensing.

config PLATFORM_EC_ALS_TCS3400_EMULATED_IRQ_EVENT
	bool "Enable TCS3400 Ambient Light Sensor Driver Polling mode"
	help
	  Enable tcs3400 to operate without interrupt pin. This config is used in
	  conjunction with CONFIG_ALS_TCS3400_INT_EVENT. When this option is enabled,
	  the read is initiated in the same manner as when interrupts are used, but the
	  event which triggers the irq_handler is generated by deferred call.

config PLATFORM_EC_ACCELGYRO_ICM426XX
	bool "ICM426XX Accelgyro Driver"
	select PLATFORM_EC_ACCELGYRO_ICM
	help
	  The driver supports ICM426XX which provides both accelerometer and
	  gyroscope readings.

config PLATFORM_EC_ACCELGYRO_ICM42607
	bool "ICM42607 Accelgyro Driver"
	select PLATFORM_EC_ACCELGYRO_ICM
	help
	  The driver supports ICM42607 which provides both accelerometer and
	  gyroscope readings.

config PLATFORM_EC_ACCELGYRO_LSM6DSO
	bool "LSM6DSO Accelgyro Driver"
	select PLATFORM_EC_STM_MEMS_COMMON
	help
	  The driver supports ST's LSM6DSO 3D digital accelerometer sensor.
	  It allows measurements of acceleration in three perpendicular axes.

config PLATFORM_EC_ACCELGYRO_LSM6DSM
	bool "LSM6DSM Accelgyro Driver"
	select PLATFORM_EC_STM_MEMS_COMMON
	help
	  The driver supports ST's LSM6DSM 3D digital accelerometer sensor.
	  It allows measurements of acceleration in three perpendicular axes.

config PLATFORM_EC_STM_MEMS_COMMON
	bool
	help
	  The driver supports functionality that is common to
	  STMicroelectronics(STM) micro-electromechanical system(MEMS)
	  sensor devices.  This should be enabled by drivers that use
	  this common framework.  It cannot be set otherwise, even in
	  prj.conf.

rsource "Kconfig.accelgyro_bmi"
rsource "Kconfig.accelgyro_icm"

endmenu # Sensor devices