Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbcDROcM (ORCPT ); Mon, 18 Apr 2016 10:32:12 -0400 Received: from mga09.intel.com ([134.134.136.24]:6241 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbcDROcL (ORCPT ); Mon, 18 Apr 2016 10:32:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,502,1455004800"; d="scan'208";a="934877182" From: Crestez Dan Leonard To: Jonathan Cameron , linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Crestez Dan Leonard Subject: [PATCH v3 0/5] Support for max44000 Ambient and Infrared Proximity Sensor Date: Mon, 18 Apr 2016 17:31:52 +0300 Message-Id: X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 33 Changes since v2: * Drop reg_defaults from regmap_config * Use REGCACHE_RBTREE * Implement readable/writable/volatile reg with switches * Use test_bit when checking the scan mask * Add _INT_TIME info_mask in patch 4 rather than 2 * Cleaner spacing in max44000_remove Changes since v1: * Remove max44000_data.client * Maintain alphabetical order in kconfig/makefile * Avoid pointless inlines * Remove explicit CONFIG_OF because no special handling is done * Set storagebits = 16 for proximity channel and avoid VLAs * Expand MAX44000_REGMASK for readability/reviewability * Clear irq bits at the end of the probe function * Only write important bits on probe rather than everything Crestez Dan Leonard (5): max44000: Initial support max44000: Initial support for proximity reading max44000: Support controlling LED current output max44000: Expose ambient sensor scaling max44000: Initial triggered buffer support drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/iio/light/max44000.c | 637 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 649 insertions(+) create mode 100644 drivers/iio/light/max44000.c -- 2.5.5