iio: adxl345: Add support for the ADXL375
[linux-2.6-block.git] / drivers / iio / accel / adxl345.h
CommitLineData
5170512c
ERR
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
ef89f4b9
LPC
14enum adxl345_device_type {
15 ADXL345,
16 ADXL375,
17};
18
5170512c 19int adxl345_core_probe(struct device *dev, struct regmap *regmap,
ef89f4b9 20 enum adxl345_device_type type, const char *name);
5170512c
ERR
21int adxl345_core_remove(struct device *dev);
22
23#endif /* _ADXL345_H_ */