1 /* 2 * AD5933 AD5934 Impedance Converter, Network Analyzer 3 * 4 * Copyright 2011 Analog Devices Inc. 5 * 6 * Licensed under the GPL-2. 7 */ 8 9 #ifndef IIO_ADC_AD5933_H_ 10 #define IIO_ADC_AD5933_H_ 11 12 /* 13 * TODO: struct ad5933_platform_data needs to go into include/linux/iio 14 */ 15 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 21 */ 22 23 struct ad5933_platform_data { 24 unsigned long ext_clk_Hz; 25 unsigned short vref_mv; 26 }; 27 28 #endif /* IIO_ADC_AD5933_H_ */ 29