Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * ADXL355 3-Axis Digital Accelerometer
0004  *
0005  * Copyright (c) 2021 Puranjay Mohan <puranjay12@gmail.com>
0006  */
0007 
0008 #ifndef _ADXL355_H_
0009 #define _ADXL355_H_
0010 
0011 #include <linux/regmap.h>
0012 
0013 struct device;
0014 
0015 extern const struct regmap_access_table adxl355_readable_regs_tbl;
0016 extern const struct regmap_access_table adxl355_writeable_regs_tbl;
0017 
0018 int adxl355_core_probe(struct device *dev, struct regmap *regmap,
0019                const char *name);
0020 
0021 #endif /* _ADXL355_H_ */