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