1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ADXL355 3-Axis Digital Accelerometer
5 * Copyright (c) 2021 Puranjay Mohan <puranjay12@gmail.com>
11 #include <linux/regmap.h>
13 enum adxl355_device_type
{
18 struct adxl355_fractional_type
{
25 struct adxl355_chip_info
{
28 struct adxl355_fractional_type accel_scale
;
29 struct adxl355_fractional_type temp_offset
;
32 extern const struct regmap_access_table adxl355_readable_regs_tbl
;
33 extern const struct regmap_access_table adxl355_writeable_regs_tbl
;
34 extern const struct adxl355_chip_info adxl35x_chip_info
[];
36 int adxl355_core_probe(struct device
*dev
, struct regmap
*regmap
,
37 const struct adxl355_chip_info
*chip_info
);
39 #endif /* _ADXL355_H_ */