summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.sensor_devices
blob: 623919d775632f232b3eca86ed802f1de6461cb0 (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
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# 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 "Config used to include common accelgyro BMI features"
	help
	  Do not set this directly in 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 "Config used to include common accelgyro ICM features"
	help
	  Do not set this directly in a .conf file. This value should be set
	  using an `select` statement in other ICM family of drivers such as
	  ICM426XX.

config PLATFORM_EC_ACCEL_BMA255
	bool "BMA2X2 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 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_ACCEL_LIS2DW12_AS_BASE
	bool "LIS2DW12 Interrupt force mode"
	depends on PLATFORM_EC_ACCEL_LIS2DW12
	help
	  The LIS2DW driver supports fifo and interrupt, but letting lid accel
	  sensor work at polling mode is a common selection in current usage
	  model. This option will select interrupt (foced mode).

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_ACCELGYRO_ICM426XX
	bool "ICM426XX Accelgyro Driver"
	select PLATFORM_EC_ACCELGYRO_ICM
	help
	  The driver supports ICM425XX 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_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