bmi088-accel.h 567 B

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