blob: ae6118ae11b1d6dbc6381a6c50cc07f4e1af9005 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BMC150_ACCEL_H_
3#define _BMC150_ACCEL_H_
4
5struct regmap;
6
7enum {
8 bmc150,
9 bmi055,
10 bma255,
11 bma250e,
12 bma222e,
13 bma280,
14};
15
16int bmc150_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
17 const char *name, bool block_supported);
18int bmc150_accel_core_remove(struct device *dev);
19extern const struct dev_pm_ops bmc150_accel_pm_ops;
20extern const struct regmap_config bmc150_regmap_conf;
21
22#endif /* _BMC150_ACCEL_H_ */