Re: [PATCH v1 2/3] iio:ak8975: add mounting matrix support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 20, 2016 at 07:23:44PM +0200, Gregor Boirie wrote:
> 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@xxxxxxxxxx>
> ---
>  .../bindings/iio/magnetometer/ak8975.txt           | 10 +++++++

Acked-by: Rob Herring <robh@xxxxxxxxxx>

>  drivers/iio/magnetometer/ak8975.c                  | 34 +++++++++++++++++++---
>  include/linux/iio/magnetometer/ak8975.h            | 16 ++++++++++
>  3 files changed, 56 insertions(+), 4 deletions(-)
>  create mode 100644 include/linux/iio/magnetometer/ak8975.h
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux