linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Add support for rotation from north to the hid-sensor-magn-3d driver
@ 2014-06-30  2:58 Reyad Attiyat
  2014-06-30  2:58 ` [PATCH v4 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes Reyad Attiyat
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Reyad Attiyat @ 2014-06-30  2:58 UTC (permalink / raw)
  To: linux-iio, linux-kernel, jic23, srinivas.pandruvada; +Cc: Reyad Attiyat

This version of patches tries to make smaller changes to the magn-3d driver. It
scans for usages present in the magn_3d_addresses array. It then allocates
memory for the IIO channel structs and value arrays that are used in the IIO subsystem.
It sets-up each IIO channel struct by copying the values from the static array of
IIO configurations. There is also an array used to store each channel IIO value
pointer for each HID usage attribute.



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 | 167 ++++++++++++++++++++------
 include/linux/iio/types.h                     |   4 +
 4 files changed, 220 insertions(+), 37 deletions(-)

-- 
1.9.3


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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30  2:58 [PATCH v4 0/4] Add support for rotation from north to the hid-sensor-magn-3d driver Reyad Attiyat
2014-06-30  2:58 ` [PATCH v4 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes Reyad Attiyat
2014-07-07 16:45   ` Jonathan Cameron
2014-06-30  2:58 ` [PATCH v4 2/4] iio: types: Added support for rotation from north " Reyad Attiyat
2014-06-30  2:58 ` [PATCH v4 3/4] iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels Reyad Attiyat
2014-07-07 16:44   ` Jonathan Cameron
2014-07-07 16:49     ` Srinivas Pandruvada
2014-07-07 19:58     ` Srinivas Pandruvada
2014-07-08 16:02       ` Reyad Attiyat
2014-07-08 15:59     ` Reyad Attiyat
2014-06-30  2:58 ` [PATCH v4 4/4] iio: hid-sensor-magn-3d: Add support for rotation from north Reyad Attiyat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).