[PATCH] IIO: Add basic MXS LRADC driver

Robert Schwebel r.schwebel at pengutronix.de
Fri Jul 20 04:39:20 EDT 2012


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.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list