Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / drivers / staging / iio / impedance-analyzer / ad5933.h
blobb140e42d67cf8adc221eced097780c6a440b7cca
1 /*
2 * AD5933 AD5934 Impedance Converter, Network Analyzer
4 * Copyright 2011 Analog Devices Inc.
6 * Licensed under the GPL-2.
7 */
9 #ifndef IIO_ADC_AD5933_H_
10 #define IIO_ADC_AD5933_H_
13 * TODO: struct ad5933_platform_data needs to go into include/linux/iio
16 /**
17 * struct ad5933_platform_data - platform specific data
18 * @ext_clk_Hz: the external clock frequency in Hz, if not set
19 * the driver uses the internal clock (16.776 MHz)
20 * @vref_mv: the external reference voltage in millivolt
23 struct ad5933_platform_data {
24 unsigned long ext_clk_Hz;
25 unsigned short vref_mv;
28 #endif /* IIO_ADC_AD5933_H_ */