bmc150-accel.h 489 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _BMC150_ACCEL_H_
  3. #define _BMC150_ACCEL_H_
  4. struct regmap;
  5. enum {
  6. bmc150,
  7. bmi055,
  8. bma255,
  9. bma250e,
  10. bma222e,
  11. bma280,
  12. };
  13. int bmc150_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
  14. const char *name, bool block_supported);
  15. int bmc150_accel_core_remove(struct device *dev);
  16. extern const struct dev_pm_ops bmc150_accel_pm_ops;
  17. extern const struct regmap_config bmc150_regmap_conf;
  18. #endif /* _BMC150_ACCEL_H_ */