0001
0002 #ifndef BMI088_ACCEL_H
0003 #define BMI088_ACCEL_H
0004
0005 #include <linux/pm.h>
0006 #include <linux/regmap.h>
0007 #include <linux/types.h>
0008
0009 struct device;
0010
0011 enum bmi_device_type {
0012 BOSCH_BMI085,
0013 BOSCH_BMI088,
0014 BOSCH_BMI090L,
0015 BOSCH_UNKNOWN,
0016 };
0017
0018 extern const struct regmap_config bmi088_regmap_conf;
0019 extern const struct dev_pm_ops bmi088_accel_pm_ops;
0020
0021 int bmi088_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
0022 enum bmi_device_type type);
0023 void bmi088_accel_core_remove(struct device *dev);
0024
0025 #endif