diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2019-02-21 20:02:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 22:19:47 +0300 |
commit | 70b5fdbb2eaea57e3025081b1dfbabf12a4d91ee (patch) | |
tree | 82309728e88d95e6c856c8cabe1274cc62cb490f /include/linux/iio | |
parent | 3a6049f6dbab9240d0f465067c2a42fb182fc663 (diff) | |
download | linux-70b5fdbb2eaea57e3025081b1dfbabf12a4d91ee.tar.xz |
iio: gyro: itg3200: add mount matrix support
This patch allows to read a mount-matrix device tree
property and report to user-space or in-kernel iio
clients.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/gyro/itg3200.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iio/gyro/itg3200.h b/include/linux/iio/gyro/itg3200.h index 2a820850f284..0a30fddccfb3 100644 --- a/include/linux/iio/gyro/itg3200.h +++ b/include/linux/iio/gyro/itg3200.h @@ -104,6 +104,7 @@ struct itg3200 { struct i2c_client *i2c; struct iio_trigger *trig; + struct iio_mount_matrix orientation; }; enum ITG3200_SCAN_INDEX { |