commit | 97eacb9166f4810368e180073dcbceeff0de34df | [log] [tgz] |
---|---|---|
author | Gregor Boirie <gregor.boirie@parrot.com> | Wed Apr 20 19:23:44 2016 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Apr 23 22:14:34 2016 +0100 |
tree | 6acfa9d79d34ba1d141a9e73b8f94bec42c183b2 | |
parent | dfc57732ad38f93ae6232a3b4e64fd077383a0f1 [diff] |
iio:ak8975: add mounting matrix support 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>