adxl372.h 388 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * ADXL372 3-Axis Digital Accelerometer
  4. *
  5. * Copyright 2018 Analog Devices Inc.
  6. */
  7. #ifndef _ADXL372_H_
  8. #define _ADXL372_H_
  9. #define ADXL372_REVID 0x03
  10. int adxl372_probe(struct device *dev, struct regmap *regmap,
  11. int irq, const char *name);
  12. bool adxl372_readable_noinc_reg(struct device *dev, unsigned int reg);
  13. #endif /* _ADXL372_H_ */