xref: /openbmc/linux/drivers/iio/accel/adxl345.h (revision 56cb61f7)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * ADXL345 3-Axis Digital Accelerometer
4  *
5  * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
6  */
7 
8 #ifndef _ADXL345_H_
9 #define _ADXL345_H_
10 
11 enum adxl345_device_type {
12 	ADXL345,
13 	ADXL375,
14 };
15 
16 int adxl345_core_probe(struct device *dev, struct regmap *regmap,
17 		       enum adxl345_device_type type, const char *name);
18 
19 #endif /* _ADXL345_H_ */
20