Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753887AbdIYGhX (ORCPT ); Mon, 25 Sep 2017 02:37:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52172 "EHLO mout02.posteo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932791AbdIYGhW (ORCPT ); Mon, 25 Sep 2017 02:37:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 25 Sep 2017 08:37:13 +0200 From: Martin Kepplinger To: Harinath Nampally Cc: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, amsfield22@gmail.com Subject: Re: [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471. In-Reply-To: <1506309333-1970-4-git-send-email-harinath922@gmail.com> References: <1506309333-1970-1-git-send-email-harinath922@gmail.com> <1506309333-1970-4-git-send-email-harinath922@gmail.com> Message-ID: <4958a2c40ffe36b84c15b3573762e537@posteo.de> User-Agent: Posteo Webmail Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 26 Am 25.09.2017 05:15 schrieb Harinath Nampally: > This patch adds following changes to support tap feature: > - defines pulse event related registers > - enables and handles single pulse interrupt for fxls8471 > - handles IIO_EV_DIR_EITHER in read/write callbacks > because event direction for pulse is either rising or > falling. > - configures read/write event value for pulse latency register > using IIO_EV_INFO_HYSTERESIS. > - add multiple events like pulse and tranient event spec > as elements of event_spec array named 'mma8452_accel_events' > > Except mma8653 chip all other chips like mma845x and > fxls8471 have single tap detection feature. > Tested thoroughly using iio_event_monitor application on > imx6ul-evk board. > Doesn't fit in your patchset. I'd like to review this (most likely as soon as it applies to -next) so either post this seperately or rename your cover letter. thanks martin