adxl355.h 495 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * ADXL355 3-Axis Digital Accelerometer
  4. *
  5. * Copyright (c) 2021 Puranjay Mohan <[email protected]>
  6. */
  7. #ifndef _ADXL355_H_
  8. #define _ADXL355_H_
  9. #include <linux/regmap.h>
  10. struct device;
  11. extern const struct regmap_access_table adxl355_readable_regs_tbl;
  12. extern const struct regmap_access_table adxl355_writeable_regs_tbl;
  13. int adxl355_core_probe(struct device *dev, struct regmap *regmap,
  14. const char *name);
  15. #endif /* _ADXL355_H_ */