iio: impedance-analyzer: New driver for AD5933/4 Impedance Converter, Network Analyzer
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 2 Aug 2011 06:48:22 +0000 (08:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:37:02 +0000 (13:37 -0700)
commitf94aa354d676532448e8e222e737fdd0755fc786
tree8492bacbcee0a4b94121dd19653f7cb72f4c1b2e
parent2051f25d2a26573918b59d69847f5bf77635023e
iio: impedance-analyzer: New driver for AD5933/4 Impedance Converter, Network Analyzer

The AD5933 is a high precision impedance converter system solution
that combines an on-board frequency generator with a 12-bit, 1 MSPS,
analog-to-digital converter (ADC). The frequency generator allows an
external complex impedance to be excited with a known frequency.

The response signal from the impedance is sampled by the on-board ADC
and a discrete Fourier transform (DFT) is processed by an on-chip DSP engine.
The DFT algorithm returns a real (R) and imaginary (I) data-word at each
output frequency.

Changes since V1:

Apply list review feedback:
Consistently use poll_time_jiffies.
Use be|le cpu endian helpers where applicable.
Add various comments.

Changes since V2:

Fix KernelVersion tag in Documentation.
Declare ad5933_default_pdata static.
Fix typos.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/sysfs-bus-iio-impedance-analyzer-ad5933 [new file with mode: 0644]
drivers/staging/iio/Kconfig
drivers/staging/iio/Makefile
drivers/staging/iio/impedance-analyzer/Kconfig [new file with mode: 0644]
drivers/staging/iio/impedance-analyzer/Makefile [new file with mode: 0644]
drivers/staging/iio/impedance-analyzer/ad5933.c [new file with mode: 0644]
drivers/staging/iio/impedance-analyzer/ad5933.h [new file with mode: 0644]