summaryrefslogtreecommitdiff
path: root/include/linux/iio/magnetometer
AgeCommit message (Collapse)AuthorFilesLines
2016-04-24iio:ak8975: add mounting matrix supportGregor Boirie1-0/+16
Expose a rotation matrix to indicate userspace the chip orientation with respect to the overall hardware system. Matrix is retrieved from "in_mount_matrix". It is declared into ak8975 DTS entry as a "mount-matrix" property. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>