Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249AbbHMRcE (ORCPT ); Thu, 13 Aug 2015 13:32:04 -0400 Received: from mga14.intel.com ([192.55.52.115]:22147 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbbHMRcB (ORCPT ); Thu, 13 Aug 2015 13:32:01 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,671,1432623600"; d="scan'208";a="783116029" From: Teodora Baluta To: jic23@kernel.org Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, daniel.baluta@intel.com, teodora.baluta@intel.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] iio: accel: add support for Memsic MXC4005 Date: Thu, 13 Aug 2015 20:31:38 +0300 Message-Id: <1439487101-13085-1-git-send-email-teodora.baluta@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1227 Lines: 33 This patch set adds support for Memsic MXC4005XC 3-axis accelerometer sensor. The first patch adds basic support for the accelerometer, with raw readings, the second patch adds support for buffer mode and the last one adds the data ready trigger. --- Changes since v1: - fixes for the comments (coding style, proper buffer length, available_scan_masks) - remove unnecessary locking for regmap operations since regmap has an internal locking mechanism - keep the mutex for set_trigger_state operation to protect the state variable trigger_enabled Teodora Baluta (3): iio: accel: add support for mxc4005 accelerometer iio: mxc4005: add triggered buffer mode for mxc4005 iio: mxc4005: add data ready trigger for mxc4005 drivers/iio/accel/Kconfig | 13 + drivers/iio/accel/Makefile | 2 + drivers/iio/accel/mxc4005.c | 586 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 601 insertions(+) create mode 100644 drivers/iio/accel/mxc4005.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/