2019-05-30 02:57:44 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2017-03-04 11:31:25 +03:00
|
|
|
/*
|
|
|
|
* ADXL345 3-Axis Digital Accelerometer
|
|
|
|
*
|
|
|
|
* Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ADXL345_H_
|
|
|
|
#define _ADXL345_H_
|
|
|
|
|
2018-07-13 14:50:44 +03:00
|
|
|
enum adxl345_device_type {
|
|
|
|
ADXL345,
|
|
|
|
ADXL375,
|
|
|
|
};
|
|
|
|
|
2017-03-04 11:31:25 +03:00
|
|
|
int adxl345_core_probe(struct device *dev, struct regmap *regmap,
|
2018-07-13 14:50:44 +03:00
|
|
|
enum adxl345_device_type type, const char *name);
|
2017-03-04 11:31:25 +03:00
|
|
|
int adxl345_core_remove(struct device *dev);
|
|
|
|
|
|
|
|
#endif /* _ADXL345_H_ */
|