mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
committed by
Jonathan Cameron
parent
3a6049f6db
commit
70b5fdbb2e
@@ -104,6 +104,7 @@
|
||||
struct itg3200 {
|
||||
struct i2c_client *i2c;
|
||||
struct iio_trigger *trig;
|
||||
struct iio_mount_matrix orientation;
|
||||
};
|
||||
|
||||
enum ITG3200_SCAN_INDEX {
|
||||
|
||||
Reference in New Issue
Block a user