From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753362AbaGTR5x (ORCPT ); Sun, 20 Jul 2014 13:57:53 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:55635 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752871AbaGTR5w (ORCPT ); Sun, 20 Jul 2014 13:57:52 -0400 From: Reyad Attiyat To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, jic23@kernel.org, srinivas.pandruvada@linux.intel.com Cc: Reyad Attiyat Subject: [PATCH v7 0/4] iio: Add support for rotation from north Date: Sun, 20 Jul 2014 12:57:39 -0500 Message-Id: <1405879063-2292-1-git-send-email-reyad.attiyat@gmail.com> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 V6 Remove sizeof from function hid_sensor_push_data as it is not used or passed to iio_push_to_buffer 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