xref: /openbmc/linux/drivers/iio/accel/adxl345.h (revision 9fb29c73)
1 /*
2  * ADXL345 3-Axis Digital Accelerometer
3  *
4  * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
5  *
6  * This file is subject to the terms and conditions of version 2 of
7  * the GNU General Public License. See the file COPYING in the main
8  * directory of this archive for more details.
9  */
10 
11 #ifndef _ADXL345_H_
12 #define _ADXL345_H_
13 
14 enum adxl345_device_type {
15 	ADXL345,
16 	ADXL375,
17 };
18 
19 int adxl345_core_probe(struct device *dev, struct regmap *regmap,
20 		       enum adxl345_device_type type, const char *name);
21 int adxl345_core_remove(struct device *dev);
22 
23 #endif /* _ADXL345_H_ */
24