1. 23 Apr, 2016 2 commits
    • Gregor Boirie's avatar
      iio:ak8975: add mounting matrix support · 97eacb91
      Gregor Boirie authored
      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: default avatarGregor Boirie <gregor.boirie@parrot.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      97eacb91
    • Gregor Boirie's avatar
      iio:core: mounting matrix support · dfc57732
      Gregor Boirie authored
      Expose a rotation matrix to indicate userspace the chip placement with
      respect to the overall hardware system. This is needed to adjust
      coordinates sampled from a sensor chip when its position deviates from the
      main hardware system.
      
      Final coordinates computation is delegated to userspace since:
      * computation may involve floating point arithmetics ;
      * it allows an application to combine adjustments with arbitrary
        transformations.
      
      This 3 dimentional space rotation matrix is expressed as 3x3 array of
      strings to support floating point numbers. It may be retrieved from a
      "[<dir>_][<type>_]mount_matrix" sysfs attribute file. It is declared into a
      device / driver specific DTS property or platform data.
      Signed-off-by: default avatarGregor Boirie <gregor.boirie@parrot.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      dfc57732
  2. 19 Apr, 2016 12 commits
  3. 18 Apr, 2016 2 commits
  4. 17 Apr, 2016 4 commits
  5. 16 Apr, 2016 18 commits
  6. 10 Apr, 2016 2 commits