iio: gyro: st_gyro: Support mount matrix
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 18 May 2021 23:07:22 +0000 (01:07 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 17:24:13 +0000 (18:24 +0100)
commite1c5d708bfe0e4bc1a5ce3bded023c1908ec2e19
tree4f1709fb694d13ea956003004e0d1c422ee2bea9
parentd5b920015f506b871073462d70ed432601393546
iio: gyro: st_gyro: Support mount matrix

Add support to read and present the mounting matrix on ST gyroscopes.

Cc: Denis Ciocca <denis.ciocca@st.com>
Cc: Daniel Drake <drake@endlessm.com>
Cc: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210518230722.522446-5-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/st_gyro_core.c