From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH v3 0/6] IIO pulse capture support for TI ECAP Date: Sat, 15 Feb 2014 11:48:25 +0000 Message-ID: <52FF5409.8050903@kernel.org> References: <1391626901-31684-1-git-send-email-mporter@linaro.org> <52F29DBD.9050305@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52F29DBD.9050305-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sergei Shtylyov , Matt Porter , 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 List-Id: devicetree@vger.kernel.org On 05/02/14 20:23, Sergei Shtylyov wrote: > 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 > countpulses 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). > I'm afraid I'd forgotten this completely if you can dig out some links to that discussion it would be great. Only one I can find right now is a request that you post an ABI introducing this as a generic pulse counter rather than a speed measurement. Good point though - under my previous sketched outline, perhaps in_waveform_cyclecount_input? (I would imagine that it doesn't come out needing scaling!) > WBR, Sergei > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html