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
9struct device;
10
11enum bmi_device_type {
12 BOSCH_BMI085,
13 BOSCH_BMI088,
14 BOSCH_BMI090L,
15 BOSCH_UNKNOWN,
16};
17
18extern const struct regmap_config bmi088_regmap_conf;
19extern const struct dev_pm_ops bmi088_accel_pm_ops;
20
21int bmi088_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
22 enum bmi_device_type type);
23void bmi088_accel_core_remove(struct device *dev);
24
25#endif /* BMI088_ACCEL_H */
26

source code of linux/drivers/iio/accel/bmi088-accel.h