1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * ADXL380 3-Axis Digital Accelerometer
5 * Copyright 2024 Analog Devices Inc.
11 struct adxl380_chip_info
{
13 const int scale_tbl
[3][2];
14 const int samp_freq_tbl
[3];
15 const int temp_offset
;
19 extern const struct adxl380_chip_info adxl380_chip_info
;
20 extern const struct adxl380_chip_info adxl382_chip_info
;
22 int adxl380_probe(struct device
*dev
, struct regmap
*regmap
,
23 const struct adxl380_chip_info
*chip_info
);
24 bool adxl380_readable_noinc_reg(struct device
*dev
, unsigned int reg
);
26 #endif /* _ADXL380_H_ */