[PATCH] IIO: Add basic MXS LRADC driver
Marek Vasut
marex at denx.de
Fri Jul 20 07:32:45 EDT 2012
Dear Robert Schwebel,
> On Fri, Jul 20, 2012 at 04:18:41AM +0200, Marek Vasut wrote:
> > One more thing I'm curious about. There's another ADC block on the
> > CPU, called HSADC (high-speed ADC). It can sample even up to
> > 2Msamples/s. If I were to, say -- sample at 100kHz and be able to DMA
> > the results into memory -- is there any way to push such results into
> > userland somehow? Or how to operate such fast beast?
>
> As this unit is mainly intended for things like laser / barcode
> scanners, wouldn't v2l2 be a good abstraction for it (with one line and
> N pixels)? Just an idea, didn't look too closely.
Considering it's not only for barcode scanners, but also some crazy sampling, I
won't go for v4l2
Best regards,
Marek Vasut
More information about the linux-arm-kernel
mailing list