Return-Path: Received: from mga02.intel.com ([134.134.136.20]:3456 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751136AbbDSJKK (ORCPT ); Sun, 19 Apr 2015 05:10:10 -0400 From: Kuppuswamy Sathyanarayanan To: jic23@kernel.org, pmeerw@pmeerw.net Cc: linux-iio@vger.kernel.org, srinivas.pandruvada@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com Subject: [PATCH v5 0/5] Added LTR501 Interrupt support Date: Sun, 19 Apr 2015 02:09:59 -0700 Message-Id: Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org This patchset adds Integration time, sampling frequency, interrupt and acpi enumeration support for LTR-501 chip. Please let me know your review comments. v1: 1. Added support to enable ALS & PS intterupts based on threshold settings. 2. Added support to control intrrupt rate. 3. Added acpi enumeration support. v2: 1. Removed persistance attribute from ext_channel and added support for IIO_EV_INFO_PERIOD. 2. Rebased my patches on top of Daniel's alignment fix. v3: 1. Added a new ABI to define threshold interrupt persistence filter value. 2. Added Documentation for persistence filter iio ABI 3. Used IIO_EV_INFO_PERSISTENCE instead of IIO_EV_INFO_PERIOD in ltr501 driver. v4: 1. Added regmap support to handle register bitwise updates easily. 2. Added support to change integration time from user code. 3. Modified threshold interrupt persistence code to use IIO_EV_INFO_PERIOD values. 4. Added support to change sampling frequency from user code 5. Addressed Jonathan's comments v5: 1. Added const qualifier for sampling table, it table & reg_field variables. 2. Rebased patches on top of Daniel's checkpatch fix. 3. Renamed rate variable to sampling_period. Kuppuswamy Sathyanarayanan (5): iio: ltr501: Add regmap support. iio: ltr501: Add integration time support iio: ltr501: Add interrupt support iio: ltr501: Add interrupt rate control support iio: ltr501: Add ACPI enumeration support drivers/iio/light/ltr501.c | 945 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 895 insertions(+), 50 deletions(-) -- 1.9.1