[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404934213-2733-1-git-send-email-reyad.attiyat@gmail.com>
Date: Wed, 9 Jul 2014 14:30:09 -0500
From: Reyad Attiyat <reyad.attiyat@...il.com>
To: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
jic23@...nel.org, srinivas.pandruvada@...ux.intel.com
Cc: Reyad Attiyat <reyad.attiyat@...il.com>
Subject: [PATCH v5 0/4] iio: Add support for rotation from north
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists