OSDN Git Service

iio: imu: st_lsm6dsx: add mount matrix support
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Mon, 13 Jan 2020 10:11:40 +0000 (11:11 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 18 Jan 2020 14:23:53 +0000 (14:23 +0000)
commit04e6fedb18f6899453e59a748fb95be56ef73836
treee207aad86fa108601e30b8a84062b836045c32df
parent622b4339f93e2c2641919d405cd15e1d256f8fd3
iio: imu: st_lsm6dsx: add mount matrix support

Allow to read the mount-matrix device tree property and provide the
mount_matrix file for userspace to read.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c