summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/fxls8962af.h
blob: 9cbe98c3ba9a2950635e6eec4a001ae66d3a134c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright 2021 Connected Cars A/S
 */
#ifndef _FXLS8962AF_H_
#define _FXLS8962AF_H_

struct regmap;
struct device;

enum {
	fxls8962af,
	fxls8964af,
};

int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq);
int fxls8962af_core_remove(struct device *dev);

extern const struct dev_pm_ops fxls8962af_pm_ops;
extern const struct regmap_config fxls8962af_i2c_regmap_conf;
extern const struct regmap_config fxls8962af_spi_regmap_conf;

#endif				/* _FXLS8962AF_H_ */