blob: b140e42d67cf8adc221eced097780c6a440b7cca [file] [log] [blame]
Michael Hennerichf94aa354d2011-08-02 08:48:22 +02001/*
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
23struct ad5933_platform_data {
24 unsigned long ext_clk_Hz;
25 unsigned short vref_mv;
26};
27
28#endif /* IIO_ADC_AD5933_H_ */