xref: /openbmc/linux/drivers/iio/accel/adxl355.h (revision 2427f03f)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * ADXL355 3-Axis Digital Accelerometer
4  *
5  * Copyright (c) 2021 Puranjay Mohan <puranjay12@gmail.com>
6  */
7 
8 #ifndef _ADXL355_H_
9 #define _ADXL355_H_
10 
11 #include <linux/regmap.h>
12 
13 struct device;
14 
15 extern const struct regmap_access_table adxl355_readable_regs_tbl;
16 extern const struct regmap_access_table adxl355_writeable_regs_tbl;
17 
18 int adxl355_core_probe(struct device *dev, struct regmap *regmap,
19 		       const char *name);
20 
21 #endif /* _ADXL355_H_ */
22