xref: /openbmc/linux/drivers/iio/accel/fxls8962af.h (revision c4e78957)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright 2021 Connected Cars A/S
4  */
5 #ifndef _FXLS8962AF_H_
6 #define _FXLS8962AF_H_
7 
8 struct regmap;
9 struct device;
10 
11 enum {
12 	fxls8962af,
13 	fxls8964af,
14 };
15 
16 int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq);
17 int fxls8962af_core_remove(struct device *dev);
18 
19 extern const struct dev_pm_ops fxls8962af_pm_ops;
20 extern const struct regmap_config fxls8962af_i2c_regmap_conf;
21 extern const struct regmap_config fxls8962af_spi_regmap_conf;
22 
23 #endif				/* _FXLS8962AF_H_ */
24