xref: /linux/drivers/iio/accel/adxl372.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1d9e8fd04SStefan Popa /* SPDX-License-Identifier: GPL-2.0+ */
2d9e8fd04SStefan Popa /*
3d9e8fd04SStefan Popa  * ADXL372 3-Axis Digital Accelerometer
4d9e8fd04SStefan Popa  *
5d9e8fd04SStefan Popa  * Copyright 2018 Analog Devices Inc.
6d9e8fd04SStefan Popa  */
7d9e8fd04SStefan Popa 
8d9e8fd04SStefan Popa #ifndef _ADXL372_H_
9d9e8fd04SStefan Popa #define _ADXL372_H_
10d9e8fd04SStefan Popa 
11*94dbb46cSStefan Popa #define ADXL372_REVID	0x03
12*94dbb46cSStefan Popa 
13d9e8fd04SStefan Popa int adxl372_probe(struct device *dev, struct regmap *regmap,
14d9e8fd04SStefan Popa 		  int irq, const char *name);
15d9e8fd04SStefan Popa bool adxl372_readable_noinc_reg(struct device *dev, unsigned int reg);
16d9e8fd04SStefan Popa 
17d9e8fd04SStefan Popa #endif /* _ADXL372_H_ */
18