commit | 16ef4337694898c4514b1c967d26d6eb35eb12d5 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Maneyrol <JManeyrol@invensense.com> | Mon Sep 16 09:42:05 2019 +0000 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Oct 05 12:06:16 2019 +0100 |
tree | 2b8f3dfc46afff60bae823df28aaf0ac845b87ac | |
parent | 9d8261dbc496da7cdc1f060894ab8052fd511895 [diff] |
iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus Add helper functions to use the i2c auxiliary bus with the MPU i2c master block. Support only register based chip, reading and 1 byte writing. These will be useful for initializing magnetometers inside MPU9x50 chips. Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>