From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f178.google.com ([209.85.217.178]:38075 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbaBETXB (ORCPT ); Wed, 5 Feb 2014 14:23:01 -0500 Received: by mail-lb0-f178.google.com with SMTP id u14so696422lbd.9 for ; Wed, 05 Feb 2014 11:22:59 -0800 (PST) Message-ID: <52F29DBD.9050305@cogentembedded.com> Date: Wed, 05 Feb 2014 23:23:25 +0300 From: Sergei Shtylyov MIME-Version: 1.0 To: Matt Porter , Jonathan Cameron , Grant Likely , Rob Herring , =?ISO-8859-1?Q?Beno=EEt_Cousson?= , Tony Lindgren , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thierry Reding CC: Devicetree List , Linux PWM List , Linux IIO List , Linux Kernel Mailing List , Linux OMAP List , Linux ARM Kernel List Subject: Re: [PATCH v3 0/6] IIO pulse capture support for TI ECAP References: <1391626901-31684-1-git-send-email-mporter@linaro.org> In-Reply-To: <1391626901-31684-1-git-send-email-mporter@linaro.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Hello. On 02/05/2014 10:01 PM, Matt Porter wrote: [...] > This series adds support for PWM capture devices within IIO and > adds a TI ECAP IIO driver. > PWM capture devices are supported using a new IIO "pulse" channel type. > The IIO ECAP driver implements interrupt driven triggered buffer capture > only as raw sample reads are not applicable to this hardware. > Initially, the driver supports a single pulse width measurement with > configurable polarity. The ECAP hardware can support measurement of a > complete period and duty cycle but this is not yet implemented. How about pulse counting? I have the hardware that can also count pulses in addition to measuring the periods, so I'm interested in this work (initially I supported it in driver/misc/ but it got turned down for iio). WBR, Sergei From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov) Date: Wed, 05 Feb 2014 23:23:25 +0300 Subject: [PATCH v3 0/6] IIO pulse capture support for TI ECAP In-Reply-To: <1391626901-31684-1-git-send-email-mporter@linaro.org> References: <1391626901-31684-1-git-send-email-mporter@linaro.org> Message-ID: <52F29DBD.9050305@cogentembedded.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello. On 02/05/2014 10:01 PM, Matt Porter wrote: [...] > This series adds support for PWM capture devices within IIO and > adds a TI ECAP IIO driver. > PWM capture devices are supported using a new IIO "pulse" channel type. > The IIO ECAP driver implements interrupt driven triggered buffer capture > only as raw sample reads are not applicable to this hardware. > Initially, the driver supports a single pulse width measurement with > configurable polarity. The ECAP hardware can support measurement of a > complete period and duty cycle but this is not yet implemented. How about pulse counting? I have the hardware that can also count pulses in addition to measuring the periods, so I'm interested in this work (initially I supported it in driver/misc/ but it got turned down for iio). WBR, Sergei