adxl345.h 350 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * ADXL345 3-Axis Digital Accelerometer
  4. *
  5. * Copyright (c) 2017 Eva Rachel Retuya <[email protected]>
  6. */
  7. #ifndef _ADXL345_H_
  8. #define _ADXL345_H_
  9. enum adxl345_device_type {
  10. ADXL345 = 1,
  11. ADXL375 = 2,
  12. };
  13. int adxl345_core_probe(struct device *dev, struct regmap *regmap);
  14. #endif /* _ADXL345_H_ */