]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: bmi160: added mount-matrix support
authorJonathan Albrieux <jonathan.albrieux@gmail.com>
Mon, 25 May 2020 16:46:04 +0000 (18:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Jun 2020 10:49:46 +0000 (11:49 +0100)
commit97c4ccb492120321fbe69627cb749a0f5ceee084
tree10c4cd068f6b010cd9686364f58190fe6394787b
parentb62707872c82158c8f6a7fe8ba3aa96ec3ff4311
iio: imu: bmi160: added mount-matrix support

Add mount-matrix binding support. As chip could have different orientations
a mount matrix support is needed to correctly translate these differences.

Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi160/bmi160.h
drivers/iio/imu/bmi160/bmi160_core.c