1 | /* SPDX-License-Identifier: GPL-2.0 */ |
---|---|
2 | #ifndef BMI088_ACCEL_H |
3 | #define BMI088_ACCEL_H |
4 | |
5 | #include <linux/pm.h> |
6 | #include <linux/regmap.h> |
7 | #include <linux/types.h> |
8 | |
9 | struct device; |
10 | |
11 | enum bmi_device_type { |
12 | BOSCH_BMI085, |
13 | BOSCH_BMI088, |
14 | BOSCH_BMI090L, |
15 | BOSCH_UNKNOWN, |
16 | }; |
17 | |
18 | extern const struct regmap_config bmi088_regmap_conf; |
19 | extern const struct dev_pm_ops bmi088_accel_pm_ops; |
20 | |
21 | int bmi088_accel_core_probe(struct device *dev, struct regmap *regmap, int irq, |
22 | enum bmi_device_type type); |
23 | void bmi088_accel_core_remove(struct device *dev); |
24 | |
25 | #endif /* BMI088_ACCEL_H */ |
26 |