iio: gyro: itg3200: add mount matrix support
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 21 Feb 2019 17:02:51 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:47 +0000 (20:19 +0100)
commit70b5fdbb2eaea57e3025081b1dfbabf12a4d91ee
tree82309728e88d95e6c856c8cabe1274cc62cb490f
parent3a6049f6dbab9240d0f465067c2a42fb182fc663
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>
drivers/iio/gyro/itg3200_core.c
include/linux/iio/gyro/itg3200.h