diff options
| author | H. Nikolaus Schaller <[email protected]> | 2019-02-21 18:02:51 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-04-04 20:19:47 +0100 |
| commit | 70b5fdbb2eaea57e3025081b1dfbabf12a4d91ee (patch) | |
| tree | 82309728e88d95e6c856c8cabe1274cc62cb490f /include/linux | |
| parent | 3a6049f6dbab9240d0f465067c2a42fb182fc663 (diff) | |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux')
| -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 { |