From: Lars-Peter Clausen Date: Mon, 17 Sep 2012 12:26:00 +0000 (+0100) Subject: iio: ad7476: Add support for the ad7091r X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~161^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c5b10fd97937796dbf0769e8790a5f275b4a37;p=pandora-kernel.git iio: ad7476: Add support for the ad7091r Add support for the ad7091r 12 bit ADC to the ad7476 driver. Although the ad7091r is not really related to any of the other devices supported by this driver, luckily for us there are not so many ways (which are not totally insane) how sampling a single channel ADC via SPI can be implemented and support for the ad7091r can be added to the driver with just a few adjustments. The ad7091r requires an external "conversion start" pulse to start a sample conversion. After the conversion has finished the result can be read via SPI. We depend on a IIO trigger to generate this signal, as a result only sampling in buffered mode and not in manual mode is available. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed