From: Michael Hennerich Date: Wed, 17 Aug 2011 15:29:34 +0000 (+0200) Subject: IIO: ADC: New driver for AD7190/AD7192/AD7195 4 Channel SPI ADC X-Git-Tag: v3.2-rc1~169^2^2~864^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a27b042f9cf6bd6e60c236a55d7a71a64287a84;p=pandora-kernel.git IIO: ADC: New driver for AD7190/AD7192/AD7195 4 Channel SPI ADC New driver for AD7190/AD7192/AD7195 4.8 kHz, Ultralow Noise, 24-Bit Sigma-Delta ADC with PGA These devices features a dual use data out ready DOUT/RDY output. In order to avoid contentions on the SPI bus, it's necessary to use spi bus locking. The DOUT/RDY output must also be wired to an interrupt capable GPIO. In INDIO_RING_TRIGGERED mode, this driver may block its SPI bus segment for an extended period of time. Changes since V1: Add missing documentation. Remove obsoleted include files. Fix typos and style issues. Fix buffer size. Split ad7192_show() into two functions. Avoid race condition add mutex. Abandon IIO_CHAN macro. Reorder elements in ad7192_platform_data. Remove driver bus type. Signed-off-by: Michael Hennerich Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed