mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 20:15:13 +07:00
77c4ad2d6a
BMI160 is an Inertial Measurement Unit (IMU) which provides acceleration and angular rate measurement. It also offers a secondary I2C interface for connecting a magnetometer sensor (usually BMM160). Current driver offers support for accelerometer and gyroscope readings via sysfs or via buffer interface using an external trigger (e.g. hrtimer). Data is retrieved from IMU via I2C or SPI interface. Datasheet is at: http://www.mouser.com/ds/2/783/BST-BMI160-DS000-07-786474.pdf Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
11 lines
270 B
C
11 lines
270 B
C
#ifndef BMI160_H_
|
|
#define BMI160_H_
|
|
|
|
extern const struct regmap_config bmi160_regmap_config;
|
|
|
|
int bmi160_core_probe(struct device *dev, struct regmap *regmap,
|
|
const char *name, bool use_spi);
|
|
void bmi160_core_remove(struct device *dev);
|
|
|
|
#endif /* BMI160_H_ */
|