summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/motionsense_driver/sensor_drv_list.inc
blob: f8fa4b7e53fe5a5305e85bd013964dc2c3de5ca7 (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
/* 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.
 */

/*
 * A driver should create <chip>-drvinfo.inc to create
 * driver-specific data and an motion sensor entry in
 * motion_sensors array that are used by motion sense task.
 *
 * This file includes the .inc file and is used by motionsense_sensrs.c to
 * create the sensor driver data and the entries in mostion_sensors array.
 *
 * e.g) bma255-drvinfo.inc is provided for BMA255 chip
 *
 * #ifdef CONFIG_ACCEL_BMA255
 * #include "bma255-drvinfo.inc"
 * #endif
 */

/* supported sensor driver list */
#ifdef CONFIG_PLATFORM_EC_ACCEL_BMA255
#include "bma255-drvinfo.inc"
#endif
#ifdef CONFIG_PLATFORM_EC_ACCEL_KX022
#include "kx022-drvinfo.inc"
#endif
#ifdef CONFIG_PLATFORM_EC_ACCEL_LIS2DW12
#include "lis2dw12-drvinfo.inc"
#endif
#ifdef CONFIG_PLATFORM_EC_ACCELGYRO_BMI160
#include "bmi160-drvinfo.inc"
#endif
#ifdef CONFIG_PLATFORM_EC_ACCELGYRO_BMI260
#include "bmi260-drvinfo.inc"
#endif
#ifdef CONFIG_PLATFORM_EC_ALS_TCS3400
#include "tcs3400-drvinfo.inc"
#endif