-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Michael Hennerich
authored and
Greg Kroah-Hartman
committed
Aug 23, 2011
1 parent
2051f25
commit f94aa35
Showing
7 changed files
with
899 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
drivers/staging/iio/Documentation/sysfs-bus-iio-impedance-analyzer-ad5933
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/outY_freq_start | ||
KernelVersion: 3.1.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Frequency sweep start frequency in Hz. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/outY_freq_increment | ||
KernelVersion: 3.1.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Frequency increment in Hz (step size) between consecutive | ||
frequency points along the sweep. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/outY_freq_points | ||
KernelVersion: 3.1.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Number of frequency points (steps) in the frequency sweep. | ||
This value, in conjunction with the outY_freq_start and the | ||
outY_freq_increment, determines the frequency sweep range | ||
for the sweep operation. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/outY_settling_cycles | ||
KernelVersion: 3.1.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Number of output excitation cycles (settling time cycles) | ||
that are allowed to pass through the unknown impedance, | ||
after each frequency increment, and before the ADC is triggered | ||
to perform a conversion sequence of the response signal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Impedance Converter, Network Analyzer drivers | ||
# | ||
comment "Network Analyzer, Impedance Converters" | ||
|
||
config AD5933 | ||
tristate "Analog Devices AD5933, AD5934 driver" | ||
depends on I2C | ||
select IIO_RING_BUFFER | ||
select IIO_SW_RING | ||
help | ||
Say yes here to build support for Analog Devices Impedance Converter, | ||
Network Analyzer, AD5933/4, provides direct access via sysfs. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called ad5933. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for Impedance Converter, Network Analyzer drivers | ||
# | ||
|
||
obj-$(CONFIG_AD5933) += ad5933.o |
Oops, something went wrong.