All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] iio: Add support for rotation from north
@ 2014-07-09 19:30 Reyad Attiyat
  2014-07-09 19:30 ` [PATCH v5 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes Reyad Attiyat
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Reyad Attiyat @ 2014-07-09 19:30 UTC (permalink / raw)
  To: linux-iio, linux-kernel, jic23, srinivas.pandruvada; +Cc: Reyad Attiyat

This series of patches modifies magn-3d driver to handle the rotation
from north usage. This is done by scanning the report and then building
the iio arrays (vals and channels) dynamically.

Changes from V4
I use the address field of struct iio_chan_spec to hold the array index
of the usage attribute. The scan_index field is generated when creating
an iio channel.

Reyad Attiyat (4):
  iio: Documentation: Add documentation for rotation from north sensor
    usage attributes
  iio: types: Added support for rotation from north usage attributes
  iio: hid-sensor-magn-3d: Scan for usage attributes before setting up
    iio channels
  iio: hid-sensor-magn-3d: Add support for rotation from north

 Documentation/ABI/testing/sysfs-bus-iio       |  82 +++++++++++
 drivers/iio/industrialio-core.c               |   4 +
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 199 ++++++++++++++++++++------
 include/linux/iio/types.h                     |   4 +
 4 files changed, 245 insertions(+), 44 deletions(-)

-- 
1.9.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-16  3:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 19:30 [PATCH v5 0/4] iio: Add support for rotation from north Reyad Attiyat
2014-07-09 19:30 ` [PATCH v5 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes Reyad Attiyat
2014-07-09 19:30 ` [PATCH v5 2/4] iio: types: Added support for rotation from north " Reyad Attiyat
2014-07-09 19:30 ` [PATCH v5 3/4] iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels Reyad Attiyat
2014-07-09 19:39   ` Reyad Attiyat
2014-07-09 19:30 ` [PATCH v5 4/4] iio: hid-sensor-magn-3d: Add support for rotation from north Reyad Attiyat
2014-07-09 19:45 ` [PATCH v5 0/4] iio: " Srinivas Pandruvada
2014-07-09 22:12   ` Reyad Attiyat
2014-07-15 18:16     ` Jonathan Cameron
2014-07-15 21:39     ` Srinivas Pandruvada
2014-07-16  3:38       ` Reyad Attiyat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.