xref: /linux/drivers/iio/imu/smi330/smi330.h (revision 83bd89291f5cc866f60d32c34e268896c7ba8a3d)
1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /*
3  * Copyright (c) 2025 Robert Bosch GmbH.
4  */
5 #ifndef _SMI330_H
6 #define _SMI330_H
7 
8 #include <linux/iio/iio.h>
9 
10 enum {
11 	SMI330_SCAN_ACCEL_X,
12 	SMI330_SCAN_ACCEL_Y,
13 	SMI330_SCAN_ACCEL_Z,
14 	SMI330_SCAN_GYRO_X,
15 	SMI330_SCAN_GYRO_Y,
16 	SMI330_SCAN_GYRO_Z,
17 	SMI330_SCAN_TIMESTAMP,
18 	SMI330_SCAN_LEN = SMI330_SCAN_TIMESTAMP,
19 };
20 
21 extern const struct regmap_config smi330_regmap_config;
22 
23 int smi330_core_probe(struct device *dev, struct regmap *regmap);
24 
25 #endif /* _SMI330_H */
26